Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e7fd64e96379a16422cca1ca57683b7b4003cc62 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-ssh12524925122570341574.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-ssh426394094525435706.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-ssh15567382467945791702.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-ssh995993009416938340.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-ssh2395586493761909995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-388 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 > 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 Avoid second fetch Checking out Revision e7fd64e96379a16422cca1ca57683b7b4003cc62 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 Commit message: "Merge pull request #463 from FelixTing/issue-462" > git rev-list --no-walk 629b9722aa39bd0efb276d4c775a85c2ba734e30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-04T00:04:45.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-04T00:04:45.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-04T00:04:45.612Z] ========================================================= [2023-07-04T00:04:45.612Z] EdgeX Global Pipelines Version Info [2023-07-04T00:04:45.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:04:46.340Z] ------------------- [2023-07-04T00:04:46.340Z] stable info: [2023-07-04T00:04:46.340Z] ------------------- [2023-07-04T00:04:46.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-04T00:04:46.340Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-04T00:04:46.340Z] Message: update stable to v1.0.250 [2023-07-04T00:04:46.908Z] ------------------- [2023-07-04T00:04:46.908Z] experimental info: [2023-07-04T00:04:46.908Z] ------------------- [2023-07-04T00:04:46.908Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-04T00:04:46.908Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-04T00:04:46.908Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-04T00:04:47.048Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-04T00:04:47.055Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-04T00:04:47.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-04T00:04:47.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-04T00:04:47.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-04T00:04:47.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-04T00:04:47.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-04T00:04:47.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-04T00:04:47.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-04T00:04:47.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-04T00:04:47.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-04T00:04:47.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-04T00:04:47.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-04T00:04:47.190Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-04T00:04:47.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-04T00:04:47.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-04T00:04:47.223Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-04T00:04:47.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-04T00:04:47.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-04T00:04:47.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-04T00:04:47.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7fd64e96379a16422cca1ca57683b7b4003cc62 [Pipeline] echo [2023-07-04T00:04:47.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7fd64e [Pipeline] echo [2023-07-04T00:04:47.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T00:04:47.316Z] provisioning config files... [2023-07-04T00:04:47.331Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14469273770612039576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:04:47.634Z] ---> docker-login.sh [2023-07-04T00:04:47.634Z] nexus3.edgexfoundry.org:10001 [2023-07-04T00:04:47.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:04:48.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:04:48.204Z] Configure a credential helper to remove this warning. See [2023-07-04T00:04:48.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:04:48.204Z] [2023-07-04T00:04:48.204Z] Login Succeeded [2023-07-04T00:04:48.204Z] nexus3.edgexfoundry.org:10002 [2023-07-04T00:04:48.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:04:48.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:04:48.204Z] Configure a credential helper to remove this warning. See [2023-07-04T00:04:48.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:04:48.204Z] [2023-07-04T00:04:48.204Z] Login Succeeded [2023-07-04T00:04:48.204Z] nexus3.edgexfoundry.org:10003 [2023-07-04T00:04:48.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:04:48.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:04:48.204Z] Configure a credential helper to remove this warning. See [2023-07-04T00:04:48.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:04:48.204Z] [2023-07-04T00:04:48.204Z] Login Succeeded [2023-07-04T00:04:48.204Z] nexus3.edgexfoundry.org:10004 [2023-07-04T00:04:48.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:04:48.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:04:48.466Z] Configure a credential helper to remove this warning. See [2023-07-04T00:04:48.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:04:48.466Z] [2023-07-04T00:04:48.466Z] Login Succeeded [2023-07-04T00:04:48.466Z] docker.io [2023-07-04T00:04:48.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:04:48.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:04:48.726Z] Configure a credential helper to remove this warning. See [2023-07-04T00:04:48.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:04:48.726Z] [2023-07-04T00:04:48.726Z] Login Succeeded [2023-07-04T00:04:48.726Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T00:04:48.733Z] 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-07-04T00:04:49.087Z] + git rev-list -1 --merges e7fd64e96379a16422cca1ca57683b7b4003cc62~1..e7fd64e96379a16422cca1ca57683b7b4003cc62 [Pipeline] echo [2023-07-04T00:04:49.134Z] -----------> git rev-list -1 --merges e7fd64e96379a16422cca1ca57683b7b4003cc62~1..e7fd64e96379a16422cca1ca57683b7b4003cc62 e7fd64e96379a16422cca1ca57683b7b4003cc62 [2023-07-04T00:04:49.134Z] e7fd64e96379a16422cca1ca57683b7b4003cc62 [false] [Pipeline] sh [2023-07-04T00:04:49.417Z] + git log --format=format:%s -1 e7fd64e96379a16422cca1ca57683b7b4003cc62 [Pipeline] echo [2023-07-04T00:04:49.433Z] ========================================================= [2023-07-04T00:04:49.433Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-04T00:04:49.433Z] ========================================================= 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-07-04T00:04:49.804Z] + git rev-list -1 --merges e7fd64e96379a16422cca1ca57683b7b4003cc62~1..e7fd64e96379a16422cca1ca57683b7b4003cc62 [Pipeline] echo [2023-07-04T00:04:49.815Z] -----------> git rev-list -1 --merges e7fd64e96379a16422cca1ca57683b7b4003cc62~1..e7fd64e96379a16422cca1ca57683b7b4003cc62 e7fd64e96379a16422cca1ca57683b7b4003cc62 [2023-07-04T00:04:49.815Z] e7fd64e96379a16422cca1ca57683b7b4003cc62 [false] [Pipeline] sh [2023-07-04T00:04:50.104Z] + git log --format=format:%s -1 e7fd64e96379a16422cca1ca57683b7b4003cc62 [Pipeline] echo [2023-07-04T00:04:50.117Z] ========================================================= [2023-07-04T00:04:50.117Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-04T00:04:50.117Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-04T00:04:50.555Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-04T00:04:50.556Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-04T00:04:50.556Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-04T00:04:50.556Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-04T00:04:50.556Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-04T00:04:50.556Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-04T00:04:50.556Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:04:50.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:04:50.966Z] [2023-07-04T00:04:50.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:04:51.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:04:51.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-04T00:04:51.261Z] b85a868b505f: Pulling fs layer [2023-07-04T00:04:51.261Z] e2be974225ed: Pulling fs layer [2023-07-04T00:04:51.261Z] 339a4e72a1f5: Pulling fs layer [2023-07-04T00:04:51.261Z] 988bab9f4d93: Pulling fs layer [2023-07-04T00:04:51.261Z] 1469e6f7b9e6: Pulling fs layer [2023-07-04T00:04:51.261Z] eaf3925da568: Pulling fs layer [2023-07-04T00:04:51.261Z] bab4dde63d76: Pulling fs layer [2023-07-04T00:04:51.261Z] bde34c3a00c8: Pulling fs layer [2023-07-04T00:04:51.261Z] b352a97aabf1: Pulling fs layer [2023-07-04T00:04:51.261Z] 4872d77fe225: Pulling fs layer [2023-07-04T00:04:51.261Z] 5851b861e8e6: Pulling fs layer [2023-07-04T00:04:51.261Z] 988bab9f4d93: Waiting [2023-07-04T00:04:51.261Z] bde34c3a00c8: Waiting [2023-07-04T00:04:51.261Z] b352a97aabf1: Waiting [2023-07-04T00:04:51.261Z] 1469e6f7b9e6: Waiting [2023-07-04T00:04:51.261Z] eaf3925da568: Waiting [2023-07-04T00:04:51.261Z] 4872d77fe225: Waiting [2023-07-04T00:04:51.261Z] bab4dde63d76: Waiting [2023-07-04T00:04:51.261Z] 5851b861e8e6: Waiting [2023-07-04T00:04:51.261Z] e2be974225ed: Verifying Checksum [2023-07-04T00:04:51.261Z] e2be974225ed: Download complete [2023-07-04T00:04:51.261Z] 988bab9f4d93: Download complete [2023-07-04T00:04:51.521Z] 339a4e72a1f5: Verifying Checksum [2023-07-04T00:04:51.521Z] 339a4e72a1f5: Download complete [2023-07-04T00:04:51.521Z] eaf3925da568: Download complete [2023-07-04T00:04:51.521Z] 1469e6f7b9e6: Verifying Checksum [2023-07-04T00:04:51.521Z] 1469e6f7b9e6: Download complete [2023-07-04T00:04:51.521Z] bde34c3a00c8: Verifying Checksum [2023-07-04T00:04:51.521Z] bde34c3a00c8: Download complete [2023-07-04T00:04:51.521Z] b352a97aabf1: Verifying Checksum [2023-07-04T00:04:51.521Z] b352a97aabf1: Download complete [2023-07-04T00:04:51.521Z] 4872d77fe225: Verifying Checksum [2023-07-04T00:04:51.521Z] 4872d77fe225: Download complete [2023-07-04T00:04:51.521Z] 5851b861e8e6: Verifying Checksum [2023-07-04T00:04:51.521Z] 5851b861e8e6: Download complete [2023-07-04T00:04:51.521Z] b85a868b505f: Verifying Checksum [2023-07-04T00:04:51.521Z] b85a868b505f: Download complete [2023-07-04T00:04:51.780Z] bab4dde63d76: Verifying Checksum [2023-07-04T00:04:51.780Z] bab4dde63d76: Download complete [2023-07-04T00:04:52.715Z] b85a868b505f: Pull complete [2023-07-04T00:04:52.715Z] e2be974225ed: Pull complete [2023-07-04T00:04:52.975Z] 339a4e72a1f5: Pull complete [2023-07-04T00:04:53.234Z] 988bab9f4d93: Pull complete [2023-07-04T00:04:53.492Z] 1469e6f7b9e6: Pull complete [2023-07-04T00:04:53.492Z] eaf3925da568: Pull complete [2023-07-04T00:04:55.399Z] bab4dde63d76: Pull complete [2023-07-04T00:04:55.399Z] bde34c3a00c8: Pull complete [2023-07-04T00:04:55.399Z] b352a97aabf1: Pull complete [2023-07-04T00:04:55.399Z] 4872d77fe225: Pull complete [2023-07-04T00:04:55.399Z] 5851b861e8e6: Pull complete [2023-07-04T00:04:55.399Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-04T00:04:55.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:04:55.399Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:04:55.501Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:04:55.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-04T00:04:58.191Z] $ docker top 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 -eo pid,comm [2023-07-04T00:04:58.257Z] 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-07-04T00:04:58.257Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-04T00:04:58.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T00:04:58.285Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T00:04:58.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T00:04:58.400Z] $ docker exec 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 ssh-agent [2023-07-04T00:04:58.514Z] SSH_AUTH_SOCK=/tmp/ssh-rhoW19EBRIXf/agent.33 [2023-07-04T00:04:58.514Z] SSH_AGENT_PID=39 [2023-07-04T00:04:58.521Z] Running ssh-add (command line suppressed) [2023-07-04T00:04:58.630Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11827288346909898198.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11827288346909898198.key) [2023-07-04T00:04:58.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T00:04:58.932Z] + git tag --points-at HEAD [Pipeline] } [2023-07-04T00:04:58.949Z] $ docker exec --env ******** --env ******** 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 ssh-agent -k [2023-07-04T00:04:59.044Z] unset SSH_AUTH_SOCK; [2023-07-04T00:04:59.044Z] unset SSH_AGENT_PID; [2023-07-04T00:04:59.044Z] echo Agent pid 39 killed; [2023-07-04T00:04:59.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-04T00:04:59.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T00:04:59.079Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T00:04:59.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T00:04:59.193Z] $ docker exec 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 ssh-agent [2023-07-04T00:04:59.305Z] SSH_AUTH_SOCK=/tmp/ssh-b0WAYGHXs6F5/agent.71 [2023-07-04T00:04:59.305Z] SSH_AGENT_PID=77 [2023-07-04T00:04:59.310Z] Running ssh-add (command line suppressed) [2023-07-04T00:04:59.424Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1887116790978710171.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1887116790978710171.key) [2023-07-04T00:04:59.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T00:04:59.725Z] + git semver init [2023-07-04T00:04:59.985Z] 2023-07-04 00:04:59,910 [run_init] DEBUG init version:0.0.0 force:False [2023-07-04T00:04:59.985Z] 2023-07-04 00:04:59,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-07-04T00:04:59.985Z] 2023-07-04 00:04:59,911 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-07-04T00:04:59.985Z] 2023-07-04 00:04:59,911 [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-07-04T00:05:01.361Z] 2023-07-04 00:05:01,187 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-07-04T00:05:01.361Z] 2023-07-04 00:05:01,188 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-07-04T00:05:01.361Z] 2023-07-04 00:05:01,188 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:05:01.361Z] 2023-07-04 00:05:01,188 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:05:01.361Z] 3.1.0-dev.1 [Pipeline] } [2023-07-04T00:05:01.369Z] $ docker exec --env ******** --env ******** 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 ssh-agent -k [2023-07-04T00:05:01.457Z] unset SSH_AUTH_SOCK; [2023-07-04T00:05:01.458Z] unset SSH_AGENT_PID; [2023-07-04T00:05:01.458Z] echo Agent pid 77 killed; [2023-07-04T00:05:01.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-04T00:05:01.776Z] + git semver [Pipeline] } [2023-07-04T00:05:02.050Z] $ docker stop --time=1 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 [2023-07-04T00:05:03.347Z] $ docker rm -f --volumes 58fc8edce753871b5a037332d57e1c4524004b326c6d9a134ac746039ae696d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-04T00:05:03.677Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-04T00:05:03.867Z] Stashed 1 file(s) [Pipeline] echo [2023-07-04T00:05:03.869Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T00:05:03.997Z] provisioning config files... [2023-07-04T00:05:04.004Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16283186578059624104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:05:04.300Z] ---> docker-login.sh [2023-07-04T00:05:04.300Z] nexus3.edgexfoundry.org:10001 [2023-07-04T00:05:04.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:05:04.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:05:04.300Z] Configure a credential helper to remove this warning. See [2023-07-04T00:05:04.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:05:04.300Z] [2023-07-04T00:05:04.300Z] Login Succeeded [2023-07-04T00:05:04.300Z] nexus3.edgexfoundry.org:10002 [2023-07-04T00:05:04.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:05:04.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:05:04.300Z] Configure a credential helper to remove this warning. See [2023-07-04T00:05:04.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:05:04.300Z] [2023-07-04T00:05:04.300Z] Login Succeeded [2023-07-04T00:05:04.300Z] nexus3.edgexfoundry.org:10003 [2023-07-04T00:05:04.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:05:04.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:05:04.560Z] Configure a credential helper to remove this warning. See [2023-07-04T00:05:04.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:05:04.560Z] [2023-07-04T00:05:04.560Z] Login Succeeded [2023-07-04T00:05:04.560Z] nexus3.edgexfoundry.org:10004 [2023-07-04T00:05:04.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:05:04.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:05:04.560Z] Configure a credential helper to remove this warning. See [2023-07-04T00:05:04.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:05:04.560Z] [2023-07-04T00:05:04.560Z] Login Succeeded [2023-07-04T00:05:04.560Z] docker.io [2023-07-04T00:05:04.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:05:05.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:05:05.126Z] Configure a credential helper to remove this warning. See [2023-07-04T00:05:05.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:05:05.126Z] [2023-07-04T00:05:05.126Z] Login Succeeded [2023-07-04T00:05:05.126Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T00:05:05.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-04T00:05:05.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T00:05:05.193Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-04T00:05:05.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T00:05:05.211Z] ========================================================= [2023-07-04T00:05:05.211Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-04T00:05:05.211Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:05:05.530Z] + 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-07-04T00:05:05.530Z] Sending build context to Docker daemon 4.8MB [2023-07-04T00:05:05.530Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-04T00:05:05.530Z] Step 2/21 : FROM ${BASE} as builder [2023-07-04T00:05:05.794Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-04T00:05:05.794Z] 91d30c5bc195: Pulling fs layer [2023-07-04T00:05:05.794Z] 316e5a4585fb: Pulling fs layer [2023-07-04T00:05:05.794Z] 91d30c5bc195: Verifying Checksum [2023-07-04T00:05:05.794Z] 91d30c5bc195: Download complete [2023-07-04T00:05:05.794Z] 91d30c5bc195: Pull complete [2023-07-04T00:05:06.361Z] 316e5a4585fb: Verifying Checksum [2023-07-04T00:05:06.361Z] 316e5a4585fb: Download complete [2023-07-04T00:05:09.665Z] 316e5a4585fb: Pull complete [2023-07-04T00:05:09.665Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-04T00:05:09.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-04T00:05:09.665Z] ---> e83ffa357ff4 [2023-07-04T00:05:09.665Z] 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-07-04T00:05:11.046Z] ---> Running in 2dcad7173d97 [2023-07-04T00:05:11.305Z] Connecting to iotech.jfrog.io (54.76.209.100:443) [2023-07-04T00:05:11.875Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:05:11.875Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:05:11.875Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:05:12.133Z] Removing intermediate container 2dcad7173d97 [2023-07-04T00:05:12.133Z] ---> 25f1416271a5 [2023-07-04T00:05:12.133Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:05:12.133Z] ---> Running in 5239ca298bd8 [2023-07-04T00:05:12.708Z] Removing intermediate container 5239ca298bd8 [2023-07-04T00:05:12.708Z] ---> af47aa04d2df [2023-07-04T00:05:12.708Z] 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-07-04T00:05:12.708Z] ---> Running in 4004d53a3a38 [2023-07-04T00:05:12.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:12.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:13.226Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:13.795Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:05:13.795Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:05:13.795Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:05:13.795Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-04T00:05:14.055Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-04T00:05:14.055Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T00:05:15.514Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T00:05:15.514Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-04T00:05:15.514Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-04T00:05:15.514Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T00:05:15.514Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T00:05:16.469Z] (11/16) Installing libblkid (2.38-r1) [2023-07-04T00:05:16.469Z] (12/16) Installing libuuid (2.38-r1) [2023-07-04T00:05:16.729Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-04T00:05:16.729Z] (14/16) Installing libmount (2.38-r1) [2023-07-04T00:05:16.729Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-04T00:05:16.729Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-04T00:05:16.729Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:05:16.729Z] OK: 280 MiB in 90 packages [2023-07-04T00:05:17.664Z] Removing intermediate container 4004d53a3a38 [2023-07-04T00:05:17.664Z] ---> 50894434e0fd [2023-07-04T00:05:17.664Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-04T00:05:17.664Z] ---> Running in 0bd3b389fd10 [2023-07-04T00:05:18.599Z] Removing intermediate container 0bd3b389fd10 [2023-07-04T00:05:18.599Z] ---> 7ba7576b8dd5 [2023-07-04T00:05:18.599Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-04T00:05:18.599Z] ---> 508dbc267434 [2023-07-04T00:05:18.599Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-04T00:05:18.858Z] ---> e252ceebce9a [2023-07-04T00:05:18.858Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-04T00:05:18.966Z] Still waiting to schedule task [2023-07-04T00:05:18.966Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-04T00:05:19.116Z] ---> 0e8427e07ccc [2023-07-04T00:05:19.116Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-04T00:05:19.374Z] ---> d6e32075ad53 [2023-07-04T00:05:19.374Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-04T00:05:19.634Z] ---> d6f9adb1e6a2 [2023-07-04T00:05:19.634Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-04T00:05:19.894Z] ---> b9925ed63b26 [2023-07-04T00:05:19.894Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-04T00:05:19.894Z] ---> Running in 491e23fadf26 [2023-07-04T00:05:20.464Z] + CPPCHECK=false [2023-07-04T00:05:20.464Z] + DOCGEN=false [2023-07-04T00:05:20.464Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-04T00:05:20.464Z] + '[' 0 -gt 0 ] [2023-07-04T00:05:20.464Z] + readlink -f ./scripts/build.sh [2023-07-04T00:05:20.464Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-04T00:05:20.464Z] + dirname /tmp/sdk/scripts [2023-07-04T00:05:20.464Z] + ROOT=/tmp/sdk [2023-07-04T00:05:20.464Z] + cd /tmp/sdk [2023-07-04T00:05:20.464Z] + mkdir -p /tmp/sdk/build/release [2023-07-04T00:05:20.464Z] + cd /tmp/sdk/build/release [2023-07-04T00:05:20.464Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-04T00:05:20.464Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T00:05:20.722Z] -- Detecting C compiler ABI info [2023-07-04T00:05:20.722Z] -- Detecting C compiler ABI info - done [2023-07-04T00:05:20.722Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T00:05:20.722Z] -- Detecting C compile features [2023-07-04T00:05:20.722Z] -- Detecting C compile features - done [2023-07-04T00:05:20.722Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T00:05:20.722Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T00:05:20.722Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T00:05:20.722Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T00:05:20.722Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T00:05:20.722Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T00:05:20.722Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T00:05:20.722Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T00:05:20.722Z] -- /opt/iotech/iot/1.5/include [2023-07-04T00:05:20.722Z] -- C SDK 3.1.0-dev.1 for Linux [2023-07-04T00:05:20.722Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T00:05:20.980Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T00:05:20.980Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T00:05:20.980Z] -- Configuring done [2023-07-04T00:05:20.980Z] -- Generating done [2023-07-04T00:05:20.980Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-04T00:05:20.980Z] + make all package [2023-07-04T00:05:20.980Z] + tee release.log [2023-07-04T00:05:20.980Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T00:05:21.238Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-04T00:05:21.238Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-04T00:05:21.499Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-04T00:05:21.765Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-04T00:05:21.765Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-04T00:05:22.334Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-04T00:05:22.334Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-04T00:05:22.334Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-04T00:05:22.593Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-04T00:05:23.160Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-04T00:05:23.161Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-04T00:05:23.420Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-04T00:05:23.420Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-04T00:05:23.679Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-04T00:05:23.679Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-04T00:05:23.937Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-04T00:05:24.196Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-04T00:05:24.455Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-04T00:05:24.455Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-04T00:05:24.715Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-04T00:05:25.651Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-04T00:05:25.910Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-04T00:05:25.910Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-04T00:05:26.169Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-04T00:05:26.169Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-04T00:05:26.429Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-04T00:05:26.997Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-04T00:05:26.997Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-04T00:05:26.997Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-04T00:05:27.256Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-04T00:05:27.834Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-04T00:05:27.834Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-04T00:05:27.834Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-04T00:05:28.098Z] [ 68%] Linking C shared library libcsdk.so [2023-07-04T00:05:28.098Z] [ 68%] Built target csdk [2023-07-04T00:05:28.098Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-04T00:05:28.357Z] [ 72%] Linking C executable template [2023-07-04T00:05:28.357Z] [ 72%] Built target template [2023-07-04T00:05:28.357Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-04T00:05:28.357Z] [ 76%] Linking C executable device-counter [2023-07-04T00:05:28.616Z] [ 76%] Built target device-counter [2023-07-04T00:05:28.616Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-04T00:05:28.616Z] [ 80%] Linking C executable device-random [2023-07-04T00:05:28.616Z] [ 80%] Built target device-random [2023-07-04T00:05:28.616Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-04T00:05:28.875Z] [ 84%] Linking C executable device-gyro [2023-07-04T00:05:28.875Z] [ 84%] Built target device-gyro [2023-07-04T00:05:28.875Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-04T00:05:28.875Z] [ 88%] Linking C executable device-bitfields [2023-07-04T00:05:29.133Z] [ 88%] Built target device-bitfields [2023-07-04T00:05:29.133Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-04T00:05:29.133Z] [ 92%] Linking C executable template-discovery [2023-07-04T00:05:29.392Z] [ 92%] Built target template-discovery [2023-07-04T00:05:29.392Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-04T00:05:29.392Z] [ 96%] Linking C executable device-file [2023-07-04T00:05:29.650Z] [ 96%] Built target device-file [2023-07-04T00:05:29.650Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-04T00:05:29.650Z] [100%] Linking C executable device-terminal [2023-07-04T00:05:29.650Z] [100%] Built target device-terminal [2023-07-04T00:05:29.907Z] Run CPack packaging tool... [2023-07-04T00:05:29.907Z] CPack: Create package using TGZ [2023-07-04T00:05:29.907Z] CPack: Install projects [2023-07-04T00:05:29.907Z] CPack: - Run preinstall target for: Csdk [2023-07-04T00:05:30.167Z] CPack: - Install project: Csdk [] [2023-07-04T00:05:30.167Z] CPack: Create package [2023-07-04T00:05:30.167Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.1.tar.gz generated. [2023-07-04T00:05:30.167Z] + '[' false '=' true ] [2023-07-04T00:05:30.167Z] + '[' false '=' true ] [2023-07-04T00:05:30.167Z] + mkdir -p /tmp/sdk/build/debug [2023-07-04T00:05:30.167Z] + cd /tmp/sdk/build/debug [2023-07-04T00:05:30.167Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-04T00:05:30.167Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T00:05:30.167Z] -- Detecting C compiler ABI info [2023-07-04T00:05:30.167Z] -- Detecting C compiler ABI info - done [2023-07-04T00:05:30.167Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T00:05:30.167Z] -- Detecting C compile features [2023-07-04T00:05:30.167Z] -- Detecting C compile features - done [2023-07-04T00:05:30.167Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T00:05:30.426Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T00:05:30.426Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T00:05:30.426Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T00:05:30.426Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T00:05:30.426Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T00:05:30.426Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T00:05:30.426Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T00:05:30.426Z] -- /opt/iotech/iot/1.5/include [2023-07-04T00:05:30.426Z] -- C SDK 3.1.0-dev.1 for Linux [2023-07-04T00:05:30.426Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T00:05:30.426Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T00:05:30.426Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T00:05:30.426Z] -- Configuring done [2023-07-04T00:05:30.426Z] -- Generating done [2023-07-04T00:05:30.426Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-04T00:05:30.426Z] + make [2023-07-04T00:05:30.426Z] + tee debug.log [2023-07-04T00:05:30.426Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T00:05:30.684Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-04T00:05:30.684Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-04T00:05:30.684Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-04T00:05:30.943Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-04T00:05:30.943Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-04T00:05:31.201Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-04T00:05:31.201Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-04T00:05:31.201Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-04T00:05:31.201Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-04T00:05:31.461Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-04T00:05:31.461Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-04T00:05:31.721Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-04T00:05:31.721Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-04T00:05:31.721Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-04T00:05:31.721Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-04T00:05:31.980Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-04T00:05:31.980Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-04T00:05:31.980Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-04T00:05:32.239Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-04T00:05:32.239Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-04T00:05:32.499Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-04T00:05:32.499Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-04T00:05:32.757Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-04T00:05:32.757Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-04T00:05:32.757Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-04T00:05:33.016Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-04T00:05:33.275Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-04T00:05:33.275Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-04T00:05:33.275Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-04T00:05:33.275Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-04T00:05:33.533Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-04T00:05:33.533Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-04T00:05:33.791Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-04T00:05:33.791Z] [ 68%] Linking C shared library libcsdk.so [2023-07-04T00:05:33.791Z] [ 68%] Built target csdk [2023-07-04T00:05:33.791Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-04T00:05:33.791Z] [ 72%] Linking C executable template [2023-07-04T00:05:34.049Z] [ 72%] Built target template [2023-07-04T00:05:34.049Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-04T00:05:34.049Z] [ 76%] Linking C executable device-counter [2023-07-04T00:05:34.049Z] [ 76%] Built target device-counter [2023-07-04T00:05:34.049Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-04T00:05:34.306Z] [ 80%] Linking C executable device-random [2023-07-04T00:05:34.306Z] [ 80%] Built target device-random [2023-07-04T00:05:34.306Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-04T00:05:34.306Z] [ 84%] Linking C executable device-gyro [2023-07-04T00:05:34.306Z] [ 84%] Built target device-gyro [2023-07-04T00:05:34.306Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-04T00:05:34.565Z] [ 88%] Linking C executable device-bitfields [2023-07-04T00:05:34.565Z] [ 88%] Built target device-bitfields [2023-07-04T00:05:34.565Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-04T00:05:34.565Z] [ 92%] Linking C executable template-discovery [2023-07-04T00:05:34.824Z] [ 92%] Built target template-discovery [2023-07-04T00:05:34.824Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-04T00:05:34.824Z] [ 96%] Linking C executable device-file [2023-07-04T00:05:34.824Z] [ 96%] Built target device-file [2023-07-04T00:05:34.824Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-04T00:05:35.083Z] [100%] Linking C executable device-terminal [2023-07-04T00:05:35.083Z] [100%] Built target device-terminal [2023-07-04T00:05:35.083Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] [ 68%] Built target csdk [2023-07-04T00:05:35.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] [ 72%] Built target template [2023-07-04T00:05:35.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] [ 76%] Built target device-counter [2023-07-04T00:05:35.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.083Z] [ 80%] Built target device-random [2023-07-04T00:05:35.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] [ 84%] Built target device-gyro [2023-07-04T00:05:35.341Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] [ 88%] Built target device-bitfields [2023-07-04T00:05:35.341Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] [ 92%] Built target template-discovery [2023-07-04T00:05:35.341Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] [ 96%] Built target device-file [2023-07-04T00:05:35.341Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] [100%] Built target device-terminal [2023-07-04T00:05:35.341Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:35.341Z] Install the project... [2023-07-04T00:05:35.341Z] -- Install configuration: "Release" [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-04T00:05:35.341Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/devsdk [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-04T00:05:35.341Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-04T00:05:35.341Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:05:36.286Z] Removing intermediate container 491e23fadf26 [2023-07-04T00:05:36.286Z] ---> a42cf6a6c54e [2023-07-04T00:05:36.286Z] Step 14/21 : FROM ${BASE} [2023-07-04T00:05:36.286Z] ---> e83ffa357ff4 [2023-07-04T00:05:36.286Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-04T00:05:36.286Z] ---> Running in 5576ae363838 [2023-07-04T00:05:36.546Z] Removing intermediate container 5576ae363838 [2023-07-04T00:05:36.547Z] ---> 50a2c6d8200e [2023-07-04T00:05:36.547Z] 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-07-04T00:05:36.806Z] ---> Running in 008f2ce4a22d [2023-07-04T00:05:37.065Z] Connecting to iotech.jfrog.io (52.208.202.221:443) [2023-07-04T00:05:37.326Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:05:37.326Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:05:37.326Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:05:38.263Z] Removing intermediate container 008f2ce4a22d [2023-07-04T00:05:38.263Z] ---> 4fb4e22958fc [2023-07-04T00:05:38.263Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:05:38.263Z] ---> Running in bec46c6a0618 [2023-07-04T00:05:39.197Z] Removing intermediate container bec46c6a0618 [2023-07-04T00:05:39.197Z] ---> e2d1116a0ec5 [2023-07-04T00:05:39.197Z] 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-07-04T00:05:39.197Z] ---> Running in 35b64c698fb9 [2023-07-04T00:05:39.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:39.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:39.719Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:39.991Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:05:39.991Z] (1/7) Installing curl (8.1.2-r0) [2023-07-04T00:05:39.991Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-04T00:05:39.991Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-04T00:05:39.991Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-04T00:05:40.929Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-04T00:05:40.929Z] (6/7) Installing libuuid (2.38-r1) [2023-07-04T00:05:40.929Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T00:05:41.931Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:05:41.931Z] OK: 276 MiB in 83 packages [2023-07-04T00:05:42.190Z] Removing intermediate container 35b64c698fb9 [2023-07-04T00:05:42.190Z] ---> 1280abe27449 [2023-07-04T00:05:42.190Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-04T00:05:42.191Z] ---> 7c42f481c97d [2023-07-04T00:05:42.191Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-04T00:05:42.450Z] ---> 68a3068630a2 [2023-07-04T00:05:42.450Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-04T00:05:42.450Z] ---> 602ed96d1d5e [2023-07-04T00:05:42.450Z] Successfully built 602ed96d1d5e [2023-07-04T00:05:42.708Z] 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-07-04T00:05:43.051Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-04T00:05:43.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:05:43.118Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:05:43.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-04T00:05:43.485Z] $ docker top cb8117cf02b720cf52019392eaf23e77440ac3dff971dc0801272676c7a837a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-04T00:05:43.831Z] + make test [2023-07-04T00:05:43.831Z] echo "make test" [2023-07-04T00:05:43.831Z] make test [Pipeline] } [2023-07-04T00:05:43.842Z] $ docker stop --time=1 cb8117cf02b720cf52019392eaf23e77440ac3dff971dc0801272676c7a837a3 [2023-07-04T00:05:45.107Z] $ docker rm -f --volumes cb8117cf02b720cf52019392eaf23e77440ac3dff971dc0801272676c7a837a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-04T00:05:45.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-04T00:05:45.980Z] + ls -al . [2023-07-04T00:05:45.980Z] total 212 [2023-07-04T00:05:45.980Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 00:04 . [2023-07-04T00:05:45.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:04 .. [2023-07-04T00:05:45.980Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 00:05 .git [2023-07-04T00:05:45.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:04 .github [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 4 00:04 .gitignore [2023-07-04T00:05:45.980Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 00:05 .semver [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 4 00:04 Attribution.txt [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 4 00:04 CHANGES [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 4 00:04 Doxyfile [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 00:04 GOVERNANCE.md [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 4 00:04 Jenkinsfile [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 4 00:04 LICENSE [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 4 00:04 Makefile [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 4 00:04 OWNERS.md [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 4 00:04 README.IOT.md [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 4 00:04 README.md [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 4 00:04 README.v3.md [2023-07-04T00:05:45.980Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 4 00:05 VERSION [2023-07-04T00:05:45.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:04 docs [2023-07-04T00:05:45.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:04 include [2023-07-04T00:05:45.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:04 scripts [2023-07-04T00:05:45.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:05:46.282Z] + 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=e7fd64e96379a16422cca1ca57683b7b4003cc62 --label arch=amd64 --label version=3.1.0-dev.1 . [2023-07-04T00:05:46.282Z] Sending build context to Docker daemon 4.8MB [2023-07-04T00:05:46.282Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-04T00:05:46.282Z] Step 2/17 : FROM ${BASE} [2023-07-04T00:05:46.282Z] ---> 602ed96d1d5e [2023-07-04T00:05:46.282Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-04T00:05:46.282Z] ---> Running in 0bff34f87857 [2023-07-04T00:05:46.542Z] Removing intermediate container 0bff34f87857 [2023-07-04T00:05:46.542Z] ---> dba30917999f [2023-07-04T00:05:46.542Z] 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-07-04T00:05:46.542Z] ---> Running in 5ea91ddddb13 [2023-07-04T00:05:46.801Z] Connecting to iotech.jfrog.io (54.76.209.100:443) [2023-07-04T00:05:47.061Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:05:47.061Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:05:47.061Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:05:47.321Z] Removing intermediate container 5ea91ddddb13 [2023-07-04T00:05:47.321Z] ---> 60d80b564865 [2023-07-04T00:05:47.321Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:05:47.321Z] ---> Running in a8e0ca8fe485 [2023-07-04T00:05:47.890Z] Removing intermediate container a8e0ca8fe485 [2023-07-04T00:05:47.890Z] ---> 11f06a788bc3 [2023-07-04T00:05:47.890Z] 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-07-04T00:05:47.890Z] ---> Running in 06c126939007 [2023-07-04T00:05:48.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:48.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:48.409Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T00:05:48.978Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:05:48.978Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:05:48.978Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:05:48.978Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T00:05:49.549Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T00:05:49.809Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-04T00:05:49.809Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T00:05:49.809Z] (7/11) Installing libblkid (2.38-r1) [2023-07-04T00:05:49.809Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-04T00:05:49.809Z] (9/11) Installing libmount (2.38-r1) [2023-07-04T00:05:49.809Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-04T00:05:49.809Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-04T00:05:49.809Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:05:49.809Z] OK: 281 MiB in 92 packages [2023-07-04T00:05:50.379Z] Removing intermediate container 06c126939007 [2023-07-04T00:05:50.379Z] ---> f64c7f830dc3 [2023-07-04T00:05:50.379Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-04T00:05:50.637Z] ---> e8d943a4f576 [2023-07-04T00:05:50.637Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-04T00:05:50.637Z] ---> 636e64082d65 [2023-07-04T00:05:50.637Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-04T00:05:50.897Z] ---> bbf26e4b957c [2023-07-04T00:05:50.897Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-04T00:05:50.897Z] ---> 119ff984284c [2023-07-04T00:05:50.897Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-04T00:05:51.157Z] ---> bff40eb5fe49 [2023-07-04T00:05:51.157Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-04T00:05:51.157Z] ---> 5ed430c73cad [2023-07-04T00:05:51.157Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-04T00:05:51.157Z] ---> Running in e8d023416748 [2023-07-04T00:05:51.416Z] Removing intermediate container e8d023416748 [2023-07-04T00:05:51.416Z] ---> 5cfffa3f6b7d [2023-07-04T00:05:51.416Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-04T00:05:51.416Z] ---> Running in b85eb8ba2483 [2023-07-04T00:05:51.416Z] Removing intermediate container b85eb8ba2483 [2023-07-04T00:05:51.416Z] ---> 123190da45de [2023-07-04T00:05:51.416Z] Step 15/17 : LABEL arch=amd64 [2023-07-04T00:05:51.416Z] ---> Running in 16a71012d993 [2023-07-04T00:05:51.416Z] Removing intermediate container 16a71012d993 [2023-07-04T00:05:51.416Z] ---> 1f5a1ea60143 [2023-07-04T00:05:51.416Z] Step 16/17 : LABEL git_sha=e7fd64e96379a16422cca1ca57683b7b4003cc62 [2023-07-04T00:05:51.416Z] ---> Running in ce1746d20c0f [2023-07-04T00:05:51.675Z] Removing intermediate container ce1746d20c0f [2023-07-04T00:05:51.675Z] ---> 720d5b65ea99 [2023-07-04T00:05:51.675Z] Step 17/17 : LABEL version=3.1.0-dev.1 [2023-07-04T00:05:51.675Z] ---> Running in 0c4f4b86095e [2023-07-04T00:05:51.675Z] Removing intermediate container 0c4f4b86095e [2023-07-04T00:05:51.675Z] ---> 90610761e44c [2023-07-04T00:05:51.675Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-04T00:05:51.675Z] Successfully built 90610761e44c [2023-07-04T00:05:51.675Z] 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-07-04T00:05:52.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T00:05:52.079Z] [2023-07-04T00:05:52.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:05:52.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T00:05:52.383Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-04T00:05:52.383Z] 5eb5b503b376: Pulling fs layer [2023-07-04T00:05:52.383Z] 5c69ac0246d0: Pulling fs layer [2023-07-04T00:05:52.383Z] ec43610c2a17: Pulling fs layer [2023-07-04T00:05:52.383Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-04T00:05:52.383Z] 33b1e0a273af: Pulling fs layer [2023-07-04T00:05:52.383Z] 3a2ae6a8a46f: Waiting [2023-07-04T00:05:52.383Z] 5d3b04190fa2: Pulling fs layer [2023-07-04T00:05:52.383Z] 33b1e0a273af: Waiting [2023-07-04T00:05:52.383Z] 2f39f015ded8: Pulling fs layer [2023-07-04T00:05:52.383Z] 5d3b04190fa2: Waiting [2023-07-04T00:05:52.383Z] 5c69ac0246d0: Download complete [2023-07-04T00:05:52.383Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-04T00:05:52.383Z] 3a2ae6a8a46f: Download complete [2023-07-04T00:05:52.383Z] 33b1e0a273af: Verifying Checksum [2023-07-04T00:05:52.383Z] 33b1e0a273af: Download complete [2023-07-04T00:05:52.383Z] ec43610c2a17: Verifying Checksum [2023-07-04T00:05:52.383Z] ec43610c2a17: Download complete [2023-07-04T00:05:52.383Z] 5d3b04190fa2: Download complete [2023-07-04T00:05:52.643Z] 5eb5b503b376: Verifying Checksum [2023-07-04T00:05:52.643Z] 5eb5b503b376: Download complete [2023-07-04T00:05:53.210Z] 2f39f015ded8: Download complete [2023-07-04T00:05:53.779Z] 5eb5b503b376: Pull complete [2023-07-04T00:05:54.037Z] 5c69ac0246d0: Pull complete [2023-07-04T00:05:54.609Z] ec43610c2a17: Pull complete [2023-07-04T00:05:54.609Z] 3a2ae6a8a46f: Pull complete [2023-07-04T00:05:54.866Z] 33b1e0a273af: Pull complete [2023-07-04T00:05:54.866Z] 5d3b04190fa2: Pull complete [2023-07-04T00:06:00.170Z] 2f39f015ded8: Pull complete [2023-07-04T00:06:00.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-04T00:06:00.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T00:06:00.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:06:00.247Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:06:00.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-04T00:06:04.195Z] $ docker top b9fd96617c7a44de6b22e733c643f625f2c0d8955d513206dd823ab855ce4609 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:06:04.637Z] ---> job-cost.sh [2023-07-04T00:06:04.637Z] lf-activate-venv: SKIPPING [2023-07-04T00:06:04.637Z] INFO: No Stack... [2023-07-04T00:06:04.913Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-04T00:06:05.195Z] INFO: Archiving Costs [Pipeline] sh [2023-07-04T00:06:05.490Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-07-04T00:06:05.490Z] + cut -d, -f6 [Pipeline] lock [2023-07-04T00:06:05.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [2023-07-04T00:06:05.510Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] did not exist. Created. [2023-07-04T00:06:05.510Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-04T00:06:05.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-04T00:06:05.862Z] Stashed 1 file(s) [Pipeline] } [2023-07-04T00:06:05.869Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-04T00:06:05.884Z] $ docker stop --time=1 b9fd96617c7a44de6b22e733c643f625f2c0d8955d513206dd823ab855ce4609 [2023-07-04T00:06:07.030Z] $ docker rm -f --volumes b9fd96617c7a44de6b22e733c643f625f2c0d8955d513206dd823ab855ce4609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-04T00:06:41.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-389 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-07-04T00:06:41.815Z] Running in /w/workspace/device-sdk-c/50 [Pipeline] { [Pipeline] checkout [2023-07-04T00:06:41.839Z] Selected Git installation does not exist. Using Default [2023-07-04T00:06:41.839Z] The recommended git tool is: NONE [2023-07-04T00:06:46.849Z] using credential edgex-jenkins-ssh [2023-07-04T00:06:46.864Z] Cloning the remote Git repository [2023-07-04T00:06:46.906Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-04T00:06:46.986Z] > git init /w/workspace/device-sdk-c/50 # timeout=10 [2023-07-04T00:06:47.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-04T00:06:47.114Z] > git --version # timeout=10 [2023-07-04T00:06:47.136Z] > git --version # 'git version 2.25.1' [2023-07-04T00:06:47.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-04T00:06:47.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-04T00:06:49.153Z] Avoid second fetch [2023-07-04T00:06:49.153Z] Checking out Revision e7fd64e96379a16422cca1ca57683b7b4003cc62 (main) [2023-07-04T00:06:48.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-04T00:06:48.352Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-04T00:06:49.173Z] > git config core.sparsecheckout # timeout=10 [2023-07-04T00:06:49.240Z] > git checkout -f e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 [2023-07-04T00:06:49.705Z] Commit message: "Merge pull request #463 from FelixTing/issue-462" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-04T00:06:50.680Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-04T00:06:50.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-04T00:06:50.680Z] Dload Upload Total Spent Left Speed [2023-07-04T00:06:50.680Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh [2023-07-04T00:06:51.232Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-04T00:06:51.549Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-07-04T00:06:51.549Z] /etc/docker/daemon.json [2023-07-04T00:06:51.549Z] { [2023-07-04T00:06:51.549Z] "registry-mirrors": [ [2023-07-04T00:06:51.549Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-04T00:06:51.549Z] ], [2023-07-04T00:06:51.549Z] "bip": "10.250.0.254/24", [2023-07-04T00:06:51.549Z] "hosts": [ [2023-07-04T00:06:51.549Z] "tcp://0.0.0.0:5555", [2023-07-04T00:06:51.549Z] "unix:///var/run/docker.sock" [2023-07-04T00:06:51.549Z] ], [2023-07-04T00:06:51.549Z] "mtu": 1458, [2023-07-04T00:06:51.549Z] "selinux-enabled": true, [2023-07-04T00:06:51.549Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-04T00:06:51.549Z] } [Pipeline] sh [2023-07-04T00:06:51.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-04T00:06:52.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T00:07:10.455Z] provisioning config files... [2023-07-04T00:07:10.481Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/50@tmp/config11769471707510820245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:07:10.822Z] ---> docker-login.sh [2023-07-04T00:07:10.822Z] nexus3.edgexfoundry.org:10001 [2023-07-04T00:07:11.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:07:11.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:07:11.361Z] Configure a credential helper to remove this warning. See [2023-07-04T00:07:11.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:07:11.361Z] [2023-07-04T00:07:11.361Z] Login Succeeded [2023-07-04T00:07:11.361Z] nexus3.edgexfoundry.org:10002 [2023-07-04T00:07:11.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:07:11.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:07:11.631Z] Configure a credential helper to remove this warning. See [2023-07-04T00:07:11.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:07:11.631Z] [2023-07-04T00:07:11.631Z] Login Succeeded [2023-07-04T00:07:11.631Z] nexus3.edgexfoundry.org:10003 [2023-07-04T00:07:11.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:07:12.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:07:12.171Z] Configure a credential helper to remove this warning. See [2023-07-04T00:07:12.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:07:12.171Z] [2023-07-04T00:07:12.171Z] Login Succeeded [2023-07-04T00:07:12.171Z] nexus3.edgexfoundry.org:10004 [2023-07-04T00:07:12.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:07:12.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:07:12.440Z] Configure a credential helper to remove this warning. See [2023-07-04T00:07:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:07:12.441Z] [2023-07-04T00:07:12.441Z] Login Succeeded [2023-07-04T00:07:12.441Z] docker.io [2023-07-04T00:07:12.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T00:07:12.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T00:07:12.975Z] Configure a credential helper to remove this warning. See [2023-07-04T00:07:12.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T00:07:12.975Z] [2023-07-04T00:07:12.975Z] Login Succeeded [2023-07-04T00:07:12.975Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T00:07:12.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-04T00:07:13.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T00:07:13.242Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-04T00:07:13.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T00:07:13.267Z] ========================================================= [2023-07-04T00:07:13.267Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-04T00:07:13.267Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:07:13.604Z] + 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-07-04T00:07:13.876Z] Sending build context to Docker daemon 2.87MB [2023-07-04T00:07:13.876Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-04T00:07:13.876Z] Step 2/21 : FROM ${BASE} as builder [2023-07-04T00:07:14.147Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-04T00:07:14.147Z] 547446be3368: Pulling fs layer [2023-07-04T00:07:14.147Z] 76bd08e1cacc: Pulling fs layer [2023-07-04T00:07:14.147Z] 547446be3368: Verifying Checksum [2023-07-04T00:07:14.147Z] 547446be3368: Download complete [2023-07-04T00:07:14.740Z] 547446be3368: Pull complete [2023-07-04T00:07:16.162Z] 76bd08e1cacc: Verifying Checksum [2023-07-04T00:07:16.162Z] 76bd08e1cacc: Download complete [2023-07-04T00:07:24.394Z] 76bd08e1cacc: Pull complete [2023-07-04T00:07:24.394Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-04T00:07:24.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-04T00:07:24.394Z] ---> 295cd00e64f4 [2023-07-04T00:07:24.394Z] 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-07-04T00:07:24.997Z] ---> Running in 8ceb277f3d5f [2023-07-04T00:07:25.964Z] Connecting to iotech.jfrog.io (54.246.158.220:443) [2023-07-04T00:07:26.550Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:07:26.550Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:07:26.550Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:07:27.138Z] Removing intermediate container 8ceb277f3d5f [2023-07-04T00:07:27.138Z] ---> d92026a168d0 [2023-07-04T00:07:27.138Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:07:27.138Z] ---> Running in 7b3a31ce5fab [2023-07-04T00:07:29.093Z] Removing intermediate container 7b3a31ce5fab [2023-07-04T00:07:29.093Z] ---> 0c059c57a649 [2023-07-04T00:07:29.093Z] 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-07-04T00:07:29.093Z] ---> Running in 783183ce5073 [2023-07-04T00:07:29.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:07:29.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-04T00:07:30.533Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:07:31.497Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:07:31.497Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:07:31.497Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:07:31.497Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-04T00:07:31.497Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-04T00:07:31.497Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T00:07:32.139Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T00:07:32.415Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-04T00:07:32.415Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-04T00:07:32.415Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T00:07:32.415Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T00:07:33.385Z] (11/16) Installing libblkid (2.38-r1) [2023-07-04T00:07:33.385Z] (12/16) Installing libuuid (2.38-r1) [2023-07-04T00:07:33.385Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-04T00:07:33.385Z] (14/16) Installing libmount (2.38-r1) [2023-07-04T00:07:33.658Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-04T00:07:33.658Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-04T00:07:33.658Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:07:33.658Z] OK: 286 MiB in 90 packages [2023-07-04T00:07:35.606Z] Removing intermediate container 783183ce5073 [2023-07-04T00:07:35.606Z] ---> e91249e289fa [2023-07-04T00:07:35.606Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-04T00:07:35.606Z] ---> Running in 25369f31c9c1 [2023-07-04T00:07:37.021Z] Removing intermediate container 25369f31c9c1 [2023-07-04T00:07:37.022Z] ---> 3f16a8032f98 [2023-07-04T00:07:37.022Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-04T00:07:37.289Z] ---> 85c7a72c8635 [2023-07-04T00:07:37.289Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-04T00:07:38.250Z] ---> dbdfe5ebe248 [2023-07-04T00:07:38.250Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-04T00:07:38.517Z] ---> 2670fd9f06f5 [2023-07-04T00:07:38.517Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-04T00:07:39.100Z] ---> bcfe9d7cb90f [2023-07-04T00:07:39.100Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-04T00:07:39.368Z] ---> 19923d8cde6d [2023-07-04T00:07:39.368Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-04T00:07:39.954Z] ---> 1c8e2dcd6305 [2023-07-04T00:07:39.954Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-04T00:07:39.954Z] ---> Running in ef817c5b8fea [2023-07-04T00:07:40.915Z] + CPPCHECK=false [2023-07-04T00:07:40.915Z] + DOCGEN=false [2023-07-04T00:07:40.915Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-04T00:07:40.915Z] + '[' 0 -gt 0 ] [2023-07-04T00:07:40.915Z] + readlink -f ./scripts/build.sh [2023-07-04T00:07:40.915Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-04T00:07:40.915Z] + dirname /tmp/sdk/scripts [2023-07-04T00:07:40.915Z] + ROOT=/tmp/sdk [2023-07-04T00:07:40.915Z] + cd /tmp/sdk [2023-07-04T00:07:40.915Z] + mkdir -p /tmp/sdk/build/release [2023-07-04T00:07:40.915Z] + cd /tmp/sdk/build/release [2023-07-04T00:07:40.915Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-04T00:07:41.183Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T00:07:41.183Z] -- Detecting C compiler ABI info [2023-07-04T00:07:41.450Z] -- Detecting C compiler ABI info - done [2023-07-04T00:07:41.450Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T00:07:41.450Z] -- Detecting C compile features [2023-07-04T00:07:41.450Z] -- Detecting C compile features - done [2023-07-04T00:07:41.450Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T00:07:41.718Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T00:07:41.718Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T00:07:41.718Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T00:07:41.718Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T00:07:41.718Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T00:07:41.718Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T00:07:41.718Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T00:07:41.718Z] -- /opt/iotech/iot/1.5/include [2023-07-04T00:07:41.718Z] -- C SDK 3.1.0-dev.1 for Linux [2023-07-04T00:07:41.718Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T00:07:42.299Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T00:07:42.299Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T00:07:42.566Z] -- Configuring done [2023-07-04T00:07:42.835Z] -- Generating done [2023-07-04T00:07:42.835Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-04T00:07:42.835Z] + make all package [2023-07-04T00:07:42.835Z] + tee release.log [2023-07-04T00:07:42.835Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T00:07:43.796Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-04T00:07:44.755Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-04T00:07:45.338Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-04T00:07:46.298Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-04T00:07:46.881Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-04T00:07:49.456Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-04T00:07:50.410Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-04T00:07:50.410Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-04T00:07:51.817Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-04T00:07:53.754Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-04T00:07:54.336Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-04T00:07:55.296Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-04T00:07:56.250Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-04T00:07:56.830Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-04T00:07:57.785Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-04T00:07:58.051Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-04T00:08:00.628Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-04T00:08:00.628Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-04T00:08:01.586Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-04T00:08:02.990Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-04T00:08:08.324Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-04T00:08:08.590Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-04T00:08:09.168Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-04T00:08:09.747Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-04T00:08:10.013Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-04T00:08:11.949Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-04T00:08:14.530Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-04T00:08:14.796Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-04T00:08:15.750Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-04T00:08:16.329Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-04T00:08:19.662Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-04T00:08:20.241Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-04T00:08:20.822Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-04T00:08:21.402Z] [ 68%] Linking C shared library libcsdk.so [2023-07-04T00:08:21.402Z] [ 68%] Built target csdk [2023-07-04T00:08:21.669Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-04T00:08:22.622Z] [ 72%] Linking C executable template [2023-07-04T00:08:22.886Z] [ 72%] Built target template [2023-07-04T00:08:22.887Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-04T00:08:23.467Z] [ 76%] Linking C executable device-counter [2023-07-04T00:08:23.732Z] [ 76%] Built target device-counter [2023-07-04T00:08:23.732Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-04T00:08:24.314Z] [ 80%] Linking C executable device-random [2023-07-04T00:08:24.580Z] [ 80%] Built target device-random [2023-07-04T00:08:24.580Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-04T00:08:25.162Z] [ 84%] Linking C executable device-gyro [2023-07-04T00:08:25.428Z] [ 84%] Built target device-gyro [2023-07-04T00:08:25.428Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-04T00:08:26.010Z] [ 88%] Linking C executable device-bitfields [2023-07-04T00:08:26.288Z] [ 88%] Built target device-bitfields [2023-07-04T00:08:26.288Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-04T00:08:27.244Z] [ 92%] Linking C executable template-discovery [2023-07-04T00:08:27.513Z] [ 92%] Built target template-discovery [2023-07-04T00:08:27.780Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-04T00:08:28.737Z] [ 96%] Linking C executable device-file [2023-07-04T00:08:28.737Z] [ 96%] Built target device-file [2023-07-04T00:08:28.737Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-04T00:08:29.695Z] [100%] Linking C executable device-terminal [2023-07-04T00:08:29.963Z] [100%] Built target device-terminal [2023-07-04T00:08:29.963Z] Run CPack packaging tool... [2023-07-04T00:08:29.963Z] CPack: Create package using TGZ [2023-07-04T00:08:29.963Z] CPack: Install projects [2023-07-04T00:08:29.963Z] CPack: - Run preinstall target for: Csdk [2023-07-04T00:08:30.546Z] CPack: - Install project: Csdk [] [2023-07-04T00:08:30.813Z] CPack: Create package [2023-07-04T00:08:30.813Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.1.tar.gz generated. [2023-07-04T00:08:30.813Z] + '[' false '=' true ] [2023-07-04T00:08:30.813Z] + '[' false '=' true ] [2023-07-04T00:08:30.813Z] + mkdir -p /tmp/sdk/build/debug [2023-07-04T00:08:30.813Z] + cd /tmp/sdk/build/debug [2023-07-04T00:08:30.813Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-04T00:08:31.080Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T00:08:31.080Z] -- Detecting C compiler ABI info [2023-07-04T00:08:31.347Z] -- Detecting C compiler ABI info - done [2023-07-04T00:08:31.615Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T00:08:31.615Z] -- Detecting C compile features [2023-07-04T00:08:31.615Z] -- Detecting C compile features - done [2023-07-04T00:08:31.615Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T00:08:31.615Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T00:08:31.615Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T00:08:31.881Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T00:08:31.881Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T00:08:31.881Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T00:08:31.881Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T00:08:31.881Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T00:08:31.881Z] -- /opt/iotech/iot/1.5/include [2023-07-04T00:08:31.881Z] -- C SDK 3.1.0-dev.1 for Linux [2023-07-04T00:08:31.881Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T00:08:32.150Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T00:08:32.418Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T00:08:32.418Z] -- Configuring done [2023-07-04T00:08:32.686Z] -- Generating done [2023-07-04T00:08:32.686Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-04T00:08:32.686Z] + make [2023-07-04T00:08:32.686Z] + tee debug.log [2023-07-04T00:08:32.686Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T00:08:33.270Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-04T00:08:33.853Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-04T00:08:34.118Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-04T00:08:34.385Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-04T00:08:34.967Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-04T00:08:35.552Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-04T00:08:36.133Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-04T00:08:36.400Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-04T00:08:36.668Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-04T00:08:37.625Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-04T00:08:37.890Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-04T00:08:38.479Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-04T00:08:38.744Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-04T00:08:39.011Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-04T00:08:39.592Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-04T00:08:39.859Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-04T00:08:40.817Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-04T00:08:40.817Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-04T00:08:41.083Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-04T00:08:41.665Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-04T00:08:43.067Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-04T00:08:43.333Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-04T00:08:43.600Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-04T00:08:44.180Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-04T00:08:44.446Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-04T00:08:45.024Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-04T00:08:46.424Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-04T00:08:47.006Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-04T00:08:47.272Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-04T00:08:47.859Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-04T00:08:48.815Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-04T00:08:49.080Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-04T00:08:49.346Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-04T00:08:49.613Z] [ 68%] Linking C shared library libcsdk.so [2023-07-04T00:08:49.880Z] [ 68%] Built target csdk [2023-07-04T00:08:49.880Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-04T00:08:50.461Z] [ 72%] Linking C executable template [2023-07-04T00:08:50.727Z] [ 72%] Built target template [2023-07-04T00:08:50.727Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-04T00:08:50.994Z] [ 76%] Linking C executable device-counter [2023-07-04T00:08:51.261Z] [ 76%] Built target device-counter [2023-07-04T00:08:51.261Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-04T00:08:51.845Z] [ 80%] Linking C executable device-random [2023-07-04T00:08:51.845Z] [ 80%] Built target device-random [2023-07-04T00:08:52.113Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-04T00:08:52.386Z] [ 84%] Linking C executable device-gyro [2023-07-04T00:08:52.652Z] [ 84%] Built target device-gyro [2023-07-04T00:08:52.652Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-04T00:08:52.919Z] [ 88%] Linking C executable device-bitfields [2023-07-04T00:08:53.186Z] [ 88%] Built target device-bitfields [2023-07-04T00:08:53.453Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-04T00:08:53.719Z] [ 92%] Linking C executable template-discovery [2023-07-04T00:08:53.986Z] [ 92%] Built target template-discovery [2023-07-04T00:08:54.252Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-04T00:08:54.520Z] [ 96%] Linking C executable device-file [2023-07-04T00:08:54.787Z] [ 96%] Built target device-file [2023-07-04T00:08:54.787Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-04T00:08:55.369Z] [100%] Linking C executable device-terminal [2023-07-04T00:08:55.636Z] [100%] Built target device-terminal [2023-07-04T00:08:55.636Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.636Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] [ 68%] Built target csdk [2023-07-04T00:08:55.902Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] [ 72%] Built target template [2023-07-04T00:08:55.902Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] [ 76%] Built target device-counter [2023-07-04T00:08:55.902Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] [ 80%] Built target device-random [2023-07-04T00:08:55.902Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] [ 84%] Built target device-gyro [2023-07-04T00:08:55.902Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:55.902Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] [ 88%] Built target device-bitfields [2023-07-04T00:08:56.167Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] [ 92%] Built target template-discovery [2023-07-04T00:08:56.167Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] [ 96%] Built target device-file [2023-07-04T00:08:56.167Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] [100%] Built target device-terminal [2023-07-04T00:08:56.167Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:56.167Z] Install the project... [2023-07-04T00:08:56.167Z] -- Install configuration: "Release" [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-04T00:08:56.167Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/devsdk [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-04T00:08:56.167Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-04T00:08:56.167Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-04T00:08:57.576Z] Removing intermediate container ef817c5b8fea [2023-07-04T00:08:57.576Z] ---> 8f8adc027f9b [2023-07-04T00:08:57.576Z] Step 14/21 : FROM ${BASE} [2023-07-04T00:08:57.576Z] ---> 295cd00e64f4 [2023-07-04T00:08:57.576Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-04T00:08:57.576Z] ---> Running in bea46a053110 [2023-07-04T00:08:57.845Z] Removing intermediate container bea46a053110 [2023-07-04T00:08:57.845Z] ---> b34abe144d41 [2023-07-04T00:08:57.845Z] 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-07-04T00:08:57.845Z] ---> Running in 8ae591832f49 [2023-07-04T00:08:58.806Z] Connecting to iotech.jfrog.io (52.208.202.221:443) [2023-07-04T00:08:59.398Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:08:59.399Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:08:59.399Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:08:59.984Z] Removing intermediate container 8ae591832f49 [2023-07-04T00:08:59.984Z] ---> 170a02a16830 [2023-07-04T00:08:59.984Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:08:59.984Z] ---> Running in bfaf54d94df1 [2023-07-04T00:09:01.391Z] Removing intermediate container bfaf54d94df1 [2023-07-04T00:09:01.391Z] ---> 18ac081b3396 [2023-07-04T00:09:01.391Z] 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-07-04T00:09:01.658Z] ---> Running in ad3ba20977d3 [2023-07-04T00:09:02.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:02.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:03.150Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:04.103Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:09:04.103Z] (1/7) Installing curl (8.1.2-r0) [2023-07-04T00:09:04.103Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-04T00:09:04.103Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-04T00:09:04.103Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-04T00:09:05.055Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-04T00:09:05.055Z] (6/7) Installing libuuid (2.38-r1) [2023-07-04T00:09:05.055Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T00:09:05.634Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:09:05.902Z] OK: 281 MiB in 83 packages [2023-07-04T00:09:06.858Z] Removing intermediate container ad3ba20977d3 [2023-07-04T00:09:06.858Z] ---> 934384760e66 [2023-07-04T00:09:06.859Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-04T00:09:08.262Z] ---> 118e90a110fd [2023-07-04T00:09:08.262Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-04T00:09:08.529Z] ---> 3993f7f49deb [2023-07-04T00:09:08.529Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-04T00:09:09.107Z] ---> bb7d6e8f272b [2023-07-04T00:09:09.107Z] Successfully built bb7d6e8f272b [2023-07-04T00:09:09.107Z] 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-07-04T00:09:09.500Z] + docker inspect -f . ci-base-image-arm64 [2023-07-04T00:09:09.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:09:09.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-389 does not seem to be running inside a container [2023-07-04T00:09:09.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/50 -v /w/workspace/device-sdk-c/50:/w/workspace/device-sdk-c/50:rw,z -v /w/workspace/device-sdk-c/50@tmp:/w/workspace/device-sdk-c/50@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-07-04T00:09:10.960Z] $ docker top 7633f81ef4272e70188694b763ae635faec0f7dc3aeee227a61b5f2bf666d282 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-04T00:09:11.773Z] + make test [2023-07-04T00:09:11.773Z] echo "make test" [2023-07-04T00:09:11.773Z] make test [Pipeline] } [2023-07-04T00:09:11.791Z] $ docker stop --time=1 7633f81ef4272e70188694b763ae635faec0f7dc3aeee227a61b5f2bf666d282 [2023-07-04T00:09:13.370Z] $ docker rm -f --volumes 7633f81ef4272e70188694b763ae635faec0f7dc3aeee227a61b5f2bf666d282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-04T00:09:13.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-04T00:09:14.214Z] + ls -al . [2023-07-04T00:09:14.214Z] total 208 [2023-07-04T00:09:14.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 00:06 . [2023-07-04T00:09:14.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:06 .. [2023-07-04T00:09:14.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 00:06 .git [2023-07-04T00:09:14.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:06 .github [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 4 00:06 .gitignore [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 4 00:06 Attribution.txt [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 4 00:06 CHANGES [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 4 00:06 Doxyfile [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 00:06 GOVERNANCE.md [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 4 00:06 Jenkinsfile [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 4 00:06 LICENSE [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 4 00:06 Makefile [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 4 00:06 OWNERS.md [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 4 00:06 README.IOT.md [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 4 00:06 README.md [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 4 00:06 README.v3.md [2023-07-04T00:09:14.214Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 4 00:05 VERSION [2023-07-04T00:09:14.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:06 docs [2023-07-04T00:09:14.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:06 include [2023-07-04T00:09:14.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 00:06 scripts [2023-07-04T00:09:14.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 00:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:09:14.546Z] + 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=e7fd64e96379a16422cca1ca57683b7b4003cc62 --label arch=arm64 --label version=3.1.0-dev.1 . [2023-07-04T00:09:14.817Z] Sending build context to Docker daemon 2.87MB [2023-07-04T00:09:14.817Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-04T00:09:14.817Z] Step 2/17 : FROM ${BASE} [2023-07-04T00:09:14.817Z] ---> bb7d6e8f272b [2023-07-04T00:09:14.817Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-04T00:09:15.084Z] ---> Running in 88350c241359 [2023-07-04T00:09:15.350Z] Removing intermediate container 88350c241359 [2023-07-04T00:09:15.351Z] ---> 231d7b108479 [2023-07-04T00:09:15.351Z] 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-07-04T00:09:15.351Z] ---> Running in cc1c06e50b90 [2023-07-04T00:09:16.308Z] Connecting to iotech.jfrog.io (54.76.209.100:443) [2023-07-04T00:09:16.573Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T00:09:16.573Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T00:09:16.573Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T00:09:17.542Z] Removing intermediate container cc1c06e50b90 [2023-07-04T00:09:17.542Z] ---> 785702b3cac7 [2023-07-04T00:09:17.542Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T00:09:17.542Z] ---> Running in f1562f8a5728 [2023-07-04T00:09:18.953Z] Removing intermediate container f1562f8a5728 [2023-07-04T00:09:18.953Z] ---> 3a629c58bf92 [2023-07-04T00:09:18.953Z] 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-07-04T00:09:18.953Z] ---> Running in 27d850c92763 [2023-07-04T00:09:19.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:20.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:20.835Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T00:09:21.804Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T00:09:21.804Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:09:21.804Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T00:09:21.804Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T00:09:22.394Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T00:09:22.665Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-04T00:09:22.665Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T00:09:22.665Z] (7/11) Installing libblkid (2.38-r1) [2023-07-04T00:09:22.665Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-04T00:09:22.665Z] (9/11) Installing libmount (2.38-r1) [2023-07-04T00:09:22.665Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-04T00:09:22.665Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-04T00:09:22.665Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T00:09:22.665Z] OK: 287 MiB in 92 packages [2023-07-04T00:09:24.086Z] Removing intermediate container 27d850c92763 [2023-07-04T00:09:24.086Z] ---> f7262a9a3c57 [2023-07-04T00:09:24.086Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-04T00:09:24.672Z] ---> 1b1b3e7128af [2023-07-04T00:09:24.672Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-04T00:09:25.254Z] ---> de1e89344fbb [2023-07-04T00:09:25.254Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-04T00:09:25.835Z] ---> d214eafd919d [2023-07-04T00:09:25.835Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-04T00:09:26.103Z] ---> a221136c5948 [2023-07-04T00:09:26.103Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-04T00:09:26.687Z] ---> 729812f4ff46 [2023-07-04T00:09:26.687Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-04T00:09:26.957Z] ---> 0fe43d267794 [2023-07-04T00:09:26.957Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-04T00:09:27.222Z] ---> Running in 76c09a46014e [2023-07-04T00:09:27.488Z] Removing intermediate container 76c09a46014e [2023-07-04T00:09:27.488Z] ---> 5bbf1fa4c6d4 [2023-07-04T00:09:27.488Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-04T00:09:27.488Z] ---> Running in c2e07ace6bd1 [2023-07-04T00:09:27.754Z] Removing intermediate container c2e07ace6bd1 [2023-07-04T00:09:27.754Z] ---> 9dcd8dc1bb70 [2023-07-04T00:09:27.754Z] Step 15/17 : LABEL arch=arm64 [2023-07-04T00:09:27.754Z] ---> Running in 96843f9b9de8 [2023-07-04T00:09:28.021Z] Removing intermediate container 96843f9b9de8 [2023-07-04T00:09:28.021Z] ---> 125b4772b222 [2023-07-04T00:09:28.021Z] Step 16/17 : LABEL git_sha=e7fd64e96379a16422cca1ca57683b7b4003cc62 [2023-07-04T00:09:28.287Z] ---> Running in 0440228c442a [2023-07-04T00:09:28.565Z] Removing intermediate container 0440228c442a [2023-07-04T00:09:28.565Z] ---> faa8d76852a9 [2023-07-04T00:09:28.565Z] Step 17/17 : LABEL version=3.1.0-dev.1 [2023-07-04T00:09:28.565Z] ---> Running in 5adced3a4b17 [2023-07-04T00:09:28.831Z] Removing intermediate container 5adced3a4b17 [2023-07-04T00:09:28.831Z] ---> bcffe75e0149 [2023-07-04T00:09:28.831Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-04T00:09:28.831Z] Successfully built bcffe75e0149 [2023-07-04T00:09:28.831Z] 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-07-04T00:09:29.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T00:09:29.259Z] [2023-07-04T00:09:29.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:09:29.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T00:09:29.586Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-04T00:09:29.586Z] 8998bd30e6a1: Pulling fs layer [2023-07-04T00:09:29.586Z] 04944245beec: Pulling fs layer [2023-07-04T00:09:29.586Z] 699f458cf7ca: Pulling fs layer [2023-07-04T00:09:29.586Z] 765212b225bb: Pulling fs layer [2023-07-04T00:09:29.586Z] f23df028b6ca: Pulling fs layer [2023-07-04T00:09:29.586Z] d65c8cfc05b1: Pulling fs layer [2023-07-04T00:09:29.586Z] 2437ff75d9bd: Pulling fs layer [2023-07-04T00:09:29.586Z] f23df028b6ca: Waiting [2023-07-04T00:09:29.586Z] d65c8cfc05b1: Waiting [2023-07-04T00:09:29.586Z] 2437ff75d9bd: Waiting [2023-07-04T00:09:29.586Z] 765212b225bb: Waiting [2023-07-04T00:09:29.852Z] 04944245beec: Verifying Checksum [2023-07-04T00:09:29.852Z] 04944245beec: Download complete [2023-07-04T00:09:29.852Z] 765212b225bb: Verifying Checksum [2023-07-04T00:09:29.852Z] 765212b225bb: Download complete [2023-07-04T00:09:29.852Z] f23df028b6ca: Download complete [2023-07-04T00:09:29.852Z] d65c8cfc05b1: Verifying Checksum [2023-07-04T00:09:29.852Z] d65c8cfc05b1: Download complete [2023-07-04T00:09:29.852Z] 699f458cf7ca: Verifying Checksum [2023-07-04T00:09:29.852Z] 699f458cf7ca: Download complete [2023-07-04T00:09:30.436Z] 8998bd30e6a1: Verifying Checksum [2023-07-04T00:09:30.436Z] 8998bd30e6a1: Download complete [2023-07-04T00:09:32.378Z] 2437ff75d9bd: Verifying Checksum [2023-07-04T00:09:32.378Z] 2437ff75d9bd: Download complete [2023-07-04T00:09:34.325Z] 8998bd30e6a1: Pull complete [2023-07-04T00:09:34.591Z] 04944245beec: Pull complete [2023-07-04T00:09:35.998Z] 699f458cf7ca: Pull complete [2023-07-04T00:09:35.998Z] 765212b225bb: Pull complete [2023-07-04T00:09:36.582Z] f23df028b6ca: Pull complete [2023-07-04T00:09:36.848Z] d65c8cfc05b1: Pull complete [2023-07-04T00:09:51.831Z] 2437ff75d9bd: Pull complete [2023-07-04T00:09:51.831Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-04T00:09:51.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T00:09:51.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:09:52.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-389 does not seem to be running inside a container [2023-07-04T00:09:52.069Z] $ 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/50 -v /w/workspace/device-sdk-c/50:/w/workspace/device-sdk-c/50:rw,z -v /w/workspace/device-sdk-c/50@tmp:/w/workspace/device-sdk-c/50@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-07-04T00:09:54.320Z] $ docker top a519117d604d40102a2f4a7d5bab02db95f8c4db9d72f0581cb3c30d31a57f65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:09:54.813Z] ---> job-cost.sh [2023-07-04T00:09:55.077Z] lf-activate-venv: SKIPPING [2023-07-04T00:09:55.077Z] INFO: No Stack... [2023-07-04T00:09:55.342Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-04T00:09:56.294Z] INFO: Archiving Costs [Pipeline] sh [2023-07-04T00:09:56.610Z] + cut -d, -f6 [2023-07-04T00:09:56.610Z] + cat /w/workspace/device-sdk-c/50/archives/cost.csv [Pipeline] lock [2023-07-04T00:09:56.664Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [2023-07-04T00:09:56.674Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] did not exist. Created. [2023-07-04T00:09:56.674Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-04T00:09:57.007Z] /w/workspace/device-sdk-c/50@tmp/durable-aa4353aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-04T00:09:57.337Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-04T00:09:57.358Z] Warning: overwriting stash ‘stack-cost’ [2023-07-04T00:09:57.755Z] Stashed 1 file(s) [Pipeline] } [2023-07-04T00:09:57.765Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-04T00:09:57.785Z] $ docker stop --time=1 a519117d604d40102a2f4a7d5bab02db95f8c4db9d72f0581cb3c30d31a57f65 [2023-07-04T00:09:59.259Z] $ docker rm -f --volumes a519117d604d40102a2f4a7d5bab02db95f8c4db9d72f0581cb3c30d31a57f65 [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-07-04T00:09:59.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-04T00:09:59.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:00.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:10:00.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:10:00.271Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:10:00.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-04T00:10:00.723Z] $ docker top 29468939d2a7d52ea6cc249762105b400a11037c9cf4763c5aa3e6cad7ad4597 -eo pid,comm [2023-07-04T00:10:00.771Z] 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-07-04T00:10:00.771Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-04T00:10:00.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T00:10:00.810Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T00:10:00.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T00:10:00.920Z] $ docker exec 29468939d2a7d52ea6cc249762105b400a11037c9cf4763c5aa3e6cad7ad4597 ssh-agent [2023-07-04T00:10:01.020Z] SSH_AUTH_SOCK=/tmp/ssh-6nUZps3w2cT8/agent.33 [2023-07-04T00:10:01.020Z] SSH_AGENT_PID=39 [2023-07-04T00:10:01.025Z] Running ssh-add (command line suppressed) [2023-07-04T00:10:01.124Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16547369774275332523.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16547369774275332523.key) [2023-07-04T00:10:01.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T00:10:01.429Z] + git semver tag [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,618 [run_tag] DEBUG tag force:False [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,618 [check_head_tag] DEBUG check head tag [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,619 [execute] INFO git cat-file --batch-check [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,623 [execute] INFO git cat-file --batch [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:01.688Z] 2023-07-04 00:10:01,633 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-07-04T00:10:01.689Z] 2023-07-04 00:10:01,633 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-07-04T00:10:01.689Z] 2023-07-04 00:10:01,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:01.689Z] 3.1.0-dev.1 [Pipeline] } [2023-07-04T00:10:01.698Z] $ docker exec --env ******** --env ******** 29468939d2a7d52ea6cc249762105b400a11037c9cf4763c5aa3e6cad7ad4597 ssh-agent -k [2023-07-04T00:10:01.784Z] unset SSH_AUTH_SOCK; [2023-07-04T00:10:01.784Z] unset SSH_AGENT_PID; [2023-07-04T00:10:01.784Z] echo Agent pid 39 killed; [2023-07-04T00:10:01.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-04T00:10:02.099Z] + git semver [Pipeline] } [2023-07-04T00:10:02.371Z] $ docker stop --time=1 29468939d2a7d52ea6cc249762105b400a11037c9cf4763c5aa3e6cad7ad4597 [2023-07-04T00:10:03.671Z] $ docker rm -f --volumes 29468939d2a7d52ea6cc249762105b400a11037c9cf4763c5aa3e6cad7ad4597 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:04.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-04T00:10:04.072Z] [2023-07-04T00:10:04.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:04.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-04T00:10:04.370Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-04T00:10:04.370Z] ab5ef0e58194: Pulling fs layer [2023-07-04T00:10:04.370Z] 9712f1f96733: Pulling fs layer [2023-07-04T00:10:04.370Z] 63f879dbbcfc: Pulling fs layer [2023-07-04T00:10:04.370Z] 0d9ebad4ef96: Pulling fs layer [2023-07-04T00:10:04.370Z] e9a5061849ea: Pulling fs layer [2023-07-04T00:10:04.370Z] d747dcd14b5f: Pulling fs layer [2023-07-04T00:10:04.370Z] 2de7ff778b66: Pulling fs layer [2023-07-04T00:10:04.370Z] e9a5061849ea: Waiting [2023-07-04T00:10:04.370Z] d747dcd14b5f: Waiting [2023-07-04T00:10:04.370Z] 0d9ebad4ef96: Waiting [2023-07-04T00:10:04.629Z] 9712f1f96733: Download complete [2023-07-04T00:10:04.888Z] 63f879dbbcfc: Verifying Checksum [2023-07-04T00:10:04.888Z] 63f879dbbcfc: Download complete [2023-07-04T00:10:04.888Z] e9a5061849ea: Verifying Checksum [2023-07-04T00:10:04.888Z] e9a5061849ea: Download complete [2023-07-04T00:10:04.888Z] d747dcd14b5f: Verifying Checksum [2023-07-04T00:10:04.888Z] d747dcd14b5f: Download complete [2023-07-04T00:10:04.888Z] ab5ef0e58194: Verifying Checksum [2023-07-04T00:10:04.888Z] ab5ef0e58194: Download complete [2023-07-04T00:10:05.145Z] 0d9ebad4ef96: Verifying Checksum [2023-07-04T00:10:05.145Z] 0d9ebad4ef96: Download complete [2023-07-04T00:10:05.145Z] 2de7ff778b66: Verifying Checksum [2023-07-04T00:10:05.145Z] 2de7ff778b66: Download complete [2023-07-04T00:10:08.428Z] ab5ef0e58194: Pull complete [2023-07-04T00:10:08.428Z] 9712f1f96733: Pull complete [2023-07-04T00:10:08.686Z] 63f879dbbcfc: Pull complete [2023-07-04T00:10:12.875Z] 0d9ebad4ef96: Pull complete [2023-07-04T00:10:12.875Z] e9a5061849ea: Pull complete [2023-07-04T00:10:12.875Z] d747dcd14b5f: Pull complete [2023-07-04T00:10:13.811Z] 2de7ff778b66: Pull complete [2023-07-04T00:10:13.811Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-04T00:10:13.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-04T00:10:13.811Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:10:13.888Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:10:13.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-04T00:10:18.133Z] $ docker top 2eec5a22a1f18ad82887de7dcbd907b537e2e32a45c943275edf6dcab59ad2bc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-04T00:10:18.205Z] provisioning config files... [2023-07-04T00:10:18.211Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4510562187086066770tmp [2023-07-04T00:10:18.220Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15581572211509179820tmp [2023-07-04T00:10:18.228Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8997125288049885655tmp [Pipeline] { [Pipeline] echo [2023-07-04T00:10:18.243Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:18.534Z] ---> sigul-configuration.sh [2023-07-04T00:10:18.534Z] gpg: directory `/root/.gnupg' created [2023-07-04T00:10:18.534Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-04T00:10:18.534Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-04T00:10:18.534Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-04T00:10:18.534Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-04T00:10:18.534Z] gpg: CAST5 encrypted data [2023-07-04T00:10:18.534Z] gpg: encrypted with 1 passphrase [2023-07-04T00:10:18.534Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-04T00:10:18.825Z] + mkdir /home/jenkins [2023-07-04T00:10:18.825Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-04T00:10:19.111Z] + 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-07-04T00:10:19.120Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:19.406Z] ---> sigul-install.sh [2023-07-04T00:10:19.406Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-04T00:10:19.690Z] + git tag --list [2023-07-04T00:10:19.690Z] 0.7.0 [2023-07-04T00:10:19.690Z] 0.7.1 [2023-07-04T00:10:19.690Z] 1.0.0 [2023-07-04T00:10:19.690Z] v1.0.1 [2023-07-04T00:10:19.690Z] v1.0.2 [2023-07-04T00:10:19.690Z] v1.0.3 [2023-07-04T00:10:19.690Z] v1.1.0 [2023-07-04T00:10:19.690Z] v1.1.1 [2023-07-04T00:10:19.690Z] v1.2.0 [2023-07-04T00:10:19.690Z] v1.2.1 [2023-07-04T00:10:19.690Z] v1.2.2 [2023-07-04T00:10:19.690Z] v1.3.0 [2023-07-04T00:10:19.690Z] v1.3.1 [2023-07-04T00:10:19.690Z] v2.0.0 [2023-07-04T00:10:19.690Z] v2.1.0 [2023-07-04T00:10:19.690Z] v2.2.0 [2023-07-04T00:10:19.690Z] v2.3.0 [2023-07-04T00:10:19.690Z] v3.0 [2023-07-04T00:10:19.690Z] v3.0.0 [2023-07-04T00:10:19.690Z] v3.0.1 [2023-07-04T00:10:19.690Z] v3.1.0-dev.1 [Pipeline] sh [2023-07-04T00:10:19.975Z] + lftools sign git-tag v3.1.0-dev.1 [2023-07-04T00:10:20.544Z] Signing Git tag with Sigul... [2023-07-04T00:10:20.544Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-07-04T00:10:20.811Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:21.093Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-04T00:10:21.101Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-04T00:10:21.115Z] $ docker stop --time=1 2eec5a22a1f18ad82887de7dcbd907b537e2e32a45c943275edf6dcab59ad2bc [2023-07-04T00:10:22.501Z] $ docker rm -f --volumes 2eec5a22a1f18ad82887de7dcbd907b537e2e32a45c943275edf6dcab59ad2bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-04T00:10:22.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-04T00:10:22.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:23.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:10:23.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:10:23.281Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:10:23.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-04T00:10:23.620Z] $ docker top 514d2368fa68c6131492ee65f2ac3615b5fc608590d168e3c8321a5acd352df3 -eo pid,comm [2023-07-04T00:10:23.666Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-04T00:10:23.666Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-04T00:10:23.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T00:10:23.702Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T00:10:23.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T00:10:23.811Z] $ docker exec 514d2368fa68c6131492ee65f2ac3615b5fc608590d168e3c8321a5acd352df3 ssh-agent [2023-07-04T00:10:23.920Z] SSH_AUTH_SOCK=/tmp/ssh-lEc0XLw0X8L9/agent.33 [2023-07-04T00:10:23.920Z] SSH_AGENT_PID=39 [2023-07-04T00:10:23.926Z] Running ssh-add (command line suppressed) [2023-07-04T00:10:24.031Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7320398526267610832.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7320398526267610832.key) [2023-07-04T00:10:24.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T00:10:24.332Z] + git semver bump pre [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,505 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,506 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,506 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,506 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,508 [execute] INFO git cat-file --batch-check [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,514 [execute] INFO git cat-file --batch [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-04T00:10:24.593Z] 2023-07-04 00:10:24,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:24.593Z] 3.1.0-dev.2 [Pipeline] } [2023-07-04T00:10:24.601Z] $ docker exec --env ******** --env ******** 514d2368fa68c6131492ee65f2ac3615b5fc608590d168e3c8321a5acd352df3 ssh-agent -k [2023-07-04T00:10:24.700Z] unset SSH_AUTH_SOCK; [2023-07-04T00:10:24.701Z] unset SSH_AGENT_PID; [2023-07-04T00:10:24.701Z] echo Agent pid 39 killed; [2023-07-04T00:10:24.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-04T00:10:25.031Z] + git semver [Pipeline] } [2023-07-04T00:10:25.302Z] $ docker stop --time=1 514d2368fa68c6131492ee65f2ac3615b5fc608590d168e3c8321a5acd352df3 [2023-07-04T00:10:26.576Z] $ docker rm -f --volumes 514d2368fa68c6131492ee65f2ac3615b5fc608590d168e3c8321a5acd352df3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-04T00:10:26.926Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-04T00:10:26.926Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:27.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T00:10:27.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:10:27.293Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:10:27.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-04T00:10:27.670Z] $ docker top c3bd0368f9bba015b0d2de8e0b1c18c55ab7df91ae1064985ee8028adffcae33 -eo pid,comm [2023-07-04T00:10:27.722Z] 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-07-04T00:10:27.722Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-04T00:10:27.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T00:10:27.757Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T00:10:27.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T00:10:27.888Z] $ docker exec c3bd0368f9bba015b0d2de8e0b1c18c55ab7df91ae1064985ee8028adffcae33 ssh-agent [2023-07-04T00:10:28.006Z] SSH_AUTH_SOCK=/tmp/ssh-8vLHiBCuZCtD/agent.31 [2023-07-04T00:10:28.006Z] SSH_AGENT_PID=37 [2023-07-04T00:10:28.012Z] Running ssh-add (command line suppressed) [2023-07-04T00:10:28.113Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14091652178952166126.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14091652178952166126.key) [2023-07-04T00:10:28.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T00:10:28.413Z] + git semver push [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,599 [run_push] DEBUG push [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,600 [execute] INFO git cat-file --batch-check [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,604 [execute] INFO git rev-list 284a44722ceec502dcc6d6da85e77b404ec47900 -- [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,605 [execute] DEBUG Popen(['git', 'rev-list', '284a44722ceec502dcc6d6da85e77b404ec47900', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,612 [execute] INFO git fetch -v origin [2023-07-04T00:10:28.671Z] 2023-07-04 00:10:28,612 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-04T00:10:29.239Z] 2023-07-04 00:10:29,071 [run_push] DEBUG no remote changes detected [2023-07-04T00:10:29.239Z] 2023-07-04 00:10:29,071 [execute] INFO git push origin semver [2023-07-04T00:10:29.239Z] 2023-07-04 00:10:29,072 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-04T00:10:30.178Z] 2023-07-04 00:10:29,898 [run_push] DEBUG push all version tags [2023-07-04T00:10:30.178Z] 2023-07-04 00:10:29,898 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-04T00:10:30.178Z] 2023-07-04 00:10:29,899 [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-07-04T00:10:30.747Z] 2023-07-04 00:10:30,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-04T00:10:30.747Z] 3.1.0-dev.2 [Pipeline] } [2023-07-04T00:10:30.755Z] $ docker exec --env ******** --env ******** c3bd0368f9bba015b0d2de8e0b1c18c55ab7df91ae1064985ee8028adffcae33 ssh-agent -k [2023-07-04T00:10:30.854Z] unset SSH_AUTH_SOCK; [2023-07-04T00:10:30.854Z] unset SSH_AGENT_PID; [2023-07-04T00:10:30.854Z] echo Agent pid 37 killed; [2023-07-04T00:10:30.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-04T00:10:31.164Z] + git semver [Pipeline] } [2023-07-04T00:10:31.434Z] $ docker stop --time=1 c3bd0368f9bba015b0d2de8e0b1c18c55ab7df91ae1064985ee8028adffcae33 [2023-07-04T00:10:32.720Z] $ docker rm -f --volumes c3bd0368f9bba015b0d2de8e0b1c18c55ab7df91ae1064985ee8028adffcae33 [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-07-04T00:10:33.245Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-07-04T00:10:33.245Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-04T00:10:33.245Z] total 16 [2023-07-04T00:10:33.245Z] drwxr-xr-x 3 root root 4096 Jul 4 00:06 . [2023-07-04T00:10:33.245Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 00:10 .. [2023-07-04T00:10:33.245Z] drwxr-xr-x 2 root root 4096 Jul 4 00:06 cost [2023-07-04T00:10:33.245Z] -rw-r--r-- 1 root root 83 Jul 4 00:06 cost.csv [2023-07-04T00:10:33.245Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-04T00:10:33.245Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-04T00:10:33.245Z] total 16 [2023-07-04T00:10:33.245Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 00:06 . [2023-07-04T00:10:33.245Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 00:10 .. [2023-07-04T00:10:33.245Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 00:06 cost [2023-07-04T00:10:33.245Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 4 00:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:33.535Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:34.400Z] ---> package-listing.sh [2023-07-04T00:10:34.400Z] ++ facter osfamily [2023-07-04T00:10:34.400Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-04T00:10:34.660Z] + OS_FAMILY=debian [2023-07-04T00:10:34.660Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-07-04T00:10:34.660Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-04T00:10:34.660Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-04T00:10:34.660Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-04T00:10:34.660Z] + PACKAGES=/tmp/packages_start.txt [2023-07-04T00:10:34.660Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-07-04T00:10:34.660Z] + PACKAGES=/tmp/packages_end.txt [2023-07-04T00:10:34.660Z] + case "${OS_FAMILY}" in [2023-07-04T00:10:34.660Z] + dpkg -l [2023-07-04T00:10:34.660Z] + grep '^ii' [2023-07-04T00:10:34.660Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-04T00:10:34.660Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-04T00:10:34.660Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-04T00:10:34.660Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-07-04T00:10:34.660Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-07-04T00:10:34.660Z] + 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-07-04T00:10:34.670Z] 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-07-04T00:10:34.944Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T00:10:35.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T00:10:35.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T00:10:35.567Z] prd-ubuntu20.04-docker-8c-8g-388 does not seem to be running inside a container [2023-07-04T00:10:35.593Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-04T00:10:35.804Z] $ docker top ef33614e2d0fdb3f56489b94687a987472fe7b640274173cc308530aea58a862 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-04T00:10:36.149Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-04T00:10:36.434Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-04T00:10:36.720Z] + ls /var/log/sa-host [2023-07-04T00:10:36.720Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T00:10:36.872Z] provisioning config files... [2023-07-04T00:10:36.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3311444928989300021tmp [Pipeline] { [Pipeline] echo [2023-07-04T00:10:36.896Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:37.179Z] ---> create-netrc.sh [Pipeline] } [2023-07-04T00:10:37.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:37.511Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-04T00:10:37.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:37.802Z] ---> sudo-logs.sh [2023-07-04T00:10:37.802Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-04T00:10:37.832Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:38.114Z] ---> job-cost.sh [2023-07-04T00:10:38.114Z] lf-activate-venv: SKIPPING [2023-07-04T00:10:38.114Z] DEBUG: total: 0.2199999988079071 [2023-07-04T00:10:38.114Z] INFO: Retrieving Stack Cost... [2023-07-04T00:10:38.374Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-04T00:10:38.634Z] INFO: Archiving Costs [Pipeline] echo [2023-07-04T00:10:38.644Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T00:10:38.924Z] ---> logs-deploy.sh [2023-07-04T00:10:38.924Z] lf-activate-venv: SKIPPING [2023-07-04T00:10:38.925Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/50 [2023-07-04T00:10:38.925Z] INFO: archiving workspace using pattern(s): [2023-07-04T00:10:39.864Z] Archives upload complete. [2023-07-04T00:10:39.864Z] INFO: archiving logs to Nexus