Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad65e45309f8995a17d27a3f59962ea35e988788 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-ssh3862817830803795048.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1848167321835482398.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7370647046421996971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2977827419198744807.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-ssh12966451392962880866.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16751 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ad65e45309f8995a17d27a3f59962ea35e988788 (main) Commit message: "docs: update changelog and version number for Minnesota (#457)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 > git rev-list --no-walk 31953d2017fd3e9016dfece535bce38e006976ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T18:18:22.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T18:18:22.411Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T18:18:22.431Z] ========================================================= [2023-05-24T18:18:22.431Z] EdgeX Global Pipelines Version Info [2023-05-24T18:18:22.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:18:23.148Z] ------------------- [2023-05-24T18:18:23.148Z] stable info: [2023-05-24T18:18:23.148Z] ------------------- [2023-05-24T18:18:23.148Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T18:18:23.148Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:18:23.148Z] Message: update stable to v1.0.249 [2023-05-24T18:18:23.720Z] ------------------- [2023-05-24T18:18:23.720Z] experimental info: [2023-05-24T18:18:23.720Z] ------------------- [2023-05-24T18:18:23.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T18:18:23.720Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:18:23.720Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T18:18:23.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-24T18:18:23.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-24T18:18:23.889Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T18:18:23.898Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T18:18:23.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T18:18:23.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-24T18:18:23.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-24T18:18:23.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T18:18:23.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T18:18:23.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-24T18:18:23.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T18:18:23.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T18:18:24.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T18:18:24.010Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:18:24.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T18:18:24.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T18:18:24.043Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T18:18:24.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-24T18:18:24.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-24T18:18:24.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-24T18:18:24.084Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T18:18:24.094Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad65e45 [Pipeline] echo [2023-05-24T18:18:24.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:18:24.158Z] provisioning config files... [2023-05-24T18:18:24.172Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config737210456461382899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:18:24.474Z] ---> docker-login.sh [2023-05-24T18:18:24.474Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:18:24.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:24.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:24.737Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:24.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:24.737Z] [2023-05-24T18:18:24.737Z] Login Succeeded [2023-05-24T18:18:24.737Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:18:25.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:25.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:25.008Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:25.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:25.008Z] [2023-05-24T18:18:25.008Z] Login Succeeded [2023-05-24T18:18:25.008Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:18:25.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:25.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:25.008Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:25.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:25.008Z] [2023-05-24T18:18:25.008Z] Login Succeeded [2023-05-24T18:18:25.008Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:18:25.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:25.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:25.271Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:25.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:25.271Z] [2023-05-24T18:18:25.271Z] Login Succeeded [2023-05-24T18:18:25.271Z] docker.io [2023-05-24T18:18:25.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:25.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:25.531Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:25.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:25.531Z] [2023-05-24T18:18:25.531Z] Login Succeeded [2023-05-24T18:18:25.531Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:18:25.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-05-24T18:18:25.902Z] + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T18:18:25.953Z] -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh [2023-05-24T18:18:26.249Z] + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T18:18:26.263Z] ========================================================= [2023-05-24T18:18:26.263Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T18:18:26.263Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T18:18:26.645Z] + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T18:18:26.657Z] -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh [2023-05-24T18:18:26.946Z] + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T18:18:26.961Z] ========================================================= [2023-05-24T18:18:26.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T18:18:26.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-24T18:18:27.335Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:18:27.335Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T18:18:27.335Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T18:18:27.335Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T18:18:27.335Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T18:18:27.335Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T18:18:27.335Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:18:27.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:18:27.679Z] [2023-05-24T18:18:27.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:18:27.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:18:27.987Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T18:18:27.987Z] b85a868b505f: Pulling fs layer [2023-05-24T18:18:27.987Z] e2be974225ed: Pulling fs layer [2023-05-24T18:18:27.987Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T18:18:27.987Z] 988bab9f4d93: Pulling fs layer [2023-05-24T18:18:27.987Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T18:18:27.987Z] eaf3925da568: Pulling fs layer [2023-05-24T18:18:27.987Z] bab4dde63d76: Pulling fs layer [2023-05-24T18:18:27.987Z] bde34c3a00c8: Pulling fs layer [2023-05-24T18:18:27.987Z] b352a97aabf1: Pulling fs layer [2023-05-24T18:18:27.987Z] 4872d77fe225: Pulling fs layer [2023-05-24T18:18:27.987Z] 5851b861e8e6: Pulling fs layer [2023-05-24T18:18:27.987Z] eaf3925da568: Waiting [2023-05-24T18:18:27.987Z] 988bab9f4d93: Waiting [2023-05-24T18:18:27.987Z] 1469e6f7b9e6: Waiting [2023-05-24T18:18:27.987Z] bab4dde63d76: Waiting [2023-05-24T18:18:27.987Z] bde34c3a00c8: Waiting [2023-05-24T18:18:27.987Z] 4872d77fe225: Waiting [2023-05-24T18:18:27.987Z] e2be974225ed: Download complete [2023-05-24T18:18:27.987Z] 988bab9f4d93: Verifying Checksum [2023-05-24T18:18:27.987Z] 988bab9f4d93: Download complete [2023-05-24T18:18:28.249Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T18:18:28.249Z] 1469e6f7b9e6: Download complete [2023-05-24T18:18:28.249Z] eaf3925da568: Verifying Checksum [2023-05-24T18:18:28.249Z] eaf3925da568: Download complete [2023-05-24T18:18:28.249Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T18:18:28.249Z] 339a4e72a1f5: Download complete [2023-05-24T18:18:28.249Z] bde34c3a00c8: Verifying Checksum [2023-05-24T18:18:28.249Z] bde34c3a00c8: Download complete [2023-05-24T18:18:28.249Z] b352a97aabf1: Download complete [2023-05-24T18:18:28.249Z] 4872d77fe225: Verifying Checksum [2023-05-24T18:18:28.249Z] 4872d77fe225: Download complete [2023-05-24T18:18:28.249Z] 5851b861e8e6: Verifying Checksum [2023-05-24T18:18:28.249Z] 5851b861e8e6: Download complete [2023-05-24T18:18:28.249Z] b85a868b505f: Verifying Checksum [2023-05-24T18:18:28.249Z] b85a868b505f: Download complete [2023-05-24T18:18:28.508Z] bab4dde63d76: Verifying Checksum [2023-05-24T18:18:28.508Z] bab4dde63d76: Download complete [2023-05-24T18:18:29.445Z] b85a868b505f: Pull complete [2023-05-24T18:18:29.705Z] e2be974225ed: Pull complete [2023-05-24T18:18:30.273Z] 339a4e72a1f5: Pull complete [2023-05-24T18:18:30.273Z] 988bab9f4d93: Pull complete [2023-05-24T18:18:30.533Z] 1469e6f7b9e6: Pull complete [2023-05-24T18:18:30.533Z] eaf3925da568: Pull complete [2023-05-24T18:18:32.442Z] bab4dde63d76: Pull complete [2023-05-24T18:18:32.701Z] bde34c3a00c8: Pull complete [2023-05-24T18:18:32.701Z] b352a97aabf1: Pull complete [2023-05-24T18:18:32.701Z] 4872d77fe225: Pull complete [2023-05-24T18:18:32.962Z] 5851b861e8e6: Pull complete [2023-05-24T18:18:32.962Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T18:18:32.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:18:32.962Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:18:33.063Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:18:33.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T18:18:36.549Z] $ docker top cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d -eo pid,comm [2023-05-24T18:18:36.602Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-24T18:18:36.602Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:18:36.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:18:36.637Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:18:36.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:18:36.751Z] $ docker exec cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d ssh-agent [2023-05-24T18:18:36.862Z] SSH_AUTH_SOCK=/tmp/ssh-Vn5UHgYBnscs/agent.33 [2023-05-24T18:18:36.862Z] SSH_AGENT_PID=40 [2023-05-24T18:18:36.868Z] Running ssh-add (command line suppressed) [2023-05-24T18:18:36.964Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11348818671869345738.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11348818671869345738.key) [2023-05-24T18:18:36.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:18:37.268Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T18:18:37.279Z] $ docker exec --env ******** --env ******** cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d ssh-agent -k [2023-05-24T18:18:37.379Z] unset SSH_AUTH_SOCK; [2023-05-24T18:18:37.380Z] unset SSH_AGENT_PID; [2023-05-24T18:18:37.380Z] echo Agent pid 40 killed; [2023-05-24T18:18:37.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T18:18:37.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:18:37.415Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:18:37.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:18:37.525Z] $ docker exec cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d ssh-agent [2023-05-24T18:18:37.642Z] SSH_AUTH_SOCK=/tmp/ssh-6k3RaWwRw3fC/agent.73 [2023-05-24T18:18:37.642Z] SSH_AGENT_PID=79 [2023-05-24T18:18:37.647Z] Running ssh-add (command line suppressed) [2023-05-24T18:18:37.741Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17810420196620079012.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17810420196620079012.key) [2023-05-24T18:18:37.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:18:38.046Z] + git semver init [2023-05-24T18:18:38.306Z] 2023-05-24 18:18:38,242 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T18:18:38.306Z] 2023-05-24 18:18:38,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-24T18:18:38.306Z] 2023-05-24 18:18:38,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-24T18:18:38.306Z] 2023-05-24 18:18:38,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:18:39.244Z] 2023-05-24 18:18:39,074 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-05-24T18:18:39.244Z] 2023-05-24 18:18:39,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-05-24T18:18:39.244Z] 2023-05-24 18:18:39,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:18:39.244Z] 2023-05-24 18:18:39,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:18:39.244Z] 2.3.1-dev.11 [Pipeline] } [2023-05-24T18:18:39.253Z] $ docker exec --env ******** --env ******** cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d ssh-agent -k [2023-05-24T18:18:39.354Z] unset SSH_AUTH_SOCK; [2023-05-24T18:18:39.354Z] unset SSH_AGENT_PID; [2023-05-24T18:18:39.355Z] echo Agent pid 79 killed; [2023-05-24T18:18:39.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:18:39.680Z] + git semver [Pipeline] } [2023-05-24T18:18:39.954Z] $ docker stop --time=1 cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d [2023-05-24T18:18:41.237Z] $ docker rm -f --volumes cd13a468e8bc93e164b166cdf12fc9351a634afe833338f30c4b1eed1952c50d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:18:41.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T18:18:41.798Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T18:18:41.800Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.11 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:18:41.926Z] provisioning config files... [2023-05-24T18:18:41.935Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8940313579979160967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:18:42.231Z] ---> docker-login.sh [2023-05-24T18:18:42.231Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:18:42.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:42.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:42.231Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:42.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:42.231Z] [2023-05-24T18:18:42.231Z] Login Succeeded [2023-05-24T18:18:42.231Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:18:42.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:42.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:42.231Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:42.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:42.231Z] [2023-05-24T18:18:42.231Z] Login Succeeded [2023-05-24T18:18:42.231Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:18:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:42.492Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:42.492Z] [2023-05-24T18:18:42.492Z] Login Succeeded [2023-05-24T18:18:42.492Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:18:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:42.492Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:42.492Z] [2023-05-24T18:18:42.492Z] Login Succeeded [2023-05-24T18:18:42.492Z] docker.io [2023-05-24T18:18:42.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:18:42.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:18:42.751Z] Configure a credential helper to remove this warning. See [2023-05-24T18:18:42.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:18:42.751Z] [2023-05-24T18:18:42.751Z] Login Succeeded [2023-05-24T18:18:42.751Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:18:42.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:18:42.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:18:42.826Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-24T18:18:42.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:18:42.837Z] ========================================================= [2023-05-24T18:18:42.837Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-24T18:18:42.837Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:18:43.131Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-05-24T18:18:43.131Z] Sending build context to Docker daemon 4.834MB [2023-05-24T18:18:43.131Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T18:18:43.131Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T18:18:43.131Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-24T18:18:43.131Z] 91d30c5bc195: Pulling fs layer [2023-05-24T18:18:43.131Z] 316e5a4585fb: Pulling fs layer [2023-05-24T18:18:43.391Z] 91d30c5bc195: Verifying Checksum [2023-05-24T18:18:43.391Z] 91d30c5bc195: Download complete [2023-05-24T18:18:43.391Z] 91d30c5bc195: Pull complete [2023-05-24T18:18:43.958Z] 316e5a4585fb: Verifying Checksum [2023-05-24T18:18:43.958Z] 316e5a4585fb: Download complete [2023-05-24T18:18:46.510Z] 316e5a4585fb: Pull complete [2023-05-24T18:18:46.510Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-24T18:18:46.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-24T18:18:46.510Z] ---> e83ffa357ff4 [2023-05-24T18:18:46.510Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:18:48.496Z] ---> Running in 077d089fb869 [2023-05-24T18:18:48.756Z] Connecting to iotech.jfrog.io (52.48.249.80:443) [2023-05-24T18:18:50.137Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:18:50.137Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:18:50.137Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:18:50.137Z] Removing intermediate container 077d089fb869 [2023-05-24T18:18:50.137Z] ---> 06e3e1e4aa56 [2023-05-24T18:18:50.137Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:18:50.137Z] ---> Running in dcbe17f369a7 [2023-05-24T18:18:50.704Z] Removing intermediate container dcbe17f369a7 [2023-05-24T18:18:50.704Z] ---> 3f6d7f354505 [2023-05-24T18:18:50.704Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-24T18:18:50.704Z] ---> Running in 41fc82fce2d0 [2023-05-24T18:18:51.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:18:51.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:18:51.534Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:18:51.794Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:18:51.794Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T18:18:51.794Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T18:18:51.794Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T18:18:52.732Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T18:18:52.732Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T18:18:52.732Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T18:18:52.732Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T18:18:52.732Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T18:18:53.668Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T18:18:53.668Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T18:18:53.668Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T18:18:53.668Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T18:18:53.668Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T18:18:53.668Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T18:18:53.668Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:18:53.668Z] OK: 280 MiB in 90 packages [2023-05-24T18:18:54.241Z] Removing intermediate container 41fc82fce2d0 [2023-05-24T18:18:54.241Z] ---> 3f930fd71a17 [2023-05-24T18:18:54.241Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T18:18:54.241Z] ---> Running in 28c00d7b5611 [2023-05-24T18:18:54.806Z] Removing intermediate container 28c00d7b5611 [2023-05-24T18:18:54.806Z] ---> 57d93e3b87ec [2023-05-24T18:18:54.806Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T18:18:55.063Z] ---> 9cfeefc8abf3 [2023-05-24T18:18:55.063Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T18:18:55.063Z] ---> 8d5189997369 [2023-05-24T18:18:55.063Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T18:18:55.331Z] ---> 9dd3ec641b04 [2023-05-24T18:18:55.331Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T18:18:55.331Z] ---> 66afd3d1b202 [2023-05-24T18:18:55.331Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T18:18:55.591Z] ---> e236ef8a623d [2023-05-24T18:18:55.591Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T18:18:55.591Z] ---> 1734e3e86289 [2023-05-24T18:18:55.591Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T18:18:55.849Z] ---> Running in a030143b3989 [2023-05-24T18:18:56.108Z] + CPPCHECK=false [2023-05-24T18:18:56.108Z] + DOCGEN=false [2023-05-24T18:18:56.108Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T18:18:56.108Z] + '[' 0 -gt 0 ] [2023-05-24T18:18:56.108Z] + readlink -f ./scripts/build.sh [2023-05-24T18:18:56.108Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T18:18:56.108Z] + dirname /tmp/sdk/scripts [2023-05-24T18:18:56.108Z] + ROOT=/tmp/sdk [2023-05-24T18:18:56.108Z] + cd /tmp/sdk [2023-05-24T18:18:56.108Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T18:18:56.108Z] + cd /tmp/sdk/build/release [2023-05-24T18:18:56.108Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T18:18:56.108Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T18:18:56.108Z] -- Detecting C compiler ABI info [2023-05-24T18:18:56.108Z] -- Detecting C compiler ABI info - done [2023-05-24T18:18:56.108Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T18:18:56.108Z] -- Detecting C compile features [2023-05-24T18:18:56.108Z] -- Detecting C compile features - done [2023-05-24T18:18:56.108Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T18:18:56.108Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T18:18:56.366Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T18:18:56.366Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T18:18:56.366Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T18:18:56.366Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T18:18:56.366Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T18:18:56.366Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T18:18:56.366Z] -- /opt/iotech/iot/1.5/include [2023-05-24T18:18:56.366Z] -- C SDK 2.3.1-dev.11 for Linux [2023-05-24T18:18:56.366Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T18:18:56.366Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T18:18:56.366Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T18:18:56.366Z] -- Configuring done [2023-05-24T18:18:56.366Z] -- Generating done [2023-05-24T18:18:56.366Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T18:18:56.366Z] + make all package [2023-05-24T18:18:56.366Z] + tee release.log [2023-05-24T18:18:56.366Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T18:18:56.625Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T18:18:56.882Z] Still waiting to schedule task [2023-05-24T18:18:56.882Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-24T18:18:56.883Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T18:18:56.883Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T18:18:57.141Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T18:18:57.141Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T18:18:57.400Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T18:18:57.658Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T18:18:57.658Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T18:18:57.915Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T18:18:58.172Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T18:18:58.429Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T18:18:58.429Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T18:18:58.688Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T18:18:58.688Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T18:18:58.947Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T18:18:58.947Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T18:18:59.514Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T18:18:59.514Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T18:18:59.514Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T18:18:59.773Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T18:19:00.710Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T18:19:00.710Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T18:19:00.710Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T18:19:00.969Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T18:19:00.969Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T18:19:01.229Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T18:19:01.795Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T18:19:01.795Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T18:19:01.795Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T18:19:02.054Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T18:19:02.321Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T18:19:02.580Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T18:19:02.580Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T18:19:02.838Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T18:19:02.838Z] [ 68%] Built target csdk [2023-05-24T18:19:02.838Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T18:19:03.098Z] [ 72%] Linking C executable template [2023-05-24T18:19:03.098Z] [ 72%] Built target template [2023-05-24T18:19:03.098Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T18:19:03.098Z] [ 76%] Linking C executable device-counter [2023-05-24T18:19:03.357Z] [ 76%] Built target device-counter [2023-05-24T18:19:03.357Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T18:19:03.357Z] [ 80%] Linking C executable device-random [2023-05-24T18:19:03.357Z] [ 80%] Built target device-random [2023-05-24T18:19:03.357Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T18:19:03.617Z] [ 84%] Linking C executable device-gyro [2023-05-24T18:19:03.617Z] [ 84%] Built target device-gyro [2023-05-24T18:19:03.617Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T18:19:03.617Z] [ 88%] Linking C executable device-bitfields [2023-05-24T18:19:03.876Z] [ 88%] Built target device-bitfields [2023-05-24T18:19:03.876Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T18:19:03.876Z] [ 92%] Linking C executable template-discovery [2023-05-24T18:19:03.876Z] [ 92%] Built target template-discovery [2023-05-24T18:19:04.135Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T18:19:04.135Z] [ 96%] Linking C executable device-file [2023-05-24T18:19:04.135Z] [ 96%] Built target device-file [2023-05-24T18:19:04.135Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T18:19:04.395Z] [100%] Linking C executable device-terminal [2023-05-24T18:19:04.395Z] [100%] Built target device-terminal [2023-05-24T18:19:04.395Z] Run CPack packaging tool... [2023-05-24T18:19:04.395Z] CPack: Create package using TGZ [2023-05-24T18:19:04.395Z] CPack: Install projects [2023-05-24T18:19:04.395Z] CPack: - Run preinstall target for: Csdk [2023-05-24T18:19:04.654Z] CPack: - Install project: Csdk [] [2023-05-24T18:19:04.654Z] CPack: Create package [2023-05-24T18:19:04.654Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.11.tar.gz generated. [2023-05-24T18:19:04.654Z] + '[' false '=' true ] [2023-05-24T18:19:04.654Z] + '[' false '=' true ] [2023-05-24T18:19:04.654Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T18:19:04.654Z] + cd /tmp/sdk/build/debug [2023-05-24T18:19:04.654Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T18:19:04.915Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T18:19:04.915Z] -- Detecting C compiler ABI info [2023-05-24T18:19:04.915Z] -- Detecting C compiler ABI info - done [2023-05-24T18:19:04.915Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T18:19:04.915Z] -- Detecting C compile features [2023-05-24T18:19:04.915Z] -- Detecting C compile features - done [2023-05-24T18:19:04.915Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T18:19:04.915Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T18:19:04.915Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T18:19:04.915Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T18:19:04.915Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T18:19:04.915Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T18:19:04.915Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T18:19:04.915Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T18:19:04.915Z] -- /opt/iotech/iot/1.5/include [2023-05-24T18:19:04.915Z] -- C SDK 2.3.1-dev.11 for Linux [2023-05-24T18:19:04.915Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T18:19:04.915Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T18:19:05.175Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T18:19:05.175Z] -- Configuring done [2023-05-24T18:19:05.175Z] -- Generating done [2023-05-24T18:19:05.175Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T18:19:05.175Z] + make [2023-05-24T18:19:05.175Z] + tee debug.log [2023-05-24T18:19:05.175Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T18:19:05.175Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T18:19:05.434Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T18:19:05.434Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T18:19:05.434Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T18:19:05.693Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T18:19:05.693Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T18:19:05.960Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T18:19:05.960Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T18:19:05.960Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T18:19:05.960Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T18:19:06.221Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T18:19:06.221Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T18:19:06.221Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T18:19:06.479Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T18:19:06.479Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T18:19:06.479Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T18:19:06.740Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T18:19:06.740Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T18:19:06.740Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T18:19:06.999Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T18:19:07.000Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T18:19:07.259Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T18:19:07.259Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T18:19:07.259Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T18:19:07.259Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T18:19:07.518Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T18:19:07.777Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T18:19:07.777Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T18:19:07.777Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T18:19:08.038Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T18:19:08.038Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T18:19:08.300Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T18:19:08.300Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T18:19:08.300Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T18:19:08.300Z] [ 68%] Built target csdk [2023-05-24T18:19:08.300Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T18:19:08.559Z] [ 72%] Linking C executable template [2023-05-24T18:19:08.559Z] [ 72%] Built target template [2023-05-24T18:19:08.559Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T18:19:08.559Z] [ 76%] Linking C executable device-counter [2023-05-24T18:19:08.819Z] [ 76%] Built target device-counter [2023-05-24T18:19:08.819Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T18:19:08.819Z] [ 80%] Linking C executable device-random [2023-05-24T18:19:08.819Z] [ 80%] Built target device-random [2023-05-24T18:19:08.819Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T18:19:08.819Z] [ 84%] Linking C executable device-gyro [2023-05-24T18:19:09.079Z] [ 84%] Built target device-gyro [2023-05-24T18:19:09.079Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T18:19:09.079Z] [ 88%] Linking C executable device-bitfields [2023-05-24T18:19:09.079Z] [ 88%] Built target device-bitfields [2023-05-24T18:19:09.079Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T18:19:09.339Z] [ 92%] Linking C executable template-discovery [2023-05-24T18:19:09.339Z] [ 92%] Built target template-discovery [2023-05-24T18:19:09.339Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T18:19:09.339Z] [ 96%] Linking C executable device-file [2023-05-24T18:19:09.339Z] [ 96%] Built target device-file [2023-05-24T18:19:09.339Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T18:19:09.600Z] [100%] Linking C executable device-terminal [2023-05-24T18:19:09.600Z] [100%] Built target device-terminal [2023-05-24T18:19:09.600Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] [ 68%] Built target csdk [2023-05-24T18:19:09.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] [ 72%] Built target template [2023-05-24T18:19:09.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] [ 76%] Built target device-counter [2023-05-24T18:19:09.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] [ 80%] Built target device-random [2023-05-24T18:19:09.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.860Z] [ 84%] Built target device-gyro [2023-05-24T18:19:09.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] [ 88%] Built target device-bitfields [2023-05-24T18:19:09.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] [ 92%] Built target template-discovery [2023-05-24T18:19:09.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] [ 96%] Built target device-file [2023-05-24T18:19:09.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] [100%] Built target device-terminal [2023-05-24T18:19:09.861Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:09.861Z] Install the project... [2023-05-24T18:19:09.861Z] -- Install configuration: "Release" [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T18:19:09.861Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/devsdk [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T18:19:09.861Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T18:19:09.861Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:19:10.427Z] Removing intermediate container a030143b3989 [2023-05-24T18:19:10.427Z] ---> 3c1ae0063bce [2023-05-24T18:19:10.427Z] Step 14/21 : FROM ${BASE} [2023-05-24T18:19:10.427Z] ---> e83ffa357ff4 [2023-05-24T18:19:10.427Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T18:19:10.427Z] ---> Running in 3b1067e2e9e5 [2023-05-24T18:19:10.427Z] Removing intermediate container 3b1067e2e9e5 [2023-05-24T18:19:10.427Z] ---> f1e075d23f61 [2023-05-24T18:19:10.427Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:19:10.427Z] ---> Running in 79c05b3ef36a [2023-05-24T18:19:10.997Z] Connecting to iotech.jfrog.io (52.212.11.232:443) [2023-05-24T18:19:11.257Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:19:11.257Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:19:11.257Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:19:11.515Z] Removing intermediate container 79c05b3ef36a [2023-05-24T18:19:11.515Z] ---> b4604a0a2aac [2023-05-24T18:19:11.515Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:19:11.515Z] ---> Running in 3f22e1122efb [2023-05-24T18:19:12.086Z] Removing intermediate container 3f22e1122efb [2023-05-24T18:19:12.086Z] ---> 6a879c4d5f46 [2023-05-24T18:19:12.086Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-24T18:19:12.086Z] ---> Running in 359bc0077466 [2023-05-24T18:19:12.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:12.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:12.862Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:13.121Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:19:13.121Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T18:19:13.121Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T18:19:13.121Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T18:19:13.121Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T18:19:14.057Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T18:19:14.057Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T18:19:14.057Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T18:19:14.624Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:19:14.624Z] OK: 276 MiB in 83 packages [2023-05-24T18:19:15.192Z] Removing intermediate container 359bc0077466 [2023-05-24T18:19:15.192Z] ---> a736a98fcc96 [2023-05-24T18:19:15.192Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T18:19:15.192Z] ---> 0adfbcbd26ad [2023-05-24T18:19:15.192Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T18:19:15.192Z] ---> 3c482adba69d [2023-05-24T18:19:15.192Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T18:19:15.452Z] ---> 615473d3aabd [2023-05-24T18:19:15.452Z] Successfully built 615473d3aabd [2023-05-24T18:19:15.452Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:19:15.827Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T18:19:15.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:19:15.903Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:19:15.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T18:19:16.275Z] $ docker top faa2c043f3b69928d8f86e518ddf175fd85d36095c0be81fe718e1bd68f6e639 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:19:16.620Z] + make test [2023-05-24T18:19:16.620Z] echo "make test" [2023-05-24T18:19:16.620Z] make test [Pipeline] } [2023-05-24T18:19:16.635Z] $ docker stop --time=1 faa2c043f3b69928d8f86e518ddf175fd85d36095c0be81fe718e1bd68f6e639 [2023-05-24T18:19:17.923Z] $ docker rm -f --volumes faa2c043f3b69928d8f86e518ddf175fd85d36095c0be81fe718e1bd68f6e639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:19:18.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:19:18.781Z] + ls -al . [2023-05-24T18:19:18.781Z] total 212 [2023-05-24T18:19:18.781Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 18:18 . [2023-05-24T18:19:18.781Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:18 .. [2023-05-24T18:19:18.781Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:18 .git [2023-05-24T18:19:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:18 .github [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 18:18 .gitignore [2023-05-24T18:19:18.781Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:18 .semver [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 18:18 Attribution.txt [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 18:18 CHANGES [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 18:18 Doxyfile [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:18 GOVERNANCE.md [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 18:18 Jenkinsfile [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 18:18 LICENSE [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 18:18 Makefile [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 18:18 OWNERS.md [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 18:18 README.IOT.md [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 18:18 README.md [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 18:18 README.v3.md [2023-05-24T18:19:18.781Z] -rw-rw-r-- 1 jenkins jenkins 12 May 24 18:18 VERSION [2023-05-24T18:19:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:18 docs [2023-05-24T18:19:18.781Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:18 include [2023-05-24T18:19:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:18 scripts [2023-05-24T18:19:18.781Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:19:19.081Z] + 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=ad65e45309f8995a17d27a3f59962ea35e988788 --label arch=amd64 --label version=2.3.1-dev.11 . [2023-05-24T18:19:19.081Z] Sending build context to Docker daemon 4.834MB [2023-05-24T18:19:19.081Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T18:19:19.081Z] Step 2/17 : FROM ${BASE} [2023-05-24T18:19:19.081Z] ---> 615473d3aabd [2023-05-24T18:19:19.081Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T18:19:19.081Z] ---> Running in 2dec1d0d7209 [2023-05-24T18:19:19.339Z] Removing intermediate container 2dec1d0d7209 [2023-05-24T18:19:19.339Z] ---> 7993d9c83118 [2023-05-24T18:19:19.339Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:19:19.339Z] ---> Running in 0a3e05cfb19b [2023-05-24T18:19:19.599Z] Connecting to iotech.jfrog.io (52.19.119.212:443) [2023-05-24T18:19:19.861Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:19:19.861Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:19:19.861Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:19:20.120Z] Removing intermediate container 0a3e05cfb19b [2023-05-24T18:19:20.120Z] ---> 820b025c63a0 [2023-05-24T18:19:20.120Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:19:20.120Z] ---> Running in 47107bcd98c3 [2023-05-24T18:19:20.689Z] Removing intermediate container 47107bcd98c3 [2023-05-24T18:19:20.689Z] ---> 699e8eda0da4 [2023-05-24T18:19:20.689Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-24T18:19:20.689Z] ---> Running in 75a0883c5311 [2023-05-24T18:19:20.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:21.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:21.208Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:19:21.776Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:19:21.776Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T18:19:22.036Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T18:19:22.036Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T18:19:22.036Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T18:19:22.296Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T18:19:22.296Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T18:19:22.296Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T18:19:22.296Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T18:19:22.296Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T18:19:22.296Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:19:22.296Z] OK: 281 MiB in 92 packages [2023-05-24T18:19:22.863Z] Removing intermediate container 75a0883c5311 [2023-05-24T18:19:22.863Z] ---> 2886756c956a [2023-05-24T18:19:22.864Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T18:19:23.122Z] ---> ffb96c8185a7 [2023-05-24T18:19:23.122Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T18:19:23.122Z] ---> 82d5f01d0977 [2023-05-24T18:19:23.122Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T18:19:23.381Z] ---> 17cb73933bb0 [2023-05-24T18:19:23.381Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T18:19:23.381Z] ---> f9eb7a52c76a [2023-05-24T18:19:23.381Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T18:19:23.639Z] ---> 65b964da587f [2023-05-24T18:19:23.639Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T18:19:23.639Z] ---> c083e134b3d0 [2023-05-24T18:19:23.639Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T18:19:23.639Z] ---> Running in 8cd6eefc6c56 [2023-05-24T18:19:23.639Z] Removing intermediate container 8cd6eefc6c56 [2023-05-24T18:19:23.639Z] ---> b2732e9101a3 [2023-05-24T18:19:23.639Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T18:19:23.898Z] ---> Running in ea8133de15b5 [2023-05-24T18:19:23.898Z] Removing intermediate container ea8133de15b5 [2023-05-24T18:19:23.898Z] ---> a0dd4d445ac4 [2023-05-24T18:19:23.898Z] Step 15/17 : LABEL arch=amd64 [2023-05-24T18:19:23.898Z] ---> Running in 3d0abf24d5f7 [2023-05-24T18:19:23.898Z] Removing intermediate container 3d0abf24d5f7 [2023-05-24T18:19:23.898Z] ---> cb7af7f12ae2 [2023-05-24T18:19:23.898Z] Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T18:19:23.898Z] ---> Running in b62d3492b0a8 [2023-05-24T18:19:23.898Z] Removing intermediate container b62d3492b0a8 [2023-05-24T18:19:23.898Z] ---> 8711b98bc906 [2023-05-24T18:19:23.898Z] Step 17/17 : LABEL version=2.3.1-dev.11 [2023-05-24T18:19:24.157Z] ---> Running in 4845177155b4 [2023-05-24T18:19:24.157Z] Removing intermediate container 4845177155b4 [2023-05-24T18:19:24.157Z] ---> a03714c52b69 [2023-05-24T18:19:24.157Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-24T18:19:24.157Z] Successfully built a03714c52b69 [2023-05-24T18:19:24.157Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:19:24.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:19:24.574Z] [2023-05-24T18:19:24.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:19:24.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:19:24.868Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T18:19:24.868Z] 5eb5b503b376: Pulling fs layer [2023-05-24T18:19:24.868Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T18:19:24.868Z] ec43610c2a17: Pulling fs layer [2023-05-24T18:19:24.868Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T18:19:24.868Z] 33b1e0a273af: Pulling fs layer [2023-05-24T18:19:24.868Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T18:19:24.868Z] 2f39f015ded8: Pulling fs layer [2023-05-24T18:19:24.868Z] 3a2ae6a8a46f: Waiting [2023-05-24T18:19:24.868Z] 33b1e0a273af: Waiting [2023-05-24T18:19:24.868Z] 5d3b04190fa2: Waiting [2023-05-24T18:19:24.868Z] 2f39f015ded8: Waiting [2023-05-24T18:19:24.868Z] 5c69ac0246d0: Download complete [2023-05-24T18:19:24.868Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T18:19:24.868Z] 3a2ae6a8a46f: Download complete [2023-05-24T18:19:24.868Z] 33b1e0a273af: Verifying Checksum [2023-05-24T18:19:24.868Z] 33b1e0a273af: Download complete [2023-05-24T18:19:24.868Z] 5d3b04190fa2: Download complete [2023-05-24T18:19:24.868Z] ec43610c2a17: Verifying Checksum [2023-05-24T18:19:24.868Z] ec43610c2a17: Download complete [2023-05-24T18:19:25.127Z] 5eb5b503b376: Download complete [2023-05-24T18:19:25.691Z] 2f39f015ded8: Verifying Checksum [2023-05-24T18:19:25.691Z] 2f39f015ded8: Download complete [2023-05-24T18:19:26.255Z] 5eb5b503b376: Pull complete [2023-05-24T18:19:26.514Z] 5c69ac0246d0: Pull complete [2023-05-24T18:19:26.772Z] ec43610c2a17: Pull complete [2023-05-24T18:19:26.772Z] 3a2ae6a8a46f: Pull complete [2023-05-24T18:19:27.030Z] 33b1e0a273af: Pull complete [2023-05-24T18:19:27.030Z] 5d3b04190fa2: Pull complete [2023-05-24T18:19:31.220Z] 2f39f015ded8: Pull complete [2023-05-24T18:19:31.220Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T18:19:31.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:19:31.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:19:31.379Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:19:31.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T18:19:37.431Z] $ docker top 3266355c41631440d29dad9eb8015b3ff007771da127fd1b183d064b92391c79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:19:37.784Z] ---> job-cost.sh [2023-05-24T18:19:37.784Z] lf-activate-venv: SKIPPING [2023-05-24T18:19:37.784Z] INFO: No Stack... [2023-05-24T18:19:38.042Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:19:38.301Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:19:38.587Z] + + cut -d, -f6 [2023-05-24T18:19:38.587Z] cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock [2023-05-24T18:19:38.601Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [2023-05-24T18:19:38.618Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] did not exist. Created. [2023-05-24T18:19:38.618Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:19:38.913Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T18:19:38.993Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:19:38.999Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:19:39.020Z] $ docker stop --time=1 3266355c41631440d29dad9eb8015b3ff007771da127fd1b183d064b92391c79 [2023-05-24T18:19:40.238Z] $ docker rm -f --volumes 3266355c41631440d29dad9eb8015b3ff007771da127fd1b183d064b92391c79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T18:22:29.080Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16753 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-05-24T18:22:29.092Z] Running in /w/workspace/device-sdk-c/46 [Pipeline] { [Pipeline] checkout [2023-05-24T18:22:29.130Z] Selected Git installation does not exist. Using Default [2023-05-24T18:22:29.130Z] The recommended git tool is: NONE [2023-05-24T18:22:35.854Z] using credential edgex-jenkins-ssh [2023-05-24T18:22:41.005Z] Cloning the remote Git repository [2023-05-24T18:22:41.070Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T18:22:41.283Z] > git init /w/workspace/device-sdk-c/46 # timeout=10 [2023-05-24T18:22:41.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T18:22:41.485Z] > git --version # timeout=10 [2023-05-24T18:22:41.512Z] > git --version # 'git version 2.25.1' [2023-05-24T18:22:41.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:22:41.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T18:22:44.072Z] Avoid second fetch [2023-05-24T18:22:44.073Z] Checking out Revision ad65e45309f8995a17d27a3f59962ea35e988788 (main) [2023-05-24T18:22:42.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-24T18:22:42.949Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T18:22:44.099Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T18:22:44.195Z] > git checkout -f ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [2023-05-24T18:22:44.848Z] Commit message: "docs: update changelog and version number for Minnesota (#457)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:22:45.758Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T18:22:45.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T18:22:45.758Z] Dload Upload Total Spent Left Speed [2023-05-24T18:22:45.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-24T18:22:46.390Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T18:22:46.727Z] + sudo tee /etc/docker/daemon.new [2023-05-24T18:22:46.727Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T18:22:46.727Z] { [2023-05-24T18:22:46.727Z] "registry-mirrors": [ [2023-05-24T18:22:46.727Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T18:22:46.727Z] ], [2023-05-24T18:22:46.727Z] "bip": "10.250.0.254/24", [2023-05-24T18:22:46.727Z] "hosts": [ [2023-05-24T18:22:46.727Z] "tcp://0.0.0.0:5555", [2023-05-24T18:22:46.727Z] "unix:///var/run/docker.sock" [2023-05-24T18:22:46.727Z] ], [2023-05-24T18:22:46.727Z] "mtu": 1458, [2023-05-24T18:22:46.727Z] "selinux-enabled": true, [2023-05-24T18:22:46.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T18:22:46.727Z] } [Pipeline] sh [2023-05-24T18:22:47.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T18:22:47.424Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:23:05.742Z] provisioning config files... [2023-05-24T18:23:05.779Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/46@tmp/config14808676190650126968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:23:06.155Z] ---> docker-login.sh [2023-05-24T18:23:06.155Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:23:06.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:23:07.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:23:07.022Z] Configure a credential helper to remove this warning. See [2023-05-24T18:23:07.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:23:07.022Z] [2023-05-24T18:23:07.022Z] Login Succeeded [2023-05-24T18:23:07.022Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:23:07.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:23:07.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:23:07.570Z] Configure a credential helper to remove this warning. See [2023-05-24T18:23:07.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:23:07.570Z] [2023-05-24T18:23:07.570Z] Login Succeeded [2023-05-24T18:23:07.570Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:23:07.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:23:07.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:23:07.841Z] Configure a credential helper to remove this warning. See [2023-05-24T18:23:07.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:23:07.841Z] [2023-05-24T18:23:07.841Z] Login Succeeded [2023-05-24T18:23:07.841Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:23:08.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:23:08.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:23:08.389Z] Configure a credential helper to remove this warning. See [2023-05-24T18:23:08.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:23:08.389Z] [2023-05-24T18:23:08.389Z] Login Succeeded [2023-05-24T18:23:08.389Z] docker.io [2023-05-24T18:23:08.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:23:08.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:23:08.943Z] Configure a credential helper to remove this warning. See [2023-05-24T18:23:08.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:23:08.943Z] [2023-05-24T18:23:08.943Z] Login Succeeded [2023-05-24T18:23:08.943Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:23:08.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:23:09.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:23:09.291Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-24T18:23:09.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:23:09.314Z] ========================================================= [2023-05-24T18:23:09.314Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-24T18:23:09.314Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:23:09.662Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-05-24T18:23:09.935Z] Sending build context to Docker daemon 2.902MB [2023-05-24T18:23:09.935Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T18:23:09.935Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T18:23:10.211Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-24T18:23:10.212Z] 547446be3368: Pulling fs layer [2023-05-24T18:23:10.212Z] 76bd08e1cacc: Pulling fs layer [2023-05-24T18:23:10.212Z] 547446be3368: Verifying Checksum [2023-05-24T18:23:10.212Z] 547446be3368: Download complete [2023-05-24T18:23:10.808Z] 547446be3368: Pull complete [2023-05-24T18:23:12.803Z] 76bd08e1cacc: Verifying Checksum [2023-05-24T18:23:12.803Z] 76bd08e1cacc: Download complete [2023-05-24T18:23:21.046Z] 76bd08e1cacc: Pull complete [2023-05-24T18:23:21.046Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-24T18:23:21.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-24T18:23:21.046Z] ---> 295cd00e64f4 [2023-05-24T18:23:21.046Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:23:21.046Z] ---> Running in 881b727281be [2023-05-24T18:23:22.028Z] Connecting to iotech.jfrog.io (52.50.209.154:443) [2023-05-24T18:23:22.621Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:23:22.621Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:23:22.621Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:23:23.226Z] Removing intermediate container 881b727281be [2023-05-24T18:23:23.226Z] ---> 49bc701fbc94 [2023-05-24T18:23:23.226Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:23:23.497Z] ---> Running in 69a2d62dd736 [2023-05-24T18:23:25.461Z] Removing intermediate container 69a2d62dd736 [2023-05-24T18:23:25.461Z] ---> c819ff78943a [2023-05-24T18:23:25.461Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-24T18:23:25.461Z] ---> Running in 490978ebf425 [2023-05-24T18:23:26.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:23:26.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:23:27.026Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:23:27.994Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:23:27.994Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T18:23:27.994Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T18:23:27.994Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T18:23:28.961Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T18:23:28.961Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T18:23:28.961Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T18:23:28.961Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T18:23:28.961Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T18:23:29.932Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T18:23:29.932Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T18:23:29.932Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T18:23:29.932Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T18:23:29.932Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T18:23:29.932Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T18:23:29.932Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:23:29.932Z] OK: 286 MiB in 90 packages [2023-05-24T18:23:31.362Z] Removing intermediate container 490978ebf425 [2023-05-24T18:23:31.362Z] ---> 49f3defebf40 [2023-05-24T18:23:31.362Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T18:23:31.362Z] ---> Running in bcc18621ce78 [2023-05-24T18:23:33.438Z] Removing intermediate container bcc18621ce78 [2023-05-24T18:23:33.438Z] ---> cd8b6f8b4107 [2023-05-24T18:23:33.438Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T18:23:37.733Z] ---> c1b729ed68c6 [2023-05-24T18:23:37.733Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T18:23:38.325Z] ---> bd2b0d6ce4ad [2023-05-24T18:23:38.325Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T18:23:38.919Z] ---> dea98d67b0f7 [2023-05-24T18:23:38.919Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T18:23:39.510Z] ---> 46d499502075 [2023-05-24T18:23:39.510Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T18:23:40.100Z] ---> 5c707a36a485 [2023-05-24T18:23:40.100Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T18:23:40.369Z] ---> 180817a597d0 [2023-05-24T18:23:40.369Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T18:23:40.643Z] ---> Running in 7c90cfa582bf [2023-05-24T18:23:41.616Z] + CPPCHECK=false [2023-05-24T18:23:41.616Z] + DOCGEN=false [2023-05-24T18:23:41.616Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T18:23:41.616Z] + '[' 0 -gt 0 ] [2023-05-24T18:23:41.616Z] + readlink -f ./scripts/build.sh [2023-05-24T18:23:41.616Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T18:23:41.616Z] + dirname /tmp/sdk/scripts [2023-05-24T18:23:41.616Z] + ROOT=/tmp/sdk [2023-05-24T18:23:41.616Z] + cd /tmp/sdk [2023-05-24T18:23:41.616Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T18:23:41.616Z] + cd /tmp/sdk/build/release [2023-05-24T18:23:41.616Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T18:23:41.888Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T18:23:41.888Z] -- Detecting C compiler ABI info [2023-05-24T18:23:42.482Z] -- Detecting C compiler ABI info - done [2023-05-24T18:23:42.482Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T18:23:42.482Z] -- Detecting C compile features [2023-05-24T18:23:42.482Z] -- Detecting C compile features - done [2023-05-24T18:23:42.482Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T18:23:42.753Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T18:23:42.753Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T18:23:42.753Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T18:23:42.753Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T18:23:42.753Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T18:23:43.023Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T18:23:43.023Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T18:23:43.023Z] -- /opt/iotech/iot/1.5/include [2023-05-24T18:23:43.023Z] -- C SDK 2.3.1-dev.11 for Linux [2023-05-24T18:23:43.023Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T18:23:43.296Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T18:23:43.566Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T18:23:43.566Z] -- Configuring done [2023-05-24T18:23:44.155Z] -- Generating done [2023-05-24T18:23:44.155Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T18:23:44.155Z] + make all package [2023-05-24T18:23:44.155Z] + tee release.log [2023-05-24T18:23:44.155Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T18:23:45.572Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T18:23:46.536Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T18:23:47.501Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T18:23:48.918Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T18:23:49.506Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T18:23:52.862Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T18:23:54.814Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T18:23:54.814Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T18:23:56.228Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T18:23:59.582Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T18:24:00.172Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T18:24:01.586Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T18:24:02.552Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T18:24:03.518Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T18:24:04.935Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T18:24:04.935Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T18:24:08.282Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T18:24:08.550Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T18:24:09.513Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T18:24:12.106Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T18:24:18.759Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T18:24:19.343Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T18:24:19.926Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T18:24:20.889Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T18:24:21.158Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T18:24:23.743Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T18:24:27.097Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T18:24:27.097Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T18:24:28.510Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T18:24:29.475Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T18:24:33.740Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T18:24:34.704Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T18:24:35.290Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T18:24:36.255Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T18:24:36.255Z] [ 68%] Built target csdk [2023-05-24T18:24:36.524Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T18:24:37.937Z] [ 72%] Linking C executable template [2023-05-24T18:24:38.206Z] [ 72%] Built target template [2023-05-24T18:24:38.206Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T18:24:38.794Z] [ 76%] Linking C executable device-counter [2023-05-24T18:24:39.383Z] [ 76%] Built target device-counter [2023-05-24T18:24:39.383Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T18:24:40.345Z] [ 80%] Linking C executable device-random [2023-05-24T18:24:40.613Z] [ 80%] Built target device-random [2023-05-24T18:24:40.613Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T18:24:41.202Z] [ 84%] Linking C executable device-gyro [2023-05-24T18:24:41.789Z] [ 84%] Built target device-gyro [2023-05-24T18:24:41.789Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T18:24:42.375Z] [ 88%] Linking C executable device-bitfields [2023-05-24T18:24:42.989Z] [ 88%] Built target device-bitfields [2023-05-24T18:24:42.989Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T18:24:44.403Z] [ 92%] Linking C executable template-discovery [2023-05-24T18:24:44.671Z] [ 92%] Built target template-discovery [2023-05-24T18:24:44.671Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T18:24:46.087Z] [ 96%] Linking C executable device-file [2023-05-24T18:24:46.357Z] [ 96%] Built target device-file [2023-05-24T18:24:46.357Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T18:24:47.321Z] [100%] Linking C executable device-terminal [2023-05-24T18:24:47.905Z] [100%] Built target device-terminal [2023-05-24T18:24:47.905Z] Run CPack packaging tool... [2023-05-24T18:24:47.905Z] CPack: Create package using TGZ [2023-05-24T18:24:47.905Z] CPack: Install projects [2023-05-24T18:24:47.905Z] CPack: - Run preinstall target for: Csdk [2023-05-24T18:24:48.869Z] CPack: - Install project: Csdk [] [2023-05-24T18:24:48.869Z] CPack: Create package [2023-05-24T18:24:48.869Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.11.tar.gz generated. [2023-05-24T18:24:48.869Z] + '[' false '=' true ] [2023-05-24T18:24:48.869Z] + '[' false '=' true ] [2023-05-24T18:24:48.870Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T18:24:48.870Z] + cd /tmp/sdk/build/debug [2023-05-24T18:24:48.870Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T18:24:49.138Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T18:24:49.406Z] -- Detecting C compiler ABI info [2023-05-24T18:24:49.676Z] -- Detecting C compiler ABI info - done [2023-05-24T18:24:49.676Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T18:24:49.676Z] -- Detecting C compile features [2023-05-24T18:24:49.676Z] -- Detecting C compile features - done [2023-05-24T18:24:49.676Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T18:24:49.945Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T18:24:49.945Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T18:24:49.945Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T18:24:49.945Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T18:24:49.945Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T18:24:50.214Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T18:24:50.214Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T18:24:50.214Z] -- /opt/iotech/iot/1.5/include [2023-05-24T18:24:50.214Z] -- C SDK 2.3.1-dev.11 for Linux [2023-05-24T18:24:50.214Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T18:24:50.483Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T18:24:50.751Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T18:24:50.751Z] -- Configuring done [2023-05-24T18:24:51.024Z] -- Generating done [2023-05-24T18:24:51.024Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T18:24:51.024Z] + make [2023-05-24T18:24:51.024Z] + tee debug.log [2023-05-24T18:24:51.294Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T18:24:51.879Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T18:24:52.465Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T18:24:53.048Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T18:24:53.632Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T18:24:53.899Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T18:24:55.313Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T18:24:55.581Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T18:24:55.850Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T18:24:56.438Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T18:24:57.402Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T18:24:57.988Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T18:24:58.572Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T18:24:59.159Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T18:24:59.426Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T18:25:00.013Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T18:25:00.281Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T18:25:01.242Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T18:25:01.511Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T18:25:01.780Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T18:25:02.745Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T18:25:04.687Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T18:25:04.955Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T18:25:05.222Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T18:25:05.489Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T18:25:06.073Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T18:25:06.656Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T18:25:08.608Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T18:25:09.194Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T18:25:09.461Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T18:25:10.050Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T18:25:11.465Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T18:25:11.735Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T18:25:12.321Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T18:25:12.590Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T18:25:12.859Z] [ 68%] Built target csdk [2023-05-24T18:25:12.859Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T18:25:13.460Z] [ 72%] Linking C executable template [2023-05-24T18:25:13.730Z] [ 72%] Built target template [2023-05-24T18:25:13.730Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T18:25:14.318Z] [ 76%] Linking C executable device-counter [2023-05-24T18:25:14.586Z] [ 76%] Built target device-counter [2023-05-24T18:25:14.586Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T18:25:15.184Z] [ 80%] Linking C executable device-random [2023-05-24T18:25:15.452Z] [ 80%] Built target device-random [2023-05-24T18:25:15.452Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T18:25:16.038Z] [ 84%] Linking C executable device-gyro [2023-05-24T18:25:16.306Z] [ 84%] Built target device-gyro [2023-05-24T18:25:16.306Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T18:25:16.573Z] [ 88%] Linking C executable device-bitfields [2023-05-24T18:25:17.158Z] [ 88%] Built target device-bitfields [2023-05-24T18:25:17.158Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T18:25:17.742Z] [ 92%] Linking C executable template-discovery [2023-05-24T18:25:18.009Z] [ 92%] Built target template-discovery [2023-05-24T18:25:18.009Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T18:25:18.595Z] [ 96%] Linking C executable device-file [2023-05-24T18:25:18.862Z] [ 96%] Built target device-file [2023-05-24T18:25:18.862Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T18:25:19.448Z] [100%] Linking C executable device-terminal [2023-05-24T18:25:20.031Z] [100%] Built target device-terminal [2023-05-24T18:25:20.031Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.031Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.031Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.031Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] [ 68%] Built target csdk [2023-05-24T18:25:20.299Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] [ 72%] Built target template [2023-05-24T18:25:20.299Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] [ 76%] Built target device-counter [2023-05-24T18:25:20.299Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] [ 80%] Built target device-random [2023-05-24T18:25:20.299Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.299Z] [ 84%] Built target device-gyro [2023-05-24T18:25:20.299Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] [ 88%] Built target device-bitfields [2023-05-24T18:25:20.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] [ 92%] Built target template-discovery [2023-05-24T18:25:20.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] [ 96%] Built target device-file [2023-05-24T18:25:20.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] [100%] Built target device-terminal [2023-05-24T18:25:20.567Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:20.567Z] Install the project... [2023-05-24T18:25:20.834Z] -- Install configuration: "Release" [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T18:25:20.834Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/devsdk [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T18:25:20.834Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T18:25:20.834Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T18:25:22.244Z] Removing intermediate container 7c90cfa582bf [2023-05-24T18:25:22.244Z] ---> b0972933c1f2 [2023-05-24T18:25:22.244Z] Step 14/21 : FROM ${BASE} [2023-05-24T18:25:22.244Z] ---> 295cd00e64f4 [2023-05-24T18:25:22.244Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T18:25:22.244Z] ---> Running in 8dfd18d4de92 [2023-05-24T18:25:22.513Z] Removing intermediate container 8dfd18d4de92 [2023-05-24T18:25:22.513Z] ---> 53e21f15cdce [2023-05-24T18:25:22.513Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:25:22.513Z] ---> Running in b96a5ef52057 [2023-05-24T18:25:23.475Z] Connecting to iotech.jfrog.io (52.50.209.154:443) [2023-05-24T18:25:24.058Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:25:24.058Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:25:24.058Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:25:27.407Z] Removing intermediate container b96a5ef52057 [2023-05-24T18:25:27.407Z] ---> 4390539c7e28 [2023-05-24T18:25:27.407Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:25:27.407Z] ---> Running in 935c6622814e [2023-05-24T18:25:28.822Z] Removing intermediate container 935c6622814e [2023-05-24T18:25:28.822Z] ---> 54d942b611db [2023-05-24T18:25:28.822Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-24T18:25:28.822Z] ---> Running in 8c3d528c444d [2023-05-24T18:25:29.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:30.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:30.640Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:31.603Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:25:31.603Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T18:25:31.603Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T18:25:31.603Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T18:25:31.603Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T18:25:32.567Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T18:25:32.567Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T18:25:32.567Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T18:25:33.153Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:25:33.153Z] OK: 281 MiB in 83 packages [2023-05-24T18:25:34.575Z] Removing intermediate container 8c3d528c444d [2023-05-24T18:25:34.575Z] ---> af442276003e [2023-05-24T18:25:34.575Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T18:25:34.843Z] ---> 0d39d4c60e32 [2023-05-24T18:25:34.843Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T18:25:35.428Z] ---> a52d5ff957e8 [2023-05-24T18:25:35.428Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T18:25:36.014Z] ---> 6dc566e82cfa [2023-05-24T18:25:36.014Z] Successfully built 6dc566e82cfa [2023-05-24T18:25:36.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:25:36.438Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T18:25:36.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:25:36.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-16753 does not seem to be running inside a container [2023-05-24T18:25:36.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/46 -v /w/workspace/device-sdk-c/46:/w/workspace/device-sdk-c/46:rw,z -v /w/workspace/device-sdk-c/46@tmp:/w/workspace/device-sdk-c/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T18:25:38.008Z] $ docker top 49f0a17291b87c916d119839b540aaa2cd937c371e2bc2ff5da780e3336f3bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:25:38.957Z] + make test [2023-05-24T18:25:38.958Z] echo "make test" [2023-05-24T18:25:38.958Z] make test [Pipeline] } [2023-05-24T18:25:38.998Z] $ docker stop --time=1 49f0a17291b87c916d119839b540aaa2cd937c371e2bc2ff5da780e3336f3bb8 [2023-05-24T18:25:42.345Z] $ docker rm -f --volumes 49f0a17291b87c916d119839b540aaa2cd937c371e2bc2ff5da780e3336f3bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:25:42.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:25:43.224Z] + ls -al . [2023-05-24T18:25:43.224Z] total 208 [2023-05-24T18:25:43.224Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:22 . [2023-05-24T18:25:43.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:22 .. [2023-05-24T18:25:43.224Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:22 .git [2023-05-24T18:25:43.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:22 .github [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 18:22 .gitignore [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 18:22 Attribution.txt [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 18:22 CHANGES [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 18:22 Doxyfile [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:22 GOVERNANCE.md [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 18:22 Jenkinsfile [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 18:22 LICENSE [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 18:22 Makefile [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 18:22 OWNERS.md [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 18:22 README.IOT.md [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 18:22 README.md [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 18:22 README.v3.md [2023-05-24T18:25:43.224Z] -rw-rw-r-- 1 jenkins jenkins 12 May 24 18:18 VERSION [2023-05-24T18:25:43.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:22 docs [2023-05-24T18:25:43.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:22 include [2023-05-24T18:25:43.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:22 scripts [2023-05-24T18:25:43.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:25:43.569Z] + 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=ad65e45309f8995a17d27a3f59962ea35e988788 --label arch=arm64 --label version=2.3.1-dev.11 . [2023-05-24T18:25:43.847Z] Sending build context to Docker daemon 2.902MB [2023-05-24T18:25:43.847Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T18:25:43.847Z] Step 2/17 : FROM ${BASE} [2023-05-24T18:25:43.847Z] ---> 6dc566e82cfa [2023-05-24T18:25:43.847Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T18:25:44.119Z] ---> Running in ac8d8a4c5067 [2023-05-24T18:25:44.408Z] Removing intermediate container ac8d8a4c5067 [2023-05-24T18:25:44.408Z] ---> 226cda3fb463 [2023-05-24T18:25:44.408Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-24T18:25:44.408Z] ---> Running in b58de5510b33 [2023-05-24T18:25:45.380Z] Connecting to iotech.jfrog.io (52.210.158.202:443) [2023-05-24T18:25:45.966Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T18:25:45.966Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T18:25:45.966Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T18:25:46.556Z] Removing intermediate container b58de5510b33 [2023-05-24T18:25:46.556Z] ---> c0b1265d970b [2023-05-24T18:25:46.556Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T18:25:46.826Z] ---> Running in 4086810b49f4 [2023-05-24T18:25:48.773Z] Removing intermediate container 4086810b49f4 [2023-05-24T18:25:48.774Z] ---> bf37b962f299 [2023-05-24T18:25:48.774Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-24T18:25:48.774Z] ---> Running in c3112297dfcf [2023-05-24T18:25:49.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:49.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:50.529Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:25:51.115Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T18:25:51.383Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T18:25:51.651Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T18:25:51.651Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T18:25:51.922Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T18:25:51.922Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T18:25:51.922Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T18:25:51.922Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T18:25:51.922Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T18:25:51.922Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T18:25:51.922Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T18:25:51.922Z] OK: 287 MiB in 92 packages [2023-05-24T18:25:56.217Z] Removing intermediate container c3112297dfcf [2023-05-24T18:25:56.217Z] ---> 5ba9e9532d0d [2023-05-24T18:25:56.217Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T18:25:56.484Z] ---> 36192369ef77 [2023-05-24T18:25:56.484Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T18:25:57.451Z] ---> 3946e3e2cab6 [2023-05-24T18:25:57.451Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T18:25:57.719Z] ---> 3b8608c76e88 [2023-05-24T18:25:57.719Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T18:25:58.306Z] ---> c16d9aa23d29 [2023-05-24T18:25:58.306Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T18:25:58.892Z] ---> 799512ad5e75 [2023-05-24T18:25:58.892Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T18:25:59.480Z] ---> bf13106810bf [2023-05-24T18:25:59.480Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T18:25:59.480Z] ---> Running in a3412def5ca3 [2023-05-24T18:25:59.764Z] Removing intermediate container a3412def5ca3 [2023-05-24T18:25:59.764Z] ---> b73a93cdbc6a [2023-05-24T18:25:59.764Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T18:26:00.051Z] ---> Running in 46f36dafb19a [2023-05-24T18:26:00.323Z] Removing intermediate container 46f36dafb19a [2023-05-24T18:26:00.323Z] ---> 51194d7cbafc [2023-05-24T18:26:00.323Z] Step 15/17 : LABEL arch=arm64 [2023-05-24T18:26:00.323Z] ---> Running in 010ba4c69d00 [2023-05-24T18:26:00.593Z] Removing intermediate container 010ba4c69d00 [2023-05-24T18:26:00.593Z] ---> eef40212c1a0 [2023-05-24T18:26:00.593Z] Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T18:26:00.861Z] ---> Running in 3cba13650263 [2023-05-24T18:26:01.133Z] Removing intermediate container 3cba13650263 [2023-05-24T18:26:01.133Z] ---> edb7a4b9d779 [2023-05-24T18:26:01.133Z] Step 17/17 : LABEL version=2.3.1-dev.11 [2023-05-24T18:26:01.133Z] ---> Running in 7d99e3fdcafd [2023-05-24T18:26:01.411Z] Removing intermediate container 7d99e3fdcafd [2023-05-24T18:26:01.411Z] ---> 4de8bd4e8b51 [2023-05-24T18:26:01.411Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-24T18:26:01.411Z] Successfully built 4de8bd4e8b51 [2023-05-24T18:26:01.411Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:26:02.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:26:02.104Z] [2023-05-24T18:26:02.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:26:02.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:26:02.718Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T18:26:02.718Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T18:26:02.718Z] 04944245beec: Pulling fs layer [2023-05-24T18:26:02.718Z] 699f458cf7ca: Pulling fs layer [2023-05-24T18:26:02.718Z] 765212b225bb: Pulling fs layer [2023-05-24T18:26:02.718Z] f23df028b6ca: Pulling fs layer [2023-05-24T18:26:02.718Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T18:26:02.718Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T18:26:02.718Z] 765212b225bb: Waiting [2023-05-24T18:26:02.718Z] f23df028b6ca: Waiting [2023-05-24T18:26:02.718Z] d65c8cfc05b1: Waiting [2023-05-24T18:26:02.718Z] 2437ff75d9bd: Waiting [2023-05-24T18:26:02.718Z] 04944245beec: Verifying Checksum [2023-05-24T18:26:02.718Z] 04944245beec: Download complete [2023-05-24T18:26:02.718Z] 765212b225bb: Verifying Checksum [2023-05-24T18:26:02.718Z] 765212b225bb: Download complete [2023-05-24T18:26:02.718Z] f23df028b6ca: Download complete [2023-05-24T18:26:02.718Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T18:26:02.718Z] d65c8cfc05b1: Download complete [2023-05-24T18:26:02.993Z] 699f458cf7ca: Verifying Checksum [2023-05-24T18:26:02.993Z] 699f458cf7ca: Download complete [2023-05-24T18:26:03.263Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T18:26:03.263Z] 8998bd30e6a1: Download complete [2023-05-24T18:26:05.857Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T18:26:05.857Z] 2437ff75d9bd: Download complete [2023-05-24T18:26:07.268Z] 8998bd30e6a1: Pull complete [2023-05-24T18:26:07.854Z] 04944245beec: Pull complete [2023-05-24T18:26:10.742Z] 699f458cf7ca: Pull complete [2023-05-24T18:26:11.010Z] 765212b225bb: Pull complete [2023-05-24T18:26:11.973Z] f23df028b6ca: Pull complete [2023-05-24T18:26:12.240Z] d65c8cfc05b1: Pull complete [2023-05-24T18:26:27.257Z] 2437ff75d9bd: Pull complete [2023-05-24T18:26:27.257Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T18:26:27.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:26:27.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:26:27.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-16753 does not seem to be running inside a container [2023-05-24T18:26:27.536Z] $ 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/46 -v /w/workspace/device-sdk-c/46:/w/workspace/device-sdk-c/46:rw,z -v /w/workspace/device-sdk-c/46@tmp:/w/workspace/device-sdk-c/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-24T18:26:30.219Z] $ docker top cea31c284ca07dd5389c5ad98329e09b23f9c0cdfeccbb040e77252851f88901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:26:31.038Z] ---> job-cost.sh [2023-05-24T18:26:31.039Z] lf-activate-venv: SKIPPING [2023-05-24T18:26:31.039Z] INFO: No Stack... [2023-05-24T18:26:31.304Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T18:26:32.268Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:26:32.920Z] + cut -d, -f6 [2023-05-24T18:26:32.920Z] + cat /w/workspace/device-sdk-c/46/archives/cost.csv [Pipeline] lock [2023-05-24T18:26:32.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [2023-05-24T18:26:33.009Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] did not exist. Created. [2023-05-24T18:26:33.009Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:26:33.673Z] /w/workspace/device-sdk-c/46@tmp/durable-4c061c4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T18:26:34.332Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T18:26:34.354Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T18:26:34.877Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:26:34.885Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:26:34.915Z] $ docker stop --time=1 cea31c284ca07dd5389c5ad98329e09b23f9c0cdfeccbb040e77252851f88901 [2023-05-24T18:26:38.298Z] $ docker rm -f --volumes cea31c284ca07dd5389c5ad98329e09b23f9c0cdfeccbb040e77252851f88901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-05-24T18:26:38.926Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:26:38.926Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:26:39.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:26:39.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:26:39.293Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:26:39.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T18:26:39.643Z] $ docker top 7fb65a1c8ed0f8e1de73befd55975bec331b17909a9d2773f3537bf856111611 -eo pid,comm [2023-05-24T18:26:39.679Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-24T18:26:39.679Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:26:39.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:26:39.718Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:26:39.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:26:39.831Z] $ docker exec 7fb65a1c8ed0f8e1de73befd55975bec331b17909a9d2773f3537bf856111611 ssh-agent [2023-05-24T18:26:39.937Z] SSH_AUTH_SOCK=/tmp/ssh-gqf5wYqJ63ge/agent.32 [2023-05-24T18:26:39.937Z] SSH_AGENT_PID=38 [2023-05-24T18:26:39.942Z] Running ssh-add (command line suppressed) [2023-05-24T18:26:40.040Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1433564375933359929.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1433564375933359929.key) [2023-05-24T18:26:40.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:26:40.339Z] + git semver tag [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,507 [run_tag] DEBUG tag force:False [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,507 [check_head_tag] DEBUG check head tag [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,508 [execute] INFO git cat-file --batch-check [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,512 [execute] INFO git cat-file --batch [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,525 [execute] INFO git tag -a v2.3.1-dev.11 -m v2.3.1-dev.11 [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,526 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.11', '-m', 'v2.3.1-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:26:40.598Z] 2023-05-24 18:26:40,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:26:40.598Z] 2.3.1-dev.11 [Pipeline] } [2023-05-24T18:26:40.614Z] $ docker exec --env ******** --env ******** 7fb65a1c8ed0f8e1de73befd55975bec331b17909a9d2773f3537bf856111611 ssh-agent -k [2023-05-24T18:26:40.711Z] unset SSH_AUTH_SOCK; [2023-05-24T18:26:40.711Z] unset SSH_AGENT_PID; [2023-05-24T18:26:40.711Z] echo Agent pid 38 killed; [2023-05-24T18:26:40.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:26:41.016Z] + git semver [Pipeline] } [2023-05-24T18:26:41.295Z] $ docker stop --time=1 7fb65a1c8ed0f8e1de73befd55975bec331b17909a9d2773f3537bf856111611 [2023-05-24T18:26:42.593Z] $ docker rm -f --volumes 7fb65a1c8ed0f8e1de73befd55975bec331b17909a9d2773f3537bf856111611 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:26:42.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T18:26:42.957Z] [2023-05-24T18:26:42.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:26:43.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T18:26:43.249Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-24T18:26:43.249Z] ab5ef0e58194: Pulling fs layer [2023-05-24T18:26:43.249Z] 9712f1f96733: Pulling fs layer [2023-05-24T18:26:43.249Z] 63f879dbbcfc: Pulling fs layer [2023-05-24T18:26:43.249Z] 0d9ebad4ef96: Pulling fs layer [2023-05-24T18:26:43.249Z] e9a5061849ea: Pulling fs layer [2023-05-24T18:26:43.249Z] d747dcd14b5f: Pulling fs layer [2023-05-24T18:26:43.249Z] 2de7ff778b66: Pulling fs layer [2023-05-24T18:26:43.249Z] d747dcd14b5f: Waiting [2023-05-24T18:26:43.249Z] 2de7ff778b66: Waiting [2023-05-24T18:26:43.249Z] 0d9ebad4ef96: Waiting [2023-05-24T18:26:43.249Z] e9a5061849ea: Waiting [2023-05-24T18:26:43.249Z] 9712f1f96733: Verifying Checksum [2023-05-24T18:26:43.249Z] 9712f1f96733: Download complete [2023-05-24T18:26:43.510Z] 63f879dbbcfc: Verifying Checksum [2023-05-24T18:26:43.510Z] 63f879dbbcfc: Download complete [2023-05-24T18:26:43.767Z] ab5ef0e58194: Download complete [2023-05-24T18:26:43.767Z] e9a5061849ea: Verifying Checksum [2023-05-24T18:26:43.767Z] e9a5061849ea: Download complete [2023-05-24T18:26:43.767Z] 0d9ebad4ef96: Verifying Checksum [2023-05-24T18:26:43.767Z] 0d9ebad4ef96: Download complete [2023-05-24T18:26:44.025Z] 2de7ff778b66: Verifying Checksum [2023-05-24T18:26:44.025Z] 2de7ff778b66: Download complete [2023-05-24T18:26:46.552Z] ab5ef0e58194: Pull complete [2023-05-24T18:26:46.552Z] 9712f1f96733: Pull complete [2023-05-24T18:26:46.810Z] 63f879dbbcfc: Pull complete [2023-05-24T18:26:50.089Z] 0d9ebad4ef96: Pull complete [2023-05-24T18:26:50.347Z] e9a5061849ea: Pull complete [2023-05-24T18:26:50.347Z] d747dcd14b5f: Pull complete [2023-05-24T18:26:51.279Z] 2de7ff778b66: Pull complete [2023-05-24T18:26:51.279Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-24T18:26:51.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T18:26:51.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:26:51.360Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:26:51.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-24T18:26:55.469Z] $ docker top e0335eab96f9f7fa34ef0ebd17824a25cde84a984c9ed758c3a7adcb200c6c47 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:26:55.529Z] provisioning config files... [2023-05-24T18:26:55.535Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10750482009452533936tmp [2023-05-24T18:26:55.545Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14223846141095347580tmp [2023-05-24T18:26:55.553Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5141867553848152375tmp [Pipeline] { [Pipeline] echo [2023-05-24T18:26:55.567Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:26:55.851Z] ---> sigul-configuration.sh [2023-05-24T18:26:55.851Z] gpg: directory `/root/.gnupg' created [2023-05-24T18:26:55.851Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-24T18:26:55.851Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-24T18:26:55.851Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-24T18:26:55.851Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-24T18:26:55.851Z] gpg: CAST5 encrypted data [2023-05-24T18:26:55.851Z] gpg: encrypted with 1 passphrase [2023-05-24T18:26:55.851Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-24T18:26:56.135Z] + mkdir /home/jenkins [2023-05-24T18:26:56.135Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-24T18:26:56.420Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-24T18:26:56.428Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:26:56.713Z] ---> sigul-install.sh [2023-05-24T18:26:56.713Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-24T18:26:56.999Z] + git tag --list [2023-05-24T18:26:56.999Z] 0.7.0 [2023-05-24T18:26:56.999Z] 0.7.1 [2023-05-24T18:26:56.999Z] 1.0.0 [2023-05-24T18:26:56.999Z] v1.0.1 [2023-05-24T18:26:56.999Z] v1.0.2 [2023-05-24T18:26:56.999Z] v1.0.3 [2023-05-24T18:26:56.999Z] v1.1.0 [2023-05-24T18:26:56.999Z] v1.1.1 [2023-05-24T18:26:56.999Z] v1.2.0 [2023-05-24T18:26:56.999Z] v1.2.1 [2023-05-24T18:26:56.999Z] v1.2.2 [2023-05-24T18:26:56.999Z] v1.3.0 [2023-05-24T18:26:56.999Z] v1.3.1 [2023-05-24T18:26:56.999Z] v2.0.0 [2023-05-24T18:26:56.999Z] v2.1.0 [2023-05-24T18:26:56.999Z] v2.2.0 [2023-05-24T18:26:56.999Z] v2.2.0-dev.1 [2023-05-24T18:26:56.999Z] v2.2.0-dev.10 [2023-05-24T18:26:56.999Z] v2.2.0-dev.11 [2023-05-24T18:26:56.999Z] v2.2.0-dev.12 [2023-05-24T18:26:56.999Z] v2.2.0-dev.13 [2023-05-24T18:26:56.999Z] v2.2.0-dev.2 [2023-05-24T18:26:56.999Z] v2.2.0-dev.3 [2023-05-24T18:26:56.999Z] v2.2.0-dev.4 [2023-05-24T18:26:56.999Z] v2.2.0-dev.5 [2023-05-24T18:26:56.999Z] v2.2.0-dev.6 [2023-05-24T18:26:56.999Z] v2.2.0-dev.7 [2023-05-24T18:26:56.999Z] v2.2.0-dev.8 [2023-05-24T18:26:56.999Z] v2.2.0-dev.9 [2023-05-24T18:26:56.999Z] v2.2.1-dev.1 [2023-05-24T18:26:56.999Z] v2.2.1-dev.2 [2023-05-24T18:26:56.999Z] v2.2.1-dev.3 [2023-05-24T18:26:56.999Z] v2.3.0 [2023-05-24T18:26:56.999Z] v2.3.1-dev.1 [2023-05-24T18:26:56.999Z] v2.3.1-dev.10 [2023-05-24T18:26:56.999Z] v2.3.1-dev.11 [2023-05-24T18:26:56.999Z] v2.3.1-dev.2 [2023-05-24T18:26:56.999Z] v2.3.1-dev.3 [2023-05-24T18:26:56.999Z] v2.3.1-dev.4 [2023-05-24T18:26:56.999Z] v2.3.1-dev.5 [2023-05-24T18:26:56.999Z] v2.3.1-dev.6 [2023-05-24T18:26:56.999Z] v2.3.1-dev.7 [2023-05-24T18:26:56.999Z] v2.3.1-dev.8 [2023-05-24T18:26:56.999Z] v2.3.1-dev.9 [Pipeline] sh [2023-05-24T18:26:57.283Z] + lftools sign git-tag v2.3.1-dev.11 [2023-05-24T18:26:57.854Z] Signing Git tag with Sigul... [2023-05-24T18:26:57.854Z] Signing v2.3.1-dev.11 [Pipeline] echo [2023-05-24T18:26:58.121Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:26:58.404Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-24T18:26:58.413Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-24T18:26:58.444Z] $ docker stop --time=1 e0335eab96f9f7fa34ef0ebd17824a25cde84a984c9ed758c3a7adcb200c6c47 [2023-05-24T18:26:59.717Z] $ docker rm -f --volumes e0335eab96f9f7fa34ef0ebd17824a25cde84a984c9ed758c3a7adcb200c6c47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-24T18:27:00.106Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:27:00.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:27:00.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:27:00.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:27:00.463Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:27:00.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T18:27:00.808Z] $ docker top 1e0b31f82af6af03652c3907523cb57800fca26b45167e644111047b50c2d9d7 -eo pid,comm [2023-05-24T18:27:00.847Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-24T18:27:00.847Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:27:00.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:27:00.889Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:27:01.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:27:01.011Z] $ docker exec 1e0b31f82af6af03652c3907523cb57800fca26b45167e644111047b50c2d9d7 ssh-agent [2023-05-24T18:27:01.101Z] SSH_AUTH_SOCK=/tmp/ssh-SKdQKL15JABR/agent.33 [2023-05-24T18:27:01.101Z] SSH_AGENT_PID=39 [2023-05-24T18:27:01.105Z] Running ssh-add (command line suppressed) [2023-05-24T18:27:01.218Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12106305315083870413.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12106305315083870413.key) [2023-05-24T18:27:01.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:27:01.507Z] + git semver bump pre [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [bump_version] DEBUG bumping version:2.3.1-dev.11 on axis:pre with prefix:dev [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [bump_version] DEBUG bumped version:2.3.1-dev.12 [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [write_version] DEBUG write version:2.3.1-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,688 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,690 [execute] INFO git cat-file --batch-check [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,695 [execute] INFO git cat-file --batch [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:27:01.766Z] 2023-05-24 18:27:01,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:27:01.766Z] 2.3.1-dev.12 [Pipeline] } [2023-05-24T18:27:01.782Z] $ docker exec --env ******** --env ******** 1e0b31f82af6af03652c3907523cb57800fca26b45167e644111047b50c2d9d7 ssh-agent -k [2023-05-24T18:27:01.873Z] unset SSH_AUTH_SOCK; [2023-05-24T18:27:01.874Z] unset SSH_AGENT_PID; [2023-05-24T18:27:01.874Z] echo Agent pid 39 killed; [2023-05-24T18:27:01.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:27:02.188Z] + git semver [Pipeline] } [2023-05-24T18:27:02.463Z] $ docker stop --time=1 1e0b31f82af6af03652c3907523cb57800fca26b45167e644111047b50c2d9d7 [2023-05-24T18:27:03.741Z] $ docker rm -f --volumes 1e0b31f82af6af03652c3907523cb57800fca26b45167e644111047b50c2d9d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:27:04.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:27:04.063Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:27:04.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:27:04.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:27:04.431Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:27:04.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T18:27:04.800Z] $ docker top bad7bf67fbb4d766616419416f2cab033149cc1382196ce0939a1f6286d33eb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:27:04.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:27:04.875Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:27:04.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:27:04.992Z] $ docker exec bad7bf67fbb4d766616419416f2cab033149cc1382196ce0939a1f6286d33eb7 ssh-agent [2023-05-24T18:27:05.095Z] SSH_AUTH_SOCK=/tmp/ssh-bVhKSEb2poGv/agent.32 [2023-05-24T18:27:05.095Z] SSH_AGENT_PID=38 [2023-05-24T18:27:05.100Z] Running ssh-add (command line suppressed) [2023-05-24T18:27:05.198Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3483528859827124988.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3483528859827124988.key) [2023-05-24T18:27:05.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:27:05.498Z] + git semver push [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,661 [run_push] DEBUG push [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,662 [execute] INFO git cat-file --batch-check [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,666 [execute] INFO git rev-list c4e3f433ee886fd8a31c45b6c0070feb7c54eb6a -- [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,666 [execute] DEBUG Popen(['git', 'rev-list', 'c4e3f433ee886fd8a31c45b6c0070feb7c54eb6a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,674 [execute] INFO git fetch -v origin [2023-05-24T18:27:05.756Z] 2023-05-24 18:27:05,674 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-24T18:27:06.323Z] 2023-05-24 18:27:06,150 [run_push] DEBUG no remote changes detected [2023-05-24T18:27:06.323Z] 2023-05-24 18:27:06,151 [execute] INFO git push origin semver [2023-05-24T18:27:06.324Z] 2023-05-24 18:27:06,151 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:27:07.262Z] 2023-05-24 18:27:06,938 [run_push] DEBUG push all version tags [2023-05-24T18:27:07.262Z] 2023-05-24 18:27:06,939 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-24T18:27:07.262Z] 2023-05-24 18:27:06,939 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:27:07.831Z] 2023-05-24 18:27:07,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T18:27:07.831Z] 2.3.1-dev.12 [Pipeline] } [2023-05-24T18:27:07.847Z] $ docker exec --env ******** --env ******** bad7bf67fbb4d766616419416f2cab033149cc1382196ce0939a1f6286d33eb7 ssh-agent -k [2023-05-24T18:27:07.942Z] unset SSH_AUTH_SOCK; [2023-05-24T18:27:07.943Z] unset SSH_AGENT_PID; [2023-05-24T18:27:07.943Z] echo Agent pid 38 killed; [2023-05-24T18:27:07.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:27:08.250Z] + git semver [Pipeline] } [2023-05-24T18:27:08.529Z] $ docker stop --time=1 bad7bf67fbb4d766616419416f2cab033149cc1382196ce0939a1f6286d33eb7 [2023-05-24T18:27:09.793Z] $ docker rm -f --volumes bad7bf67fbb4d766616419416f2cab033149cc1382196ce0939a1f6286d33eb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-24T18:27:10.266Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-05-24T18:27:10.266Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T18:27:10.266Z] total 16 [2023-05-24T18:27:10.266Z] drwxr-xr-x 3 root root 4096 May 24 18:19 . [2023-05-24T18:27:10.266Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:26 .. [2023-05-24T18:27:10.266Z] drwxr-xr-x 2 root root 4096 May 24 18:19 cost [2023-05-24T18:27:10.266Z] -rw-r--r-- 1 root root 83 May 24 18:19 cost.csv [2023-05-24T18:27:10.266Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T18:27:10.266Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T18:27:10.266Z] total 16 [2023-05-24T18:27:10.266Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:19 . [2023-05-24T18:27:10.266Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:26 .. [2023-05-24T18:27:10.266Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 18:19 cost [2023-05-24T18:27:10.266Z] -rw-r--r-- 1 jenkins jenkins 83 May 24 18:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:10.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:11.418Z] ---> package-listing.sh [2023-05-24T18:27:11.418Z] ++ facter osfamily [2023-05-24T18:27:11.418Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T18:27:11.677Z] + OS_FAMILY=debian [2023-05-24T18:27:11.677Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-05-24T18:27:11.677Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T18:27:11.677Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T18:27:11.677Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T18:27:11.677Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T18:27:11.677Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-24T18:27:11.677Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T18:27:11.677Z] + case "${OS_FAMILY}" in [2023-05-24T18:27:11.677Z] + dpkg -l [2023-05-24T18:27:11.677Z] + grep '^ii' [2023-05-24T18:27:11.677Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T18:27:11.677Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T18:27:11.677Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T18:27:11.677Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-24T18:27:11.677Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-05-24T18:27:11.677Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-05-24T18:27:11.686Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-24T18:27:11.960Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:27:12.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:27:12.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:27:12.586Z] prd-ubuntu20.04-docker-8c-8g-16751 does not seem to be running inside a container [2023-05-24T18:27:12.626Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T18:27:12.828Z] $ docker top 0bf732cfe96b6cf9708ffdeed2fefe09123632680fbc28109b6450ec67263515 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:27:13.160Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T18:27:13.446Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T18:27:13.729Z] + ls /var/log/sa-host [2023-05-24T18:27:13.729Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:27:13.922Z] provisioning config files... [2023-05-24T18:27:13.931Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9092025482046227018tmp [Pipeline] { [Pipeline] echo [2023-05-24T18:27:13.946Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:14.230Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T18:27:14.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:14.576Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T18:27:14.586Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:14.866Z] ---> sudo-logs.sh [2023-05-24T18:27:14.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T18:27:14.891Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:15.173Z] ---> job-cost.sh [2023-05-24T18:27:15.173Z] lf-activate-venv: SKIPPING [2023-05-24T18:27:15.173Z] DEBUG: total: 0.2199999988079071 [2023-05-24T18:27:15.173Z] INFO: Retrieving Stack Cost... [2023-05-24T18:27:15.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:27:15.694Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T18:27:15.705Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:27:15.990Z] ---> logs-deploy.sh [2023-05-24T18:27:15.990Z] lf-activate-venv: SKIPPING [2023-05-24T18:27:15.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/46 [2023-05-24T18:27:15.990Z] INFO: archiving workspace using pattern(s): [2023-05-24T18:27:16.931Z] Archives upload complete. [2023-05-24T18:27:16.932Z] INFO: archiving logs to Nexus