Started by upstream project "edgexfoundry/cd-management/release" build number 144 originally caused by: Push event to branch release 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-ssh9391505076859816433.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-ssh8267794974843760428.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-ssh17731362638309405223.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-ssh15024217913058621978.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-ssh17423393437233034939.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16791 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 ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T21:36:18.707Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T21:36:18.764Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T21:36:18.785Z] ========================================================= [2023-05-24T21:36:18.786Z] EdgeX Global Pipelines Version Info [2023-05-24T21:36:18.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:36:19.500Z] ------------------- [2023-05-24T21:36:19.500Z] stable info: [2023-05-24T21:36:19.500Z] ------------------- [2023-05-24T21:36:19.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T21:36:19.500Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T21:36:19.500Z] Message: update stable to v1.0.249 [2023-05-24T21:36:20.071Z] ------------------- [2023-05-24T21:36:20.071Z] experimental info: [2023-05-24T21:36:20.071Z] ------------------- [2023-05-24T21:36:20.071Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T21:36:20.071Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T21:36:20.071Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T21:36:20.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-24T21:36:20.228Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-24T21:36:20.235Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T21:36:20.250Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T21:36:20.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T21:36:20.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-24T21:36:20.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-24T21:36:20.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T21:36:20.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T21:36:20.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-24T21:36:20.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T21:36:20.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T21:36:20.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T21:36:20.359Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T21:36:20.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T21:36:20.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T21:36:20.405Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T21:36:20.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-24T21:36:20.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-24T21:36:20.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-24T21:36:20.446Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T21:36:20.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad65e45 [Pipeline] echo [2023-05-24T21:36:20.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:36:20.512Z] provisioning config files... [2023-05-24T21:36:20.524Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8184822142129032593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:36:20.825Z] ---> docker-login.sh [2023-05-24T21:36:20.825Z] nexus3.edgexfoundry.org:10001 [2023-05-24T21:36:21.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:21.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:21.086Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:21.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:21.086Z] [2023-05-24T21:36:21.086Z] Login Succeeded [2023-05-24T21:36:21.086Z] nexus3.edgexfoundry.org:10002 [2023-05-24T21:36:21.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:21.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:21.086Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:21.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:21.086Z] [2023-05-24T21:36:21.086Z] Login Succeeded [2023-05-24T21:36:21.086Z] nexus3.edgexfoundry.org:10003 [2023-05-24T21:36:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:21.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:21.349Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:21.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:21.349Z] [2023-05-24T21:36:21.349Z] Login Succeeded [2023-05-24T21:36:21.349Z] nexus3.edgexfoundry.org:10004 [2023-05-24T21:36:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:21.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:21.349Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:21.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:21.349Z] [2023-05-24T21:36:21.349Z] Login Succeeded [2023-05-24T21:36:21.349Z] docker.io [2023-05-24T21:36:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:21.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:21.608Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:21.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:21.608Z] [2023-05-24T21:36:21.608Z] Login Succeeded [2023-05-24T21:36:21.608Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T21:36:21.616Z] 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-24T21:36:21.993Z] + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T21:36:22.046Z] -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh [2023-05-24T21:36:22.334Z] + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T21:36:22.349Z] ========================================================= [2023-05-24T21:36:22.349Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-24T21:36:22.349Z] ========================================================= 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-24T21:36:22.717Z] + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T21:36:22.728Z] -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh [2023-05-24T21:36:23.013Z] + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo [2023-05-24T21:36:23.026Z] ========================================================= [2023-05-24T21:36:23.026Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-24T21:36:23.026Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-24T21:36:23.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T21:36:23.390Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T21:36:23.390Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T21:36:23.390Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T21:36:23.390Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T21:36:23.390Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T21:36:23.390Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:36:23.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:36:23.731Z] [2023-05-24T21:36:23.731Z] 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-24T21:36:24.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:36:24.032Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T21:36:24.032Z] b85a868b505f: Pulling fs layer [2023-05-24T21:36:24.032Z] e2be974225ed: Pulling fs layer [2023-05-24T21:36:24.032Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T21:36:24.032Z] 988bab9f4d93: Pulling fs layer [2023-05-24T21:36:24.032Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T21:36:24.032Z] 988bab9f4d93: Waiting [2023-05-24T21:36:24.032Z] eaf3925da568: Pulling fs layer [2023-05-24T21:36:24.032Z] bab4dde63d76: Pulling fs layer [2023-05-24T21:36:24.032Z] 1469e6f7b9e6: Waiting [2023-05-24T21:36:24.032Z] bde34c3a00c8: Pulling fs layer [2023-05-24T21:36:24.032Z] b352a97aabf1: Pulling fs layer [2023-05-24T21:36:24.032Z] 4872d77fe225: Pulling fs layer [2023-05-24T21:36:24.032Z] 5851b861e8e6: Pulling fs layer [2023-05-24T21:36:24.032Z] eaf3925da568: Waiting [2023-05-24T21:36:24.032Z] bab4dde63d76: Waiting [2023-05-24T21:36:24.032Z] 4872d77fe225: Waiting [2023-05-24T21:36:24.032Z] 5851b861e8e6: Waiting [2023-05-24T21:36:24.032Z] bde34c3a00c8: Waiting [2023-05-24T21:36:24.032Z] b352a97aabf1: Waiting [2023-05-24T21:36:24.032Z] e2be974225ed: Verifying Checksum [2023-05-24T21:36:24.032Z] e2be974225ed: Download complete [2023-05-24T21:36:24.032Z] 988bab9f4d93: Verifying Checksum [2023-05-24T21:36:24.032Z] 988bab9f4d93: Download complete [2023-05-24T21:36:24.032Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T21:36:24.032Z] 1469e6f7b9e6: Download complete [2023-05-24T21:36:24.292Z] eaf3925da568: Download complete [2023-05-24T21:36:24.292Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T21:36:24.292Z] 339a4e72a1f5: Download complete [2023-05-24T21:36:24.292Z] bde34c3a00c8: Verifying Checksum [2023-05-24T21:36:24.292Z] bde34c3a00c8: Download complete [2023-05-24T21:36:24.292Z] b352a97aabf1: Download complete [2023-05-24T21:36:24.292Z] 4872d77fe225: Download complete [2023-05-24T21:36:24.292Z] 5851b861e8e6: Download complete [2023-05-24T21:36:24.292Z] b85a868b505f: Verifying Checksum [2023-05-24T21:36:24.292Z] b85a868b505f: Download complete [2023-05-24T21:36:24.550Z] bab4dde63d76: Verifying Checksum [2023-05-24T21:36:24.550Z] bab4dde63d76: Download complete [2023-05-24T21:36:25.484Z] b85a868b505f: Pull complete [2023-05-24T21:36:25.484Z] e2be974225ed: Pull complete [2023-05-24T21:36:26.053Z] 339a4e72a1f5: Pull complete [2023-05-24T21:36:26.053Z] 988bab9f4d93: Pull complete [2023-05-24T21:36:26.311Z] 1469e6f7b9e6: Pull complete [2023-05-24T21:36:26.311Z] eaf3925da568: Pull complete [2023-05-24T21:36:27.685Z] bab4dde63d76: Pull complete [2023-05-24T21:36:27.685Z] bde34c3a00c8: Pull complete [2023-05-24T21:36:27.948Z] b352a97aabf1: Pull complete [2023-05-24T21:36:27.948Z] 4872d77fe225: Pull complete [2023-05-24T21:36:28.208Z] 5851b861e8e6: Pull complete [2023-05-24T21:36:28.208Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T21:36:28.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:36:28.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:36:28.313Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:36:28.324Z] $ 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-24T21:36:29.605Z] $ docker top 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 -eo pid,comm [2023-05-24T21:36:29.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-24T21:36:29.679Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T21:36:29.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T21:36:29.711Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T21:36:29.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T21:36:29.798Z] $ docker exec 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent [2023-05-24T21:36:29.917Z] SSH_AUTH_SOCK=/tmp/ssh-7JadPASaQmTR/agent.31 [2023-05-24T21:36:29.917Z] SSH_AGENT_PID=38 [2023-05-24T21:36:29.923Z] Running ssh-add (command line suppressed) [2023-05-24T21:36:30.005Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2940304332220278480.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2940304332220278480.key) [2023-05-24T21:36:30.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T21:36:30.321Z] + git tag --points-at ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] } [2023-05-24T21:36:30.314Z] $ docker exec --env ******** --env ******** 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent -k [2023-05-24T21:36:30.419Z] unset SSH_AUTH_SOCK; [2023-05-24T21:36:30.419Z] unset SSH_AGENT_PID; [2023-05-24T21:36:30.420Z] echo Agent pid 38 killed; [2023-05-24T21:36:30.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-05-24T21:36:30.469Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.1-dev.11|v3.0.0' [Pipeline] sshagent [2023-05-24T21:36:30.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T21:36:30.487Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T21:36:30.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T21:36:30.569Z] $ docker exec 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent [2023-05-24T21:36:30.701Z] SSH_AUTH_SOCK=/tmp/ssh-bzjG50cXDZnf/agent.70 [2023-05-24T21:36:30.701Z] SSH_AGENT_PID=76 [2023-05-24T21:36:30.706Z] Running ssh-add (command line suppressed) [2023-05-24T21:36:30.779Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15269408175716664339.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15269408175716664339.key) [2023-05-24T21:36:30.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T21:36:31.096Z] + git semver init [2023-05-24T21:36:31.356Z] 2023-05-24 21:36:31,253 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T21:36:31.356Z] 2023-05-24 21:36:31,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-24T21:36:31.356Z] 2023-05-24 21:36:31,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-24T21:36:31.356Z] 2023-05-24 21:36:31,255 [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-24T21:36:32.298Z] 2023-05-24 21:36:32,042 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-05-24T21:36:32.298Z] 2023-05-24 21:36:32,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-05-24T21:36:32.298Z] 2023-05-24 21:36:32,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T21:36:32.298Z] 2023-05-24 21:36:32,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-24T21:36:32.298Z] 3.0.0 [Pipeline] } [2023-05-24T21:36:32.295Z] $ docker exec --env ******** --env ******** 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent -k [2023-05-24T21:36:32.383Z] unset SSH_AUTH_SOCK; [2023-05-24T21:36:32.384Z] unset SSH_AGENT_PID; [2023-05-24T21:36:32.384Z] echo Agent pid 76 killed; [2023-05-24T21:36:32.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T21:36:32.720Z] + git semver [Pipeline] } [2023-05-24T21:36:32.978Z] $ docker stop --time=1 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 [2023-05-24T21:36:34.238Z] $ docker rm -f --volumes 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T21:36:34.581Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T21:36:34.769Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T21:36:34.772Z] [edgeXSemver]: initialized semver on version 3.0.0 [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] sh [2023-05-24T21:36:35.173Z] + git checkout ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T21:36:35.173Z] HEAD is now at ad65e45 docs: update changelog and version number for Minnesota (#457) [2023-05-24T21:36:35.173Z] M VERSION [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:36:35.196Z] provisioning config files... [2023-05-24T21:36:35.204Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6609819661022491102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:36:35.490Z] ---> docker-login.sh [2023-05-24T21:36:35.490Z] nexus3.edgexfoundry.org:10001 [2023-05-24T21:36:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:35.490Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:35.490Z] [2023-05-24T21:36:35.490Z] Login Succeeded [2023-05-24T21:36:35.490Z] nexus3.edgexfoundry.org:10002 [2023-05-24T21:36:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:35.490Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:35.490Z] [2023-05-24T21:36:35.490Z] Login Succeeded [2023-05-24T21:36:35.490Z] nexus3.edgexfoundry.org:10003 [2023-05-24T21:36:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:35.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:35.749Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:35.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:35.749Z] [2023-05-24T21:36:35.749Z] Login Succeeded [2023-05-24T21:36:35.749Z] nexus3.edgexfoundry.org:10004 [2023-05-24T21:36:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:35.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:35.749Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:35.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:35.749Z] [2023-05-24T21:36:35.749Z] Login Succeeded [2023-05-24T21:36:35.749Z] docker.io [2023-05-24T21:36:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:36:36.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:36:36.009Z] Configure a credential helper to remove this warning. See [2023-05-24T21:36:36.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:36:36.009Z] [2023-05-24T21:36:36.009Z] Login Succeeded [2023-05-24T21:36:36.009Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T21:36:36.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T21:36:36.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:36:36.094Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-24T21:36:36.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:36:36.115Z] ========================================================= [2023-05-24T21:36:36.115Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-24T21:36:36.115Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:36:36.425Z] + 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-24T21:36:36.425Z] Sending build context to Docker daemon 4.846MB [2023-05-24T21:36:36.425Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T21:36:36.425Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T21:36:36.425Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-24T21:36:36.425Z] 91d30c5bc195: Pulling fs layer [2023-05-24T21:36:36.425Z] 316e5a4585fb: Pulling fs layer [2023-05-24T21:36:36.425Z] 91d30c5bc195: Verifying Checksum [2023-05-24T21:36:36.425Z] 91d30c5bc195: Download complete [2023-05-24T21:36:36.684Z] 91d30c5bc195: Pull complete [2023-05-24T21:36:37.252Z] 316e5a4585fb: Verifying Checksum [2023-05-24T21:36:37.252Z] 316e5a4585fb: Download complete [2023-05-24T21:36:39.791Z] 316e5a4585fb: Pull complete [2023-05-24T21:36:39.791Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-24T21:36:39.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-24T21:36:39.791Z] ---> e83ffa357ff4 [2023-05-24T21:36:39.791Z] 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-24T21:36:40.360Z] ---> Running in f7bca54e9f56 [2023-05-24T21:36:40.360Z] Connecting to iotech.jfrog.io (52.50.209.154:443) [2023-05-24T21:36:40.929Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:36:40.929Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:36:40.929Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:36:41.188Z] Removing intermediate container f7bca54e9f56 [2023-05-24T21:36:41.188Z] ---> ebc4910abb67 [2023-05-24T21:36:41.188Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:36:41.188Z] ---> Running in 89605a1a1123 [2023-05-24T21:36:41.756Z] Removing intermediate container 89605a1a1123 [2023-05-24T21:36:41.756Z] ---> 927a37fdfcc1 [2023-05-24T21:36:41.756Z] 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-24T21:36:41.756Z] ---> Running in 8ae15a127686 [2023-05-24T21:36:42.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:36:42.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:36:42.273Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:36:42.840Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:36:42.840Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T21:36:42.840Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T21:36:42.840Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T21:36:43.410Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T21:36:43.669Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T21:36:43.670Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T21:36:43.670Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T21:36:43.670Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T21:36:44.238Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T21:36:44.238Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T21:36:44.238Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T21:36:44.238Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T21:36:44.238Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T21:36:44.238Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T21:36:44.497Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:36:44.497Z] OK: 280 MiB in 90 packages [2023-05-24T21:36:44.756Z] Removing intermediate container 8ae15a127686 [2023-05-24T21:36:44.756Z] ---> 2467f8700858 [2023-05-24T21:36:44.756Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T21:36:44.756Z] ---> Running in 5864433d5b6f [2023-05-24T21:36:45.323Z] Removing intermediate container 5864433d5b6f [2023-05-24T21:36:45.323Z] ---> cd3da3fd94a4 [2023-05-24T21:36:45.323Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T21:36:45.582Z] ---> 6a56f396f2e6 [2023-05-24T21:36:45.582Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T21:36:45.841Z] ---> f33df5ae20d1 [2023-05-24T21:36:45.841Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T21:36:45.841Z] ---> b99e53f0c0ac [2023-05-24T21:36:45.841Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T21:36:46.100Z] ---> 73ac032e47db [2023-05-24T21:36:46.100Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T21:36:46.100Z] ---> 176f05fb9e7b [2023-05-24T21:36:46.100Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T21:36:46.361Z] ---> 4f9b7801c2bd [2023-05-24T21:36:46.361Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T21:36:46.361Z] ---> Running in ee9f041bb86e [2023-05-24T21:36:46.621Z] + CPPCHECK=false [2023-05-24T21:36:46.621Z] + DOCGEN=false [2023-05-24T21:36:46.621Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T21:36:46.621Z] + '[' 0 -gt 0 ] [2023-05-24T21:36:46.621Z] + readlink -f ./scripts/build.sh [2023-05-24T21:36:46.621Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T21:36:46.621Z] + dirname /tmp/sdk/scripts [2023-05-24T21:36:46.621Z] + ROOT=/tmp/sdk [2023-05-24T21:36:46.621Z] + cd /tmp/sdk [2023-05-24T21:36:46.621Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T21:36:46.621Z] + cd /tmp/sdk/build/release [2023-05-24T21:36:46.621Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T21:36:46.621Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T21:36:46.621Z] -- Detecting C compiler ABI info [2023-05-24T21:36:46.880Z] -- Detecting C compiler ABI info - done [2023-05-24T21:36:46.880Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T21:36:46.880Z] -- Detecting C compile features [2023-05-24T21:36:46.880Z] -- Detecting C compile features - done [2023-05-24T21:36:46.880Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T21:36:46.880Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T21:36:46.880Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T21:36:46.880Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T21:36:46.880Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T21:36:46.880Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T21:36:46.880Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T21:36:46.880Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T21:36:46.880Z] -- /opt/iotech/iot/1.5/include [2023-05-24T21:36:46.880Z] -- C SDK 3.0.0 for Linux [2023-05-24T21:36:46.880Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T21:36:46.880Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T21:36:46.880Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T21:36:46.880Z] -- Configuring done [2023-05-24T21:36:47.140Z] -- Generating done [2023-05-24T21:36:47.140Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T21:36:47.140Z] + make all package [2023-05-24T21:36:47.140Z] + tee release.log [2023-05-24T21:36:47.140Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T21:36:47.140Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T21:36:47.398Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T21:36:47.398Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T21:36:47.658Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T21:36:47.658Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T21:36:48.227Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T21:36:48.227Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T21:36:48.227Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T21:36:48.487Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T21:36:48.746Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T21:36:49.005Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T21:36:49.005Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T21:36:49.264Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T21:36:49.264Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T21:36:49.522Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T21:36:49.522Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T21:36:49.864Z] Still waiting to schedule task [2023-05-24T21:36:49.864Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-24T21:36:50.093Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T21:36:50.093Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T21:36:50.093Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T21:36:50.354Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T21:36:51.295Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T21:36:51.295Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T21:36:51.295Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T21:36:51.555Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T21:36:51.555Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T21:36:51.815Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T21:36:52.386Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T21:36:52.386Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T21:36:52.386Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T21:36:52.647Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T21:36:53.214Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T21:36:53.214Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T21:36:53.214Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T21:36:53.214Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T21:36:53.473Z] [ 68%] Built target csdk [2023-05-24T21:36:53.473Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T21:36:53.473Z] [ 72%] Linking C executable template [2023-05-24T21:36:53.733Z] [ 72%] Built target template [2023-05-24T21:36:53.733Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T21:36:53.733Z] [ 76%] Linking C executable device-counter [2023-05-24T21:36:53.733Z] [ 76%] Built target device-counter [2023-05-24T21:36:53.733Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T21:36:53.992Z] [ 80%] Linking C executable device-random [2023-05-24T21:36:53.992Z] [ 80%] Built target device-random [2023-05-24T21:36:53.992Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T21:36:53.992Z] [ 84%] Linking C executable device-gyro [2023-05-24T21:36:54.252Z] [ 84%] Built target device-gyro [2023-05-24T21:36:54.252Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T21:36:54.252Z] [ 88%] Linking C executable device-bitfields [2023-05-24T21:36:54.252Z] [ 88%] Built target device-bitfields [2023-05-24T21:36:54.252Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T21:36:54.511Z] [ 92%] Linking C executable template-discovery [2023-05-24T21:36:54.511Z] [ 92%] Built target template-discovery [2023-05-24T21:36:54.511Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T21:36:54.771Z] [ 96%] Linking C executable device-file [2023-05-24T21:36:54.771Z] [ 96%] Built target device-file [2023-05-24T21:36:54.771Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T21:36:55.029Z] [100%] Linking C executable device-terminal [2023-05-24T21:36:55.029Z] [100%] Built target device-terminal [2023-05-24T21:36:55.029Z] Run CPack packaging tool... [2023-05-24T21:36:55.029Z] CPack: Create package using TGZ [2023-05-24T21:36:55.029Z] CPack: Install projects [2023-05-24T21:36:55.029Z] CPack: - Run preinstall target for: Csdk [2023-05-24T21:36:55.287Z] CPack: - Install project: Csdk [] [2023-05-24T21:36:55.287Z] CPack: Create package [2023-05-24T21:36:55.287Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.0.tar.gz generated. [2023-05-24T21:36:55.287Z] + '[' false '=' true ] [2023-05-24T21:36:55.287Z] + '[' false '=' true ] [2023-05-24T21:36:55.287Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T21:36:55.287Z] + cd /tmp/sdk/build/debug [2023-05-24T21:36:55.287Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T21:36:55.287Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T21:36:55.287Z] -- Detecting C compiler ABI info [2023-05-24T21:36:55.287Z] -- Detecting C compiler ABI info - done [2023-05-24T21:36:55.545Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T21:36:55.545Z] -- Detecting C compile features [2023-05-24T21:36:55.545Z] -- Detecting C compile features - done [2023-05-24T21:36:55.545Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T21:36:55.545Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T21:36:55.545Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T21:36:55.545Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T21:36:55.545Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T21:36:55.545Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T21:36:55.545Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T21:36:55.545Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T21:36:55.545Z] -- /opt/iotech/iot/1.5/include [2023-05-24T21:36:55.545Z] -- C SDK 3.0.0 for Linux [2023-05-24T21:36:55.545Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T21:36:55.545Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T21:36:55.545Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T21:36:55.545Z] -- Configuring done [2023-05-24T21:36:55.545Z] -- Generating done [2023-05-24T21:36:55.545Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T21:36:55.545Z] + make+ [2023-05-24T21:36:55.545Z] tee debug.log [2023-05-24T21:36:55.810Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T21:36:55.810Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T21:36:55.810Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T21:36:56.069Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T21:36:56.069Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T21:36:56.069Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T21:36:56.328Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T21:36:56.328Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T21:36:56.328Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T21:36:56.328Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T21:36:56.587Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T21:36:56.587Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T21:36:56.846Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T21:36:56.846Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T21:36:56.846Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T21:36:56.846Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T21:36:57.107Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T21:36:57.107Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T21:36:57.107Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T21:36:57.367Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T21:36:57.367Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T21:36:57.626Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T21:36:57.626Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T21:36:57.626Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T21:36:57.885Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T21:36:57.885Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T21:36:57.885Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T21:36:58.144Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T21:36:58.403Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T21:36:58.403Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T21:36:58.403Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T21:36:58.662Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T21:36:58.662Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T21:36:58.662Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T21:36:58.921Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T21:36:58.921Z] [ 68%] Built target csdk [2023-05-24T21:36:58.921Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T21:36:58.921Z] [ 72%] Linking C executable template [2023-05-24T21:36:58.921Z] [ 72%] Built target template [2023-05-24T21:36:58.921Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T21:36:59.179Z] [ 76%] Linking C executable device-counter [2023-05-24T21:36:59.179Z] [ 76%] Built target device-counter [2023-05-24T21:36:59.179Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T21:36:59.179Z] [ 80%] Linking C executable device-random [2023-05-24T21:36:59.179Z] [ 80%] Built target device-random [2023-05-24T21:36:59.179Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T21:36:59.439Z] [ 84%] Linking C executable device-gyro [2023-05-24T21:36:59.439Z] [ 84%] Built target device-gyro [2023-05-24T21:36:59.439Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T21:36:59.439Z] [ 88%] Linking C executable device-bitfields [2023-05-24T21:36:59.439Z] [ 88%] Built target device-bitfields [2023-05-24T21:36:59.698Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T21:36:59.698Z] [ 92%] Linking C executable template-discovery [2023-05-24T21:36:59.698Z] [ 92%] Built target template-discovery [2023-05-24T21:36:59.698Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T21:36:59.698Z] [ 96%] Linking C executable device-file [2023-05-24T21:36:59.956Z] [ 96%] Built target device-file [2023-05-24T21:36:59.956Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T21:36:59.956Z] [100%] Linking C executable device-terminal [2023-05-24T21:36:59.956Z] [100%] Built target device-terminal [2023-05-24T21:36:59.956Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:36:59.956Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:36:59.956Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:36:59.956Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:36:59.956Z] [ 68%] Built target csdk [2023-05-24T21:36:59.956Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:36:59.956Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 72%] Built target template [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 76%] Built target device-counter [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 80%] Built target device-random [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 84%] Built target device-gyro [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 88%] Built target device-bitfields [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 92%] Built target template-discovery [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [ 96%] Built target device-file [2023-05-24T21:37:00.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] [100%] Built target device-terminal [2023-05-24T21:37:00.213Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.213Z] Install the project... [2023-05-24T21:37:00.213Z] -- Install configuration: "Release" [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T21:37:00.213Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/devsdk [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T21:37:00.213Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T21:37:00.213Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:37:00.779Z] Removing intermediate container ee9f041bb86e [2023-05-24T21:37:00.780Z] ---> 8f253fbe6cb6 [2023-05-24T21:37:00.780Z] Step 14/21 : FROM ${BASE} [2023-05-24T21:37:00.780Z] ---> e83ffa357ff4 [2023-05-24T21:37:00.780Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T21:37:00.780Z] ---> Running in ad5af25d1d9f [2023-05-24T21:37:00.780Z] Removing intermediate container ad5af25d1d9f [2023-05-24T21:37:00.780Z] ---> a9861421a2f3 [2023-05-24T21:37:00.780Z] 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-24T21:37:00.780Z] ---> Running in 9dddd6de22bc [2023-05-24T21:37:01.038Z] Connecting to iotech.jfrog.io (52.212.11.232:443) [2023-05-24T21:37:01.604Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:37:01.604Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:37:01.604Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:37:01.862Z] Removing intermediate container 9dddd6de22bc [2023-05-24T21:37:01.862Z] ---> 5dacf6005e47 [2023-05-24T21:37:01.862Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:37:01.862Z] ---> Running in 4f248c659fec [2023-05-24T21:37:02.428Z] Removing intermediate container 4f248c659fec [2023-05-24T21:37:02.428Z] ---> 5b0c8cffd1d3 [2023-05-24T21:37:02.428Z] 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-24T21:37:02.428Z] ---> Running in f1ddd877676b [2023-05-24T21:37:02.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:02.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:02.944Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:03.510Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:37:03.510Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T21:37:03.510Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T21:37:03.510Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T21:37:03.510Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T21:37:04.077Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T21:37:04.077Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T21:37:04.077Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T21:37:05.015Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:37:05.016Z] OK: 276 MiB in 83 packages [2023-05-24T21:37:05.274Z] Removing intermediate container f1ddd877676b [2023-05-24T21:37:05.274Z] ---> a937da4835b7 [2023-05-24T21:37:05.274Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T21:37:05.274Z] ---> 1382070449c5 [2023-05-24T21:37:05.274Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T21:37:05.548Z] ---> 80a1b9276ecf [2023-05-24T21:37:05.548Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T21:37:05.548Z] ---> a6ec4b6a3d6e [2023-05-24T21:37:05.548Z] Successfully built a6ec4b6a3d6e [2023-05-24T21:37:05.806Z] 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-24T21:37:06.179Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T21:37:06.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:37:06.250Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:37:06.284Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T21:37:06.628Z] $ docker top 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:37:06.961Z] + make test [2023-05-24T21:37:06.961Z] echo "make test" [2023-05-24T21:37:06.961Z] make test [Pipeline] } [2023-05-24T21:37:06.978Z] $ docker stop --time=1 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 [2023-05-24T21:37:08.231Z] $ docker rm -f --volumes 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T21:37:08.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T21:37:09.140Z] + ls -al . [2023-05-24T21:37:09.141Z] total 212 [2023-05-24T21:37:09.141Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 21:36 . [2023-05-24T21:37:09.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 .. [2023-05-24T21:37:09.141Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:36 .git [2023-05-24T21:37:09.141Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 .github [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 21:36 .gitignore [2023-05-24T21:37:09.141Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:36 .semver [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 21:36 Attribution.txt [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 21:36 CHANGES [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 21:36 Doxyfile [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:36 GOVERNANCE.md [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 21:36 Jenkinsfile [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 21:36 LICENSE [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 21:36 Makefile [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 21:36 OWNERS.md [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 21:36 README.IOT.md [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 21:36 README.md [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 21:36 README.v3.md [2023-05-24T21:37:09.141Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:36 VERSION [2023-05-24T21:37:09.141Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 docs [2023-05-24T21:37:09.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 include [2023-05-24T21:37:09.141Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 scripts [2023-05-24T21:37:09.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:37:09.444Z] + 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=3.0.0 . [2023-05-24T21:37:09.444Z] Sending build context to Docker daemon 4.846MB [2023-05-24T21:37:09.444Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T21:37:09.444Z] Step 2/17 : FROM ${BASE} [2023-05-24T21:37:09.444Z] ---> a6ec4b6a3d6e [2023-05-24T21:37:09.444Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T21:37:09.444Z] ---> Running in 645a29644edd [2023-05-24T21:37:09.444Z] Removing intermediate container 645a29644edd [2023-05-24T21:37:09.444Z] ---> fd72d5f43535 [2023-05-24T21:37:09.444Z] 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-24T21:37:09.444Z] ---> Running in a0aa81ac4e6d [2023-05-24T21:37:09.704Z] Connecting to iotech.jfrog.io (52.19.119.212:443) [2023-05-24T21:37:10.274Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:37:10.274Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:37:10.274Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:37:10.533Z] Removing intermediate container a0aa81ac4e6d [2023-05-24T21:37:10.533Z] ---> 13e678b8bf0b [2023-05-24T21:37:10.533Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:37:10.533Z] ---> Running in ff76daabe4ae [2023-05-24T21:37:11.102Z] Removing intermediate container ff76daabe4ae [2023-05-24T21:37:11.102Z] ---> 9c79cb6bb3f7 [2023-05-24T21:37:11.102Z] 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-24T21:37:11.102Z] ---> Running in 8db06191015c [2023-05-24T21:37:11.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:11.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:11.620Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:37:11.880Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:37:12.140Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T21:37:12.399Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T21:37:12.399Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T21:37:12.399Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T21:37:12.399Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T21:37:12.399Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T21:37:12.399Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T21:37:12.659Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T21:37:12.659Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T21:37:12.659Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:37:12.659Z] OK: 281 MiB in 92 packages [2023-05-24T21:37:13.226Z] Removing intermediate container 8db06191015c [2023-05-24T21:37:13.226Z] ---> d4990df290a0 [2023-05-24T21:37:13.226Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T21:37:13.226Z] ---> 78944b95fe3a [2023-05-24T21:37:13.226Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T21:37:13.226Z] ---> 3734b86e1e1c [2023-05-24T21:37:13.226Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T21:37:13.487Z] ---> 7afbea1512d9 [2023-05-24T21:37:13.487Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T21:37:13.487Z] ---> fd9b067fed7f [2023-05-24T21:37:13.487Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T21:37:13.747Z] ---> 5efaba3e6e6d [2023-05-24T21:37:13.747Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T21:37:13.747Z] ---> 238d3e8f0c87 [2023-05-24T21:37:13.747Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T21:37:13.747Z] ---> Running in d7231682d1b3 [2023-05-24T21:37:14.027Z] Removing intermediate container d7231682d1b3 [2023-05-24T21:37:14.027Z] ---> 07e6eae87a07 [2023-05-24T21:37:14.027Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T21:37:14.027Z] ---> Running in 70b67f8e8665 [2023-05-24T21:37:14.027Z] Removing intermediate container 70b67f8e8665 [2023-05-24T21:37:14.027Z] ---> a092a431eb23 [2023-05-24T21:37:14.027Z] Step 15/17 : LABEL arch=amd64 [2023-05-24T21:37:14.027Z] ---> Running in afd5f8c83c00 [2023-05-24T21:37:14.027Z] Removing intermediate container afd5f8c83c00 [2023-05-24T21:37:14.027Z] ---> 4ca33543d3cf [2023-05-24T21:37:14.027Z] Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T21:37:14.287Z] ---> Running in 6d5e7b7b3d36 [2023-05-24T21:37:14.287Z] Removing intermediate container 6d5e7b7b3d36 [2023-05-24T21:37:14.287Z] ---> ef5774eeb786 [2023-05-24T21:37:14.287Z] Step 17/17 : LABEL version=3.0.0 [2023-05-24T21:37:14.287Z] ---> Running in e68a44acc45d [2023-05-24T21:37:14.287Z] Removing intermediate container e68a44acc45d [2023-05-24T21:37:14.287Z] ---> 51c36508d519 [2023-05-24T21:37:14.287Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-24T21:37:14.287Z] Successfully built 51c36508d519 [2023-05-24T21:37:14.287Z] 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-24T21:37:14.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:37:14.749Z] [2023-05-24T21:37:14.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:37:15.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:37:15.045Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T21:37:15.045Z] 5eb5b503b376: Pulling fs layer [2023-05-24T21:37:15.045Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T21:37:15.045Z] ec43610c2a17: Pulling fs layer [2023-05-24T21:37:15.045Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T21:37:15.045Z] 33b1e0a273af: Pulling fs layer [2023-05-24T21:37:15.045Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T21:37:15.045Z] 2f39f015ded8: Pulling fs layer [2023-05-24T21:37:15.045Z] 33b1e0a273af: Waiting [2023-05-24T21:37:15.045Z] 2f39f015ded8: Waiting [2023-05-24T21:37:15.045Z] 5d3b04190fa2: Waiting [2023-05-24T21:37:15.045Z] 3a2ae6a8a46f: Waiting [2023-05-24T21:37:15.045Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T21:37:15.045Z] 5c69ac0246d0: Download complete [2023-05-24T21:37:15.045Z] 3a2ae6a8a46f: Download complete [2023-05-24T21:37:15.045Z] 33b1e0a273af: Verifying Checksum [2023-05-24T21:37:15.045Z] 33b1e0a273af: Download complete [2023-05-24T21:37:15.045Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T21:37:15.045Z] 5d3b04190fa2: Download complete [2023-05-24T21:37:15.045Z] ec43610c2a17: Verifying Checksum [2023-05-24T21:37:15.045Z] ec43610c2a17: Download complete [2023-05-24T21:37:15.304Z] 5eb5b503b376: Verifying Checksum [2023-05-24T21:37:15.305Z] 5eb5b503b376: Download complete [2023-05-24T21:37:15.873Z] 2f39f015ded8: Download complete [2023-05-24T21:37:16.441Z] 5eb5b503b376: Pull complete [2023-05-24T21:37:16.441Z] 5c69ac0246d0: Pull complete [2023-05-24T21:37:17.006Z] ec43610c2a17: Pull complete [2023-05-24T21:37:17.006Z] 3a2ae6a8a46f: Pull complete [2023-05-24T21:37:17.265Z] 33b1e0a273af: Pull complete [2023-05-24T21:37:17.265Z] 5d3b04190fa2: Pull complete [2023-05-24T21:37:21.465Z] 2f39f015ded8: Pull complete [2023-05-24T21:37:21.465Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T21:37:21.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:37:21.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:37:21.542Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:37:21.579Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T21:37:23.022Z] $ docker top 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:37:23.408Z] ---> job-cost.sh [2023-05-24T21:37:23.409Z] lf-activate-venv: SKIPPING [2023-05-24T21:37:23.409Z] INFO: No Stack... [2023-05-24T21:37:23.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T21:37:24.237Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T21:37:24.618Z] + + cut -d, -f6 [2023-05-24T21:37:24.618Z] cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock [2023-05-24T21:37:24.639Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [2023-05-24T21:37:24.645Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] did not exist. Created. [2023-05-24T21:37:24.645Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T21:37:24.997Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T21:37:25.081Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T21:37:25.088Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T21:37:25.118Z] $ docker stop --time=1 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 [2023-05-24T21:37:26.271Z] $ docker rm -f --volumes 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T21:38:25.580Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16792 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-05-24T21:38:25.592Z] Running in /w/workspace/device-sdk-c/47 [Pipeline] { [Pipeline] checkout [2023-05-24T21:38:25.625Z] Selected Git installation does not exist. Using Default [2023-05-24T21:38:25.625Z] The recommended git tool is: NONE [2023-05-24T21:38:31.083Z] using credential edgex-jenkins-ssh [2023-05-24T21:38:31.105Z] Cloning the remote Git repository [2023-05-24T21:38:31.173Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T21:38:31.264Z] > git init /w/workspace/device-sdk-c/47 # timeout=10 [2023-05-24T21:38:31.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T21:38:31.420Z] > git --version # timeout=10 [2023-05-24T21:38:31.447Z] > git --version # 'git version 2.25.1' [2023-05-24T21:38:31.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T21:38:31.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T21:38:32.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-24T21:38:32.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T21:38:33.683Z] Avoid second fetch [2023-05-24T21:38:33.683Z] Checking out Revision ad65e45309f8995a17d27a3f59962ea35e988788 (main) [2023-05-24T21:38:34.291Z] Commit message: "docs: update changelog and version number for Minnesota (#457)" [2023-05-24T21:38:33.702Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T21:38:33.771Z] > git checkout -f ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T21:38:35.269Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T21:38:35.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T21:38:35.269Z] Dload Upload Total Spent Left Speed [2023-05-24T21:38:35.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-05-24T21:38:35.960Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T21:38:36.301Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T21:38:36.301Z] + sudo tee /etc/docker/daemon.new [2023-05-24T21:38:36.301Z] { [2023-05-24T21:38:36.301Z] "registry-mirrors": [ [2023-05-24T21:38:36.301Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T21:38:36.301Z] ], [2023-05-24T21:38:36.301Z] "bip": "10.250.0.254/24", [2023-05-24T21:38:36.301Z] "hosts": [ [2023-05-24T21:38:36.301Z] "tcp://0.0.0.0:5555", [2023-05-24T21:38:36.301Z] "unix:///var/run/docker.sock" [2023-05-24T21:38:36.301Z] ], [2023-05-24T21:38:36.301Z] "mtu": 1458, [2023-05-24T21:38:36.301Z] "selinux-enabled": true, [2023-05-24T21:38:36.301Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T21:38:36.301Z] } [Pipeline] sh [2023-05-24T21:38:36.648Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T21:38:36.989Z] + sudo service docker restart [Pipeline] sh [2023-05-24T21:38:55.582Z] + git checkout ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T21:38:55.582Z] HEAD is now at ad65e45 docs: update changelog and version number for Minnesota (#457) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:38:55.614Z] provisioning config files... [2023-05-24T21:38:55.643Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/47@tmp/config14485544513537475650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:38:56.000Z] ---> docker-login.sh [2023-05-24T21:38:56.001Z] nexus3.edgexfoundry.org:10001 [2023-05-24T21:38:56.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:38:56.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:38:56.600Z] Configure a credential helper to remove this warning. See [2023-05-24T21:38:56.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:38:56.600Z] [2023-05-24T21:38:56.600Z] Login Succeeded [2023-05-24T21:38:56.600Z] nexus3.edgexfoundry.org:10002 [2023-05-24T21:38:56.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:38:57.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:38:57.146Z] Configure a credential helper to remove this warning. See [2023-05-24T21:38:57.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:38:57.146Z] [2023-05-24T21:38:57.146Z] Login Succeeded [2023-05-24T21:38:57.146Z] nexus3.edgexfoundry.org:10003 [2023-05-24T21:38:57.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:38:57.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:38:57.417Z] Configure a credential helper to remove this warning. See [2023-05-24T21:38:57.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:38:57.417Z] [2023-05-24T21:38:57.417Z] Login Succeeded [2023-05-24T21:38:57.417Z] nexus3.edgexfoundry.org:10004 [2023-05-24T21:38:57.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:38:57.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:38:57.959Z] Configure a credential helper to remove this warning. See [2023-05-24T21:38:57.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:38:57.959Z] [2023-05-24T21:38:57.959Z] Login Succeeded [2023-05-24T21:38:57.959Z] docker.io [2023-05-24T21:38:57.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:38:58.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:38:58.229Z] Configure a credential helper to remove this warning. See [2023-05-24T21:38:58.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:38:58.229Z] [2023-05-24T21:38:58.229Z] Login Succeeded [2023-05-24T21:38:58.229Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T21:38:58.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T21:38:58.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:38:58.522Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-24T21:38:58.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:38:58.543Z] ========================================================= [2023-05-24T21:38:58.543Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-24T21:38:58.543Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:38:58.885Z] + 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-24T21:38:59.156Z] Sending build context to Docker daemon 2.9MB [2023-05-24T21:38:59.156Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T21:38:59.156Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T21:38:59.426Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-24T21:38:59.426Z] 547446be3368: Pulling fs layer [2023-05-24T21:38:59.426Z] 76bd08e1cacc: Pulling fs layer [2023-05-24T21:38:59.426Z] 547446be3368: Verifying Checksum [2023-05-24T21:38:59.426Z] 547446be3368: Download complete [2023-05-24T21:39:00.020Z] 547446be3368: Pull complete [2023-05-24T21:39:01.982Z] 76bd08e1cacc: Verifying Checksum [2023-05-24T21:39:01.982Z] 76bd08e1cacc: Download complete [2023-05-24T21:39:10.224Z] 76bd08e1cacc: Pull complete [2023-05-24T21:39:10.224Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-24T21:39:10.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-24T21:39:10.224Z] ---> 295cd00e64f4 [2023-05-24T21:39:10.224Z] 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-24T21:39:10.493Z] ---> Running in 942bef7a34bf [2023-05-24T21:39:11.461Z] Connecting to iotech.jfrog.io (46.137.53.172:443) [2023-05-24T21:39:12.049Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:39:12.049Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:39:12.049Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:39:12.650Z] Removing intermediate container 942bef7a34bf [2023-05-24T21:39:12.650Z] ---> 33f18a543658 [2023-05-24T21:39:12.650Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:39:12.650Z] ---> Running in b26c372b0e90 [2023-05-24T21:39:14.632Z] Removing intermediate container b26c372b0e90 [2023-05-24T21:39:14.632Z] ---> a0399e411ad6 [2023-05-24T21:39:14.632Z] 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-24T21:39:14.632Z] ---> Running in 15ad3e83955c [2023-05-24T21:39:15.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:39:15.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:39:16.194Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:39:17.159Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:39:17.159Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T21:39:17.159Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T21:39:17.159Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T21:39:17.791Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T21:39:18.068Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T21:39:18.068Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T21:39:18.068Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T21:39:18.068Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T21:39:19.045Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T21:39:19.045Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T21:39:19.045Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T21:39:19.045Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T21:39:19.045Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T21:39:19.045Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T21:39:19.045Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:39:19.045Z] OK: 286 MiB in 90 packages [2023-05-24T21:39:20.459Z] Removing intermediate container 15ad3e83955c [2023-05-24T21:39:20.459Z] ---> 90e158bfdf32 [2023-05-24T21:39:20.459Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T21:39:20.459Z] ---> Running in 99e731f60483 [2023-05-24T21:39:21.873Z] Removing intermediate container 99e731f60483 [2023-05-24T21:39:21.873Z] ---> 48d28c21a727 [2023-05-24T21:39:21.873Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T21:39:22.467Z] ---> 3f2ffec7d43a [2023-05-24T21:39:22.467Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T21:39:23.428Z] ---> 544fc2faa72a [2023-05-24T21:39:23.428Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T21:39:23.696Z] ---> 1ab9680633f9 [2023-05-24T21:39:23.696Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T21:39:24.281Z] ---> cb88b1845db6 [2023-05-24T21:39:24.281Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T21:39:24.554Z] ---> 6cfdaca7263f [2023-05-24T21:39:24.554Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T21:39:25.140Z] ---> ee37e52bcd16 [2023-05-24T21:39:25.140Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T21:39:25.140Z] ---> Running in ec823ea53153 [2023-05-24T21:39:26.102Z] + CPPCHECK=false [2023-05-24T21:39:26.102Z] + DOCGEN=false [2023-05-24T21:39:26.102Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T21:39:26.102Z] + '[' 0 -gt 0 ] [2023-05-24T21:39:26.102Z] + readlink -f ./scripts/build.sh [2023-05-24T21:39:26.102Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T21:39:26.102Z] + dirname /tmp/sdk/scripts [2023-05-24T21:39:26.102Z] + ROOT=/tmp/sdk [2023-05-24T21:39:26.102Z] + cd /tmp/sdk [2023-05-24T21:39:26.102Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T21:39:26.102Z] + cd /tmp/sdk/build/release [2023-05-24T21:39:26.102Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T21:39:26.368Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T21:39:26.636Z] -- Detecting C compiler ABI info [2023-05-24T21:39:26.904Z] -- Detecting C compiler ABI info - done [2023-05-24T21:39:26.904Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T21:39:26.904Z] -- Detecting C compile features [2023-05-24T21:39:26.904Z] -- Detecting C compile features - done [2023-05-24T21:39:26.904Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T21:39:27.171Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T21:39:27.171Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T21:39:27.171Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T21:39:27.171Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T21:39:27.171Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T21:39:27.171Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T21:39:27.171Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T21:39:27.171Z] -- /opt/iotech/iot/1.5/include [2023-05-24T21:39:27.171Z] -- C SDK 3.0.0 for Linux [2023-05-24T21:39:27.171Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T21:39:27.441Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T21:39:27.711Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T21:39:27.979Z] -- Configuring done [2023-05-24T21:39:28.248Z] -- Generating done [2023-05-24T21:39:28.248Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T21:39:28.248Z] + make all package [2023-05-24T21:39:28.248Z] + tee release.log [2023-05-24T21:39:28.248Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T21:39:29.210Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T21:39:30.623Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T21:39:31.221Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T21:39:32.178Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T21:39:33.138Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T21:39:35.718Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T21:39:36.681Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T21:39:36.947Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T21:39:37.901Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T21:39:40.478Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T21:39:41.437Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T21:39:42.395Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T21:39:43.352Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T21:39:43.932Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T21:39:44.887Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T21:39:45.153Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T21:39:47.727Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T21:39:47.996Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T21:39:48.954Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T21:39:50.358Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T21:39:56.995Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T21:39:56.995Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T21:39:57.262Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T21:39:57.844Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T21:39:58.110Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T21:40:00.048Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T21:40:02.628Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T21:40:02.894Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T21:40:03.857Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T21:40:04.438Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T21:40:07.769Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T21:40:08.727Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T21:40:09.309Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T21:40:09.897Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T21:40:10.164Z] [ 68%] Built target csdk [2023-05-24T21:40:10.164Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T21:40:11.122Z] [ 72%] Linking C executable template [2023-05-24T21:40:11.390Z] [ 72%] Built target template [2023-05-24T21:40:11.390Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T21:40:12.354Z] [ 76%] Linking C executable device-counter [2023-05-24T21:40:12.620Z] [ 76%] Built target device-counter [2023-05-24T21:40:12.620Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T21:40:13.202Z] [ 80%] Linking C executable device-random [2023-05-24T21:40:13.468Z] [ 80%] Built target device-random [2023-05-24T21:40:13.468Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T21:40:14.049Z] [ 84%] Linking C executable device-gyro [2023-05-24T21:40:14.316Z] [ 84%] Built target device-gyro [2023-05-24T21:40:14.582Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T21:40:15.163Z] [ 88%] Linking C executable device-bitfields [2023-05-24T21:40:15.431Z] [ 88%] Built target device-bitfields [2023-05-24T21:40:15.431Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T21:40:16.842Z] [ 92%] Linking C executable template-discovery [2023-05-24T21:40:17.110Z] [ 92%] Built target template-discovery [2023-05-24T21:40:17.110Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T21:40:18.069Z] [ 96%] Linking C executable device-file [2023-05-24T21:40:18.336Z] [ 96%] Built target device-file [2023-05-24T21:40:18.603Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T21:40:19.564Z] [100%] Linking C executable device-terminal [2023-05-24T21:40:19.829Z] [100%] Built target device-terminal [2023-05-24T21:40:19.829Z] Run CPack packaging tool... [2023-05-24T21:40:19.829Z] CPack: Create package using TGZ [2023-05-24T21:40:19.829Z] CPack: Install projects [2023-05-24T21:40:19.829Z] CPack: - Run preinstall target for: Csdk [2023-05-24T21:40:20.789Z] CPack: - Install project: Csdk [] [2023-05-24T21:40:20.789Z] CPack: Create package [2023-05-24T21:40:20.789Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.0.tar.gz generated. [2023-05-24T21:40:20.789Z] + '[' false '=' true ] [2023-05-24T21:40:20.789Z] + '[' false '=' true ] [2023-05-24T21:40:20.789Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T21:40:20.789Z] + cd /tmp/sdk/build/debug [2023-05-24T21:40:20.789Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T21:40:21.055Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T21:40:21.055Z] -- Detecting C compiler ABI info [2023-05-24T21:40:21.321Z] -- Detecting C compiler ABI info - done [2023-05-24T21:40:21.587Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T21:40:21.587Z] -- Detecting C compile features [2023-05-24T21:40:21.587Z] -- Detecting C compile features - done [2023-05-24T21:40:21.587Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T21:40:21.587Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T21:40:21.587Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T21:40:21.854Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T21:40:21.854Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T21:40:21.854Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T21:40:21.854Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T21:40:21.854Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T21:40:21.854Z] -- /opt/iotech/iot/1.5/include [2023-05-24T21:40:21.854Z] -- C SDK 3.0.0 for Linux [2023-05-24T21:40:21.854Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T21:40:24.424Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T21:40:24.424Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T21:40:24.690Z] -- Configuring done [2023-05-24T21:40:24.957Z] -- Generating done [2023-05-24T21:40:24.957Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T21:40:24.957Z] + + maketee [2023-05-24T21:40:24.957Z] debug.log [2023-05-24T21:40:24.957Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T21:40:25.539Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T21:40:26.121Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T21:40:26.386Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T21:40:26.967Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T21:40:27.232Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T21:40:28.186Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T21:40:28.452Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T21:40:28.718Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T21:40:29.299Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T21:40:29.881Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T21:40:30.463Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T21:40:31.047Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T21:40:31.629Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T21:40:31.896Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T21:40:32.479Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T21:40:32.747Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T21:40:33.703Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T21:40:33.969Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T21:40:34.240Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T21:40:35.200Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T21:40:36.606Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T21:40:36.874Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T21:40:37.142Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T21:40:37.722Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T21:40:37.990Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T21:40:38.574Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T21:40:40.515Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T21:40:40.515Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T21:40:41.098Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T21:40:41.365Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T21:40:42.326Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T21:40:42.908Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T21:40:43.174Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T21:40:43.440Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T21:40:43.706Z] [ 68%] Built target csdk [2023-05-24T21:40:43.706Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T21:40:44.286Z] [ 72%] Linking C executable template [2023-05-24T21:40:44.552Z] [ 72%] Built target template [2023-05-24T21:40:44.552Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T21:40:44.819Z] [ 76%] Linking C executable device-counter [2023-05-24T21:40:45.402Z] [ 76%] Built target device-counter [2023-05-24T21:40:45.402Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T21:40:45.669Z] [ 80%] Linking C executable device-random [2023-05-24T21:40:45.936Z] [ 80%] Built target device-random [2023-05-24T21:40:45.936Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T21:40:46.518Z] [ 84%] Linking C executable device-gyro [2023-05-24T21:40:46.785Z] [ 84%] Built target device-gyro [2023-05-24T21:40:46.785Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T21:40:47.051Z] [ 88%] Linking C executable device-bitfields [2023-05-24T21:40:47.316Z] [ 88%] Built target device-bitfields [2023-05-24T21:40:47.316Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T21:40:47.898Z] [ 92%] Linking C executable template-discovery [2023-05-24T21:40:48.166Z] [ 92%] Built target template-discovery [2023-05-24T21:40:48.166Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T21:40:48.751Z] [ 96%] Linking C executable device-file [2023-05-24T21:40:49.019Z] [ 96%] Built target device-file [2023-05-24T21:40:49.019Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T21:40:49.603Z] [100%] Linking C executable device-terminal [2023-05-24T21:40:49.871Z] [100%] Built target device-terminal [2023-05-24T21:40:49.871Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:49.871Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:49.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:49.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:49.871Z] [ 68%] Built target csdk [2023-05-24T21:40:49.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:49.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] [ 72%] Built target template [2023-05-24T21:40:50.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] [ 76%] Built target device-counter [2023-05-24T21:40:50.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] [ 80%] Built target device-random [2023-05-24T21:40:50.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] [ 84%] Built target device-gyro [2023-05-24T21:40:50.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.138Z] [ 88%] Built target device-bitfields [2023-05-24T21:40:50.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] [ 92%] Built target template-discovery [2023-05-24T21:40:50.407Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] [ 96%] Built target device-file [2023-05-24T21:40:50.407Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.407Z] [100%] Built target device-terminal [2023-05-24T21:40:50.408Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:50.408Z] Install the project... [2023-05-24T21:40:50.408Z] -- Install configuration: "Release" [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T21:40:50.408Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/devsdk [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T21:40:50.408Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T21:40:50.408Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T21:40:52.987Z] Removing intermediate container ec823ea53153 [2023-05-24T21:40:52.987Z] ---> 3a7d06586249 [2023-05-24T21:40:52.987Z] Step 14/21 : FROM ${BASE} [2023-05-24T21:40:52.987Z] ---> 295cd00e64f4 [2023-05-24T21:40:52.987Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T21:40:52.987Z] ---> Running in 6f64af931916 [2023-05-24T21:40:53.255Z] Removing intermediate container 6f64af931916 [2023-05-24T21:40:53.255Z] ---> 578292ea2284 [2023-05-24T21:40:53.255Z] 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-24T21:40:53.255Z] ---> Running in acc56e6e8d84 [2023-05-24T21:40:54.213Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-24T21:40:54.482Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:40:54.482Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:40:54.482Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:40:55.063Z] Removing intermediate container acc56e6e8d84 [2023-05-24T21:40:55.063Z] ---> 4b1f4d52ad66 [2023-05-24T21:40:55.063Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:40:55.330Z] ---> Running in 4293f7fe5286 [2023-05-24T21:40:56.746Z] Removing intermediate container 4293f7fe5286 [2023-05-24T21:40:56.746Z] ---> b4238a12dac4 [2023-05-24T21:40:56.747Z] 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-24T21:40:56.747Z] ---> Running in 9e9c753e89f0 [2023-05-24T21:40:57.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:40:57.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:40:58.557Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:40:59.515Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:40:59.515Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T21:40:59.515Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T21:40:59.515Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T21:40:59.515Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T21:41:00.471Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T21:41:00.471Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T21:41:00.471Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T21:41:01.051Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:41:01.051Z] OK: 281 MiB in 83 packages [2023-05-24T21:41:02.006Z] Removing intermediate container 9e9c753e89f0 [2023-05-24T21:41:02.006Z] ---> b3cdabc1256f [2023-05-24T21:41:02.006Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T21:41:05.339Z] ---> 27fca73ca29e [2023-05-24T21:41:05.339Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T21:41:05.339Z] ---> 19f97f335fa7 [2023-05-24T21:41:05.339Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T21:41:05.920Z] ---> cef80a90ec4a [2023-05-24T21:41:05.920Z] Successfully built cef80a90ec4a [2023-05-24T21:41:05.920Z] 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-24T21:41:06.346Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T21:41:06.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:41:06.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-16792 does not seem to be running inside a container [2023-05-24T21:41:06.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/47 -v /w/workspace/device-sdk-c/47:/w/workspace/device-sdk-c/47:rw,z -v /w/workspace/device-sdk-c/47@tmp:/w/workspace/device-sdk-c/47@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-24T21:41:07.973Z] $ docker top 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:41:08.796Z] + make test [2023-05-24T21:41:08.796Z] echo "make test" [2023-05-24T21:41:08.796Z] make test [Pipeline] } [2023-05-24T21:41:08.814Z] $ docker stop --time=1 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 [2023-05-24T21:41:10.497Z] $ docker rm -f --volumes 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T21:41:11.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T21:41:11.357Z] + ls -al . [2023-05-24T21:41:11.357Z] total 208 [2023-05-24T21:41:11.357Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:38 . [2023-05-24T21:41:11.357Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 .. [2023-05-24T21:41:11.357Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:38 .git [2023-05-24T21:41:11.357Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 .github [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 21:38 .gitignore [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 21:38 Attribution.txt [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 21:38 CHANGES [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 21:38 Doxyfile [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:38 GOVERNANCE.md [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 21:38 Jenkinsfile [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 21:38 LICENSE [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 21:38 Makefile [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 21:38 OWNERS.md [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 21:38 README.IOT.md [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 21:38 README.md [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 21:38 README.v3.md [2023-05-24T21:41:11.357Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:36 VERSION [2023-05-24T21:41:11.357Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 docs [2023-05-24T21:41:11.357Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 include [2023-05-24T21:41:11.357Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 scripts [2023-05-24T21:41:11.357Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:41:11.782Z] + 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=3.0.0 . [2023-05-24T21:41:12.067Z] Sending build context to Docker daemon 2.9MB [2023-05-24T21:41:12.067Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T21:41:12.067Z] Step 2/17 : FROM ${BASE} [2023-05-24T21:41:12.067Z] ---> cef80a90ec4a [2023-05-24T21:41:12.067Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T21:41:12.342Z] ---> Running in e861ab5bb4b6 [2023-05-24T21:41:12.622Z] Removing intermediate container e861ab5bb4b6 [2023-05-24T21:41:12.622Z] ---> 3bc475cd6bce [2023-05-24T21:41:12.622Z] 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-24T21:41:12.622Z] ---> Running in 59465cfe0d42 [2023-05-24T21:41:13.629Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-24T21:41:14.227Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T21:41:14.227Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T21:41:14.227Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T21:41:14.863Z] Removing intermediate container 59465cfe0d42 [2023-05-24T21:41:14.863Z] ---> 87eb122f7601 [2023-05-24T21:41:14.863Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T21:41:14.863Z] ---> Running in a945839c495b [2023-05-24T21:41:20.226Z] Removing intermediate container a945839c495b [2023-05-24T21:41:20.226Z] ---> 2039c03e8665 [2023-05-24T21:41:20.226Z] 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-24T21:41:20.226Z] ---> Running in 87e2188bb12a [2023-05-24T21:41:20.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:41:20.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:41:21.341Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:41:22.299Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T21:41:22.299Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T21:41:22.567Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T21:41:22.567Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T21:41:22.567Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T21:41:22.837Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T21:41:22.837Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T21:41:22.837Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T21:41:22.837Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T21:41:22.837Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T21:41:22.837Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T21:41:22.837Z] OK: 287 MiB in 92 packages [2023-05-24T21:41:24.254Z] Removing intermediate container 87e2188bb12a [2023-05-24T21:41:24.254Z] ---> ca9242012cc0 [2023-05-24T21:41:24.254Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T21:41:24.523Z] ---> cf40cad083cb [2023-05-24T21:41:24.523Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T21:41:25.484Z] ---> 826f58679c69 [2023-05-24T21:41:25.484Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T21:41:25.753Z] ---> f2d650e67ad6 [2023-05-24T21:41:25.753Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T21:41:26.338Z] ---> 96c3305e0059 [2023-05-24T21:41:26.338Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T21:41:26.922Z] ---> e62f4fd5d604 [2023-05-24T21:41:26.922Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T21:41:27.192Z] ---> 65e8b4cc346d [2023-05-24T21:41:27.192Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T21:41:27.192Z] ---> Running in 8e6597c611cf [2023-05-24T21:41:27.461Z] Removing intermediate container 8e6597c611cf [2023-05-24T21:41:27.461Z] ---> fa232865581d [2023-05-24T21:41:27.461Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T21:41:27.729Z] ---> Running in 5e07faade0b5 [2023-05-24T21:41:27.997Z] Removing intermediate container 5e07faade0b5 [2023-05-24T21:41:27.998Z] ---> 801417a551d0 [2023-05-24T21:41:27.998Z] Step 15/17 : LABEL arch=arm64 [2023-05-24T21:41:27.998Z] ---> Running in 3c52be4ff0af [2023-05-24T21:41:28.275Z] Removing intermediate container 3c52be4ff0af [2023-05-24T21:41:28.275Z] ---> bb7b84e75452 [2023-05-24T21:41:28.275Z] Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 [2023-05-24T21:41:28.543Z] ---> Running in 4f592f9a109b [2023-05-24T21:41:28.811Z] Removing intermediate container 4f592f9a109b [2023-05-24T21:41:28.811Z] ---> 280878f83fc5 [2023-05-24T21:41:28.811Z] Step 17/17 : LABEL version=3.0.0 [2023-05-24T21:41:28.811Z] ---> Running in 75eef2f45b2b [2023-05-24T21:41:29.078Z] Removing intermediate container 75eef2f45b2b [2023-05-24T21:41:29.078Z] ---> 63db052ffc68 [2023-05-24T21:41:29.078Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-05-24T21:41:29.078Z] Successfully built 63db052ffc68 [2023-05-24T21:41:29.078Z] 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-24T21:41:29.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:41:29.520Z] [2023-05-24T21:41:29.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:41:29.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:41:29.847Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T21:41:30.119Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T21:41:30.119Z] 04944245beec: Pulling fs layer [2023-05-24T21:41:30.119Z] 699f458cf7ca: Pulling fs layer [2023-05-24T21:41:30.119Z] 765212b225bb: Pulling fs layer [2023-05-24T21:41:30.119Z] f23df028b6ca: Pulling fs layer [2023-05-24T21:41:30.119Z] 765212b225bb: Waiting [2023-05-24T21:41:30.119Z] f23df028b6ca: Waiting [2023-05-24T21:41:30.119Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T21:41:30.119Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T21:41:30.119Z] d65c8cfc05b1: Waiting [2023-05-24T21:41:30.119Z] 2437ff75d9bd: Waiting [2023-05-24T21:41:30.119Z] 04944245beec: Verifying Checksum [2023-05-24T21:41:30.119Z] 04944245beec: Download complete [2023-05-24T21:41:30.119Z] 765212b225bb: Verifying Checksum [2023-05-24T21:41:30.119Z] 765212b225bb: Download complete [2023-05-24T21:41:30.119Z] f23df028b6ca: Verifying Checksum [2023-05-24T21:41:30.119Z] f23df028b6ca: Download complete [2023-05-24T21:41:30.119Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T21:41:30.119Z] d65c8cfc05b1: Download complete [2023-05-24T21:41:30.387Z] 699f458cf7ca: Verifying Checksum [2023-05-24T21:41:30.387Z] 699f458cf7ca: Download complete [2023-05-24T21:41:30.655Z] 8998bd30e6a1: Download complete [2023-05-24T21:41:33.242Z] 2437ff75d9bd: Download complete [2023-05-24T21:41:34.651Z] 8998bd30e6a1: Pull complete [2023-05-24T21:41:34.919Z] 04944245beec: Pull complete [2023-05-24T21:41:36.327Z] 699f458cf7ca: Pull complete [2023-05-24T21:41:36.595Z] 765212b225bb: Pull complete [2023-05-24T21:41:37.183Z] f23df028b6ca: Pull complete [2023-05-24T21:41:37.449Z] d65c8cfc05b1: Pull complete [2023-05-24T21:41:52.443Z] 2437ff75d9bd: Pull complete [2023-05-24T21:41:52.443Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T21:41:52.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:41:52.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:41:52.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-16792 does not seem to be running inside a container [2023-05-24T21:41:52.703Z] $ 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/47 -v /w/workspace/device-sdk-c/47:/w/workspace/device-sdk-c/47:rw,z -v /w/workspace/device-sdk-c/47@tmp:/w/workspace/device-sdk-c/47@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-24T21:41:55.097Z] $ docker top 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:41:55.931Z] ---> job-cost.sh [2023-05-24T21:41:55.932Z] lf-activate-venv: SKIPPING [2023-05-24T21:41:55.932Z] INFO: No Stack... [2023-05-24T21:41:56.198Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T21:41:57.157Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T21:41:57.797Z] + cat /w/workspace/device-sdk-c/47/archives/cost.csv [2023-05-24T21:41:57.797Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T21:41:57.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [2023-05-24T21:41:57.869Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] did not exist. Created. [2023-05-24T21:41:57.869Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T21:41:58.211Z] /w/workspace/device-sdk-c/47@tmp/durable-d4812fcf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T21:41:58.548Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T21:41:58.573Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T21:41:59.019Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T21:41:59.026Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T21:41:59.046Z] $ docker stop --time=1 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed [2023-05-24T21:42:00.572Z] $ docker rm -f --volumes 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed [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-24T21:42:01.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T21:42:01.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:01.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:42:01.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:42:01.549Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:42:01.590Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T21:42:01.903Z] $ docker top 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 -eo pid,comm [2023-05-24T21:42:01.935Z] 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-24T21:42:01.935Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T21:42:01.966Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T21:42:02.258Z] + git semver [Pipeline] } [2023-05-24T21:42:02.541Z] $ docker stop --time=1 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 [2023-05-24T21:42:03.825Z] $ docker rm -f --volumes 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:04.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T21:42:04.184Z] [2023-05-24T21:42:04.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:04.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T21:42:04.477Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-24T21:42:04.477Z] ab5ef0e58194: Pulling fs layer [2023-05-24T21:42:04.477Z] 9712f1f96733: Pulling fs layer [2023-05-24T21:42:04.477Z] 63f879dbbcfc: Pulling fs layer [2023-05-24T21:42:04.477Z] 0d9ebad4ef96: Pulling fs layer [2023-05-24T21:42:04.477Z] e9a5061849ea: Pulling fs layer [2023-05-24T21:42:04.477Z] d747dcd14b5f: Pulling fs layer [2023-05-24T21:42:04.477Z] 2de7ff778b66: Pulling fs layer [2023-05-24T21:42:04.477Z] d747dcd14b5f: Waiting [2023-05-24T21:42:04.477Z] 0d9ebad4ef96: Waiting [2023-05-24T21:42:04.477Z] 2de7ff778b66: Waiting [2023-05-24T21:42:04.477Z] e9a5061849ea: Waiting [2023-05-24T21:42:04.477Z] 9712f1f96733: Download complete [2023-05-24T21:42:04.736Z] 63f879dbbcfc: Verifying Checksum [2023-05-24T21:42:04.736Z] 63f879dbbcfc: Download complete [2023-05-24T21:42:04.995Z] ab5ef0e58194: Verifying Checksum [2023-05-24T21:42:04.995Z] ab5ef0e58194: Download complete [2023-05-24T21:42:04.995Z] d747dcd14b5f: Verifying Checksum [2023-05-24T21:42:04.995Z] d747dcd14b5f: Download complete [2023-05-24T21:42:04.995Z] e9a5061849ea: Verifying Checksum [2023-05-24T21:42:04.995Z] e9a5061849ea: Download complete [2023-05-24T21:42:04.995Z] 0d9ebad4ef96: Verifying Checksum [2023-05-24T21:42:04.995Z] 0d9ebad4ef96: Download complete [2023-05-24T21:42:04.995Z] 2de7ff778b66: Verifying Checksum [2023-05-24T21:42:04.995Z] 2de7ff778b66: Download complete [2023-05-24T21:42:07.529Z] ab5ef0e58194: Pull complete [2023-05-24T21:42:07.529Z] 9712f1f96733: Pull complete [2023-05-24T21:42:08.094Z] 63f879dbbcfc: Pull complete [2023-05-24T21:42:11.376Z] 0d9ebad4ef96: Pull complete [2023-05-24T21:42:11.376Z] e9a5061849ea: Pull complete [2023-05-24T21:42:11.635Z] d747dcd14b5f: Pull complete [2023-05-24T21:42:12.575Z] 2de7ff778b66: Pull complete [2023-05-24T21:42:12.575Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-24T21:42:12.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T21:42:12.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:42:12.656Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:42:12.698Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-24T21:42:14.376Z] $ docker top 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:42:14.420Z] provisioning config files... [2023-05-24T21:42:14.426Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11878365141912364200tmp [2023-05-24T21:42:14.436Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17948267797392232607tmp [2023-05-24T21:42:14.446Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10422200367444173128tmp [Pipeline] { [Pipeline] echo [2023-05-24T21:42:14.460Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:14.741Z] ---> sigul-configuration.sh [2023-05-24T21:42:14.741Z] gpg: directory `/root/.gnupg' created [2023-05-24T21:42:14.741Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-24T21:42:14.741Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-24T21:42:14.741Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-24T21:42:14.741Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-24T21:42:14.741Z] gpg: CAST5 encrypted data [2023-05-24T21:42:14.741Z] gpg: encrypted with 1 passphrase [2023-05-24T21:42:14.741Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-24T21:42:15.027Z] + mkdir /home/jenkins [2023-05-24T21:42:15.028Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-24T21:42:15.313Z] + 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-24T21:42:15.320Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:15.600Z] ---> sigul-install.sh [2023-05-24T21:42:15.600Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-24T21:42:15.879Z] + git tag --list [2023-05-24T21:42:15.879Z] 0.7.0 [2023-05-24T21:42:15.879Z] 0.7.1 [2023-05-24T21:42:15.879Z] 1.0.0 [2023-05-24T21:42:15.879Z] v1.0.1 [2023-05-24T21:42:15.879Z] v1.0.2 [2023-05-24T21:42:15.879Z] v1.0.3 [2023-05-24T21:42:15.879Z] v1.1.0 [2023-05-24T21:42:15.879Z] v1.1.1 [2023-05-24T21:42:15.879Z] v1.2.0 [2023-05-24T21:42:15.879Z] v1.2.1 [2023-05-24T21:42:15.879Z] v1.2.2 [2023-05-24T21:42:15.879Z] v1.3.0 [2023-05-24T21:42:15.879Z] v1.3.1 [2023-05-24T21:42:15.879Z] v2.0.0 [2023-05-24T21:42:15.879Z] v2.1.0 [2023-05-24T21:42:15.879Z] v2.2.0 [2023-05-24T21:42:15.879Z] v2.2.0-dev.1 [2023-05-24T21:42:15.879Z] v2.2.0-dev.10 [2023-05-24T21:42:15.879Z] v2.2.0-dev.11 [2023-05-24T21:42:15.879Z] v2.2.0-dev.12 [2023-05-24T21:42:15.879Z] v2.2.0-dev.13 [2023-05-24T21:42:15.879Z] v2.2.0-dev.2 [2023-05-24T21:42:15.879Z] v2.2.0-dev.3 [2023-05-24T21:42:15.879Z] v2.2.0-dev.4 [2023-05-24T21:42:15.879Z] v2.2.0-dev.5 [2023-05-24T21:42:15.879Z] v2.2.0-dev.6 [2023-05-24T21:42:15.879Z] v2.2.0-dev.7 [2023-05-24T21:42:15.879Z] v2.2.0-dev.8 [2023-05-24T21:42:15.879Z] v2.2.0-dev.9 [2023-05-24T21:42:15.879Z] v2.2.1-dev.1 [2023-05-24T21:42:15.879Z] v2.2.1-dev.2 [2023-05-24T21:42:15.879Z] v2.2.1-dev.3 [2023-05-24T21:42:15.879Z] v2.3.0 [2023-05-24T21:42:15.879Z] v2.3.1-dev.1 [2023-05-24T21:42:15.879Z] v2.3.1-dev.10 [2023-05-24T21:42:15.879Z] v2.3.1-dev.11 [2023-05-24T21:42:15.879Z] v2.3.1-dev.2 [2023-05-24T21:42:15.879Z] v2.3.1-dev.3 [2023-05-24T21:42:15.879Z] v2.3.1-dev.4 [2023-05-24T21:42:15.879Z] v2.3.1-dev.5 [2023-05-24T21:42:15.879Z] v2.3.1-dev.6 [2023-05-24T21:42:15.879Z] v2.3.1-dev.7 [2023-05-24T21:42:15.879Z] v2.3.1-dev.8 [2023-05-24T21:42:15.879Z] v2.3.1-dev.9 [2023-05-24T21:42:15.879Z] v3.0.0 [Pipeline] sh [2023-05-24T21:42:16.170Z] + lftools sign git-tag v3.0.0 [2023-05-24T21:42:16.739Z] Signing Git tag with Sigul... [2023-05-24T21:42:16.739Z] Signing v3.0.0 [Pipeline] echo [2023-05-24T21:42:17.003Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:17.285Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-24T21:42:17.292Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-24T21:42:17.324Z] $ docker stop --time=1 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f [2023-05-24T21:42:18.630Z] $ docker rm -f --volumes 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-24T21:42:19.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T21:42:19.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:19.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:42:19.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:42:19.387Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:42:19.428Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T21:42:19.747Z] $ docker top 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa -eo pid,comm [2023-05-24T21:42:19.779Z] 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-24T21:42:19.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T21:42:19.804Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T21:42:20.098Z] + git semver [Pipeline] } [2023-05-24T21:42:20.382Z] $ docker stop --time=1 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa [2023-05-24T21:42:21.675Z] $ docker rm -f --volumes 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T21:42:22.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T21:42:22.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:22.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T21:42:22.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:42:22.368Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:42:22.409Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T21:42:22.705Z] $ docker top a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 -eo pid,comm [2023-05-24T21:42:22.734Z] 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-24T21:42:22.734Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T21:42:22.753Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T21:42:23.034Z] + git semver [Pipeline] } [2023-05-24T21:42:23.320Z] $ docker stop --time=1 a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 [2023-05-24T21:42:24.607Z] $ docker rm -f --volumes a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 [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-24T21:42:25.021Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-05-24T21:42:25.021Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T21:42:25.021Z] total 16 [2023-05-24T21:42:25.021Z] drwxr-xr-x 3 root root 4096 May 24 21:37 . [2023-05-24T21:42:25.021Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:42 .. [2023-05-24T21:42:25.021Z] drwxr-xr-x 2 root root 4096 May 24 21:37 cost [2023-05-24T21:42:25.021Z] -rw-r--r-- 1 root root 83 May 24 21:37 cost.csv [2023-05-24T21:42:25.021Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T21:42:25.021Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-24T21:42:25.021Z] total 16 [2023-05-24T21:42:25.021Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:37 . [2023-05-24T21:42:25.022Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:42 .. [2023-05-24T21:42:25.022Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 21:37 cost [2023-05-24T21:42:25.022Z] -rw-r--r-- 1 jenkins jenkins 83 May 24 21:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:25.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:26.167Z] ---> package-listing.sh [2023-05-24T21:42:26.167Z] ++ facter osfamily [2023-05-24T21:42:26.167Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T21:42:26.426Z] + OS_FAMILY=debian [2023-05-24T21:42:26.426Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-05-24T21:42:26.426Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T21:42:26.426Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T21:42:26.426Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T21:42:26.426Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T21:42:26.426Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-24T21:42:26.426Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T21:42:26.426Z] + case "${OS_FAMILY}" in [2023-05-24T21:42:26.426Z] + dpkg -l [2023-05-24T21:42:26.426Z] + grep '^ii' [2023-05-24T21:42:26.426Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T21:42:26.426Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T21:42:26.426Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T21:42:26.426Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-24T21:42:26.426Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-05-24T21:42:26.426Z] + 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-24T21:42:26.436Z] 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-24T21:42:26.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:42:27.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:42:27.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:42:27.342Z] prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container [2023-05-24T21:42:27.388Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T21:42:27.599Z] $ docker top d098aa08cb46296053597cc18ceab19a5e1982c1742661fff3b24b38f79c27e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:42:27.919Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T21:42:28.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T21:42:28.487Z] + ls /var/log/sa-host [2023-05-24T21:42:28.487Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:42:28.663Z] provisioning config files... [2023-05-24T21:42:28.671Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5724743004806460498tmp [Pipeline] { [Pipeline] echo [2023-05-24T21:42:28.683Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:28.964Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T21:42:28.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:29.315Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T21:42:29.323Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:29.603Z] ---> sudo-logs.sh [2023-05-24T21:42:29.603Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T21:42:29.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:29.903Z] ---> job-cost.sh [2023-05-24T21:42:29.903Z] lf-activate-venv: SKIPPING [2023-05-24T21:42:29.903Z] DEBUG: total: 0.2199999988079071 [2023-05-24T21:42:29.903Z] INFO: Retrieving Stack Cost... [2023-05-24T21:42:30.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T21:42:30.421Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T21:42:30.432Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:42:30.715Z] ---> logs-deploy.sh [2023-05-24T21:42:30.715Z] lf-activate-venv: SKIPPING [2023-05-24T21:42:30.715Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/47 [2023-05-24T21:42:30.715Z] INFO: archiving workspace using pattern(s): [2023-05-24T21:42:31.660Z] Archives upload complete. [2023-05-24T21:42:31.660Z] INFO: archiving logs to Nexus