Pull request #455 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from f2a2ac9a233eff32af019a57e4e6aa1035176677+f74adf796a5a2724d03475485970680652a5aba3 (7f9681d0f94c3eec534e9262e820aae21fb76073) 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-ssh7802612683519225026.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-ssh10575062884850683369.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh938894019275793577.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14621105391194988706.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9462503021188043702.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-455/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-455/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14132959475142312742.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-14907 in /w/workspace/edgexfoundry_device-sdk-c_PR-455 [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_PR-455 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f74adf796a5a2724d03475485970680652a5aba3 into PR head commit f2a2ac9a233eff32af019a57e4e6aa1035176677 Merge succeeded, producing f2a2ac9a233eff32af019a57e4e6aa1035176677 Checking out Revision f2a2ac9a233eff32af019a57e4e6aa1035176677 (PR-455) > git config core.sparsecheckout # timeout=10 > git checkout -f f2a2ac9a233eff32af019a57e4e6aa1035176677 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2a2ac9a233eff32af019a57e4e6aa1035176677 # timeout=10 Commit message: "refactor!: bump remaining API to v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T14:21:05.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T14:21:05.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T14:21:05.598Z] ========================================================= [2023-05-10T14:21:05.598Z] EdgeX Global Pipelines Version Info [2023-05-10T14:21:05.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:21:06.735Z] ------------------- [2023-05-10T14:21:06.735Z] stable info: [2023-05-10T14:21:06.735Z] ------------------- [2023-05-10T14:21:06.735Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T14:21:06.735Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T14:21:06.735Z] Message: update stable to v1.0.249 [2023-05-10T14:21:06.998Z] ------------------- [2023-05-10T14:21:06.998Z] experimental info: [2023-05-10T14:21:06.998Z] ------------------- [2023-05-10T14:21:06.998Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T14:21:06.998Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T14:21:06.998Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T14:21:07.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-10T14:21:07.348Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-10T14:21:07.387Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T14:21:07.433Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T14:21:07.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T14:21:07.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-10T14:21:07.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-10T14:21:07.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T14:21:07.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T14:21:07.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-10T14:21:07.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T14:21:07.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T14:21:07.868Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T14:21:07.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T14:21:07.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T14:21:07.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T14:21:08.032Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T14:21:08.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-455 [Pipeline] echo [2023-05-10T14:21:08.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-455 [Pipeline] echo [2023-05-10T14:21:08.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-455 [Pipeline] echo [2023-05-10T14:21:08.185Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2a2ac9a233eff32af019a57e4e6aa1035176677 [Pipeline] echo [2023-05-10T14:21:08.224Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2a2ac9 [Pipeline] echo [2023-05-10T14:21:08.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T14:21:08.371Z] provisioning config files... [2023-05-10T14:21:08.386Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/config14894531300828427921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:21:08.731Z] ---> docker-login.sh [2023-05-10T14:21:08.731Z] nexus3.edgexfoundry.org:10001 [2023-05-10T14:21:08.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:08.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:08.992Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:08.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:08.992Z] [2023-05-10T14:21:08.992Z] Login Succeeded [2023-05-10T14:21:08.992Z] nexus3.edgexfoundry.org:10002 [2023-05-10T14:21:09.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:09.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:09.254Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:09.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:09.254Z] [2023-05-10T14:21:09.254Z] Login Succeeded [2023-05-10T14:21:09.254Z] nexus3.edgexfoundry.org:10003 [2023-05-10T14:21:09.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:09.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:09.254Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:09.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:09.254Z] [2023-05-10T14:21:09.254Z] Login Succeeded [2023-05-10T14:21:09.254Z] nexus3.edgexfoundry.org:10004 [2023-05-10T14:21:09.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:09.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:09.515Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:09.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:09.515Z] [2023-05-10T14:21:09.515Z] Login Succeeded [2023-05-10T14:21:09.515Z] docker.io [2023-05-10T14:21:09.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:09.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:09.776Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:09.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:09.776Z] [2023-05-10T14:21:09.776Z] Login Succeeded [2023-05-10T14:21:09.776Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T14:21:09.807Z] 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-10T14:21:10.428Z] + git rev-list -1 --merges f2a2ac9a233eff32af019a57e4e6aa1035176677~1..f2a2ac9a233eff32af019a57e4e6aa1035176677 [Pipeline] echo [2023-05-10T14:21:10.495Z] -----------> git rev-list -1 --merges f2a2ac9a233eff32af019a57e4e6aa1035176677~1..f2a2ac9a233eff32af019a57e4e6aa1035176677 f2a2ac9a233eff32af019a57e4e6aa1035176677 [false] [Pipeline] sh [2023-05-10T14:21:10.807Z] + git log --format=format:%s -1 f2a2ac9a233eff32af019a57e4e6aa1035176677 [Pipeline] echo [2023-05-10T14:21:10.839Z] ========================================================= [2023-05-10T14:21:10.840Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T14:21:10.840Z] ========================================================= 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-10T14:21:11.659Z] + git rev-list -1 --merges f2a2ac9a233eff32af019a57e4e6aa1035176677~1..f2a2ac9a233eff32af019a57e4e6aa1035176677 [Pipeline] echo [2023-05-10T14:21:11.693Z] -----------> git rev-list -1 --merges f2a2ac9a233eff32af019a57e4e6aa1035176677~1..f2a2ac9a233eff32af019a57e4e6aa1035176677 f2a2ac9a233eff32af019a57e4e6aa1035176677 [false] [Pipeline] sh [2023-05-10T14:21:12.012Z] + git log --format=format:%s -1 f2a2ac9a233eff32af019a57e4e6aa1035176677 [Pipeline] echo [2023-05-10T14:21:12.048Z] ========================================================= [2023-05-10T14:21:12.048Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T14:21:12.049Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-10T14:21:12.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T14:21:12.557Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T14:21:12.557Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T14:21:12.557Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T14:21:12.557Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T14:21:12.557Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T14:21:12.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:21:13.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T14:21:13.039Z] [2023-05-10T14:21:13.039Z] 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-10T14:21:13.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T14:21:13.466Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T14:21:13.466Z] b85a868b505f: Pulling fs layer [2023-05-10T14:21:13.466Z] e2be974225ed: Pulling fs layer [2023-05-10T14:21:13.466Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T14:21:13.466Z] 988bab9f4d93: Pulling fs layer [2023-05-10T14:21:13.466Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T14:21:13.466Z] eaf3925da568: Pulling fs layer [2023-05-10T14:21:13.466Z] bab4dde63d76: Pulling fs layer [2023-05-10T14:21:13.466Z] bde34c3a00c8: Pulling fs layer [2023-05-10T14:21:13.466Z] b352a97aabf1: Pulling fs layer [2023-05-10T14:21:13.466Z] 4872d77fe225: Pulling fs layer [2023-05-10T14:21:13.466Z] 5851b861e8e6: Pulling fs layer [2023-05-10T14:21:13.466Z] 988bab9f4d93: Waiting [2023-05-10T14:21:13.466Z] 1469e6f7b9e6: Waiting [2023-05-10T14:21:13.466Z] eaf3925da568: Waiting [2023-05-10T14:21:13.466Z] bab4dde63d76: Waiting [2023-05-10T14:21:13.466Z] bde34c3a00c8: Waiting [2023-05-10T14:21:13.466Z] b352a97aabf1: Waiting [2023-05-10T14:21:13.466Z] 4872d77fe225: Waiting [2023-05-10T14:21:13.466Z] 5851b861e8e6: Waiting [2023-05-10T14:21:13.466Z] e2be974225ed: Verifying Checksum [2023-05-10T14:21:13.466Z] e2be974225ed: Download complete [2023-05-10T14:21:13.466Z] 988bab9f4d93: Download complete [2023-05-10T14:21:13.726Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T14:21:13.726Z] 1469e6f7b9e6: Download complete [2023-05-10T14:21:13.726Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T14:21:13.726Z] 339a4e72a1f5: Download complete [2023-05-10T14:21:13.726Z] eaf3925da568: Download complete [2023-05-10T14:21:13.726Z] bde34c3a00c8: Verifying Checksum [2023-05-10T14:21:13.726Z] bde34c3a00c8: Download complete [2023-05-10T14:21:13.726Z] b352a97aabf1: Download complete [2023-05-10T14:21:13.726Z] 4872d77fe225: Verifying Checksum [2023-05-10T14:21:13.726Z] 4872d77fe225: Download complete [2023-05-10T14:21:13.726Z] 5851b861e8e6: Download complete [2023-05-10T14:21:13.726Z] b85a868b505f: Verifying Checksum [2023-05-10T14:21:13.726Z] b85a868b505f: Download complete [2023-05-10T14:21:13.986Z] bab4dde63d76: Verifying Checksum [2023-05-10T14:21:13.986Z] bab4dde63d76: Download complete [2023-05-10T14:21:14.924Z] b85a868b505f: Pull complete [2023-05-10T14:21:15.183Z] e2be974225ed: Pull complete [2023-05-10T14:21:15.748Z] 339a4e72a1f5: Pull complete [2023-05-10T14:21:15.748Z] 988bab9f4d93: Pull complete [2023-05-10T14:21:16.006Z] 1469e6f7b9e6: Pull complete [2023-05-10T14:21:16.006Z] eaf3925da568: Pull complete [2023-05-10T14:21:17.910Z] bab4dde63d76: Pull complete [2023-05-10T14:21:17.910Z] bde34c3a00c8: Pull complete [2023-05-10T14:21:17.910Z] b352a97aabf1: Pull complete [2023-05-10T14:21:17.910Z] 4872d77fe225: Pull complete [2023-05-10T14:21:17.910Z] 5851b861e8e6: Pull complete [2023-05-10T14:21:18.171Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T14:21:18.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T14:21:18.171Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:21:18.382Z] prd-ubuntu20.04-docker-8c-8g-14907 does not seem to be running inside a container [2023-05-10T14:21:18.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-455 -v /w/workspace/edgexfoundry_device-sdk-c_PR-455:/w/workspace/edgexfoundry_device-sdk-c_PR-455:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-455@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-devops/py-git-semver:0.1.4 cat [2023-05-10T14:21:20.894Z] $ docker top 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 -eo pid,comm [2023-05-10T14:21:20.946Z] 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-10T14:21:20.946Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T14:21:21.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T14:21:21.067Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T14:21:21.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T14:21:21.188Z] $ docker exec 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 ssh-agent [2023-05-10T14:21:21.304Z] SSH_AUTH_SOCK=/tmp/ssh-ijuo2HFezNKs/agent.32 [2023-05-10T14:21:21.304Z] SSH_AGENT_PID=38 [2023-05-10T14:21:21.310Z] Running ssh-add (command line suppressed) [2023-05-10T14:21:21.408Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/private_key_15345598198475888876.key (/w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/private_key_15345598198475888876.key) [2023-05-10T14:21:21.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T14:21:21.753Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T14:21:21.779Z] $ docker exec --env ******** --env ******** 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 ssh-agent -k [2023-05-10T14:21:21.880Z] unset SSH_AUTH_SOCK; [2023-05-10T14:21:21.883Z] unset SSH_AGENT_PID; [2023-05-10T14:21:21.883Z] echo Agent pid 38 killed; [2023-05-10T14:21:21.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T14:21:21.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T14:21:21.985Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T14:21:22.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T14:21:22.098Z] $ docker exec 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 ssh-agent [2023-05-10T14:21:22.211Z] SSH_AUTH_SOCK=/tmp/ssh-uGDuBFb9Z5QC/agent.70 [2023-05-10T14:21:22.211Z] SSH_AGENT_PID=76 [2023-05-10T14:21:22.215Z] Running ssh-add (command line suppressed) [2023-05-10T14:21:22.302Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/private_key_554576135607101362.key (/w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/private_key_554576135607101362.key) [2023-05-10T14:21:22.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T14:21:22.646Z] + git semver init [2023-05-10T14:21:22.906Z] 2023-05-10 14:21:22,832 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T14:21:22.906Z] 2023-05-10 14:21:22,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver [2023-05-10T14:21:22.906Z] 2023-05-10 14:21:22,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver [2023-05-10T14:21:22.906Z] 2023-05-10 14:21:22,833 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-455, universal_newlines=False, shell=None, istream=None) [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,726 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-455/.git/info/exclude [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,726 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver/PR-455 with force:False [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,727 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver/PR-455 [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,732 [execute] INFO git cat-file --batch-check [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,737 [execute] INFO git cat-file --batch [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T14:21:23.848Z] 2023-05-10 14:21:23,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-455/.semver/PR-455 [2023-05-10T14:21:23.848Z] 0.0.0 [Pipeline] } [2023-05-10T14:21:23.876Z] $ docker exec --env ******** --env ******** 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 ssh-agent -k [2023-05-10T14:21:23.978Z] unset SSH_AUTH_SOCK; [2023-05-10T14:21:23.979Z] unset SSH_AGENT_PID; [2023-05-10T14:21:23.979Z] echo Agent pid 76 killed; [2023-05-10T14:21:23.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T14:21:24.425Z] + git semver [Pipeline] } [2023-05-10T14:21:24.708Z] $ docker stop --time=1 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 [2023-05-10T14:21:26.018Z] $ docker rm -f --volumes 7ae44bbdde39070d1598a6c4bcad7c8cf0f53b09b14f36b670cc779dd9ceeca0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T14:21:26.426Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T14:21:26.724Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T14:21:26.741Z] [edgeXSemver]: initialized semver on version 0.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] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T14:21:27.291Z] provisioning config files... [2023-05-10T14:21:27.300Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/config8377056175891261290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:21:27.640Z] ---> docker-login.sh [2023-05-10T14:21:27.640Z] nexus3.edgexfoundry.org:10001 [2023-05-10T14:21:27.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:27.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:27.640Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:27.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:27.640Z] [2023-05-10T14:21:27.640Z] Login Succeeded [2023-05-10T14:21:27.640Z] nexus3.edgexfoundry.org:10002 [2023-05-10T14:21:27.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:27.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:27.640Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:27.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:27.640Z] [2023-05-10T14:21:27.640Z] Login Succeeded [2023-05-10T14:21:27.640Z] nexus3.edgexfoundry.org:10003 [2023-05-10T14:21:27.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:27.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:27.898Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:27.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:27.898Z] [2023-05-10T14:21:27.898Z] Login Succeeded [2023-05-10T14:21:27.898Z] nexus3.edgexfoundry.org:10004 [2023-05-10T14:21:27.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:27.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:27.898Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:27.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:27.898Z] [2023-05-10T14:21:27.898Z] Login Succeeded [2023-05-10T14:21:27.898Z] docker.io [2023-05-10T14:21:28.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:21:28.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:21:28.157Z] Configure a credential helper to remove this warning. See [2023-05-10T14:21:28.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:21:28.157Z] [2023-05-10T14:21:28.157Z] Login Succeeded [2023-05-10T14:21:28.157Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T14:21:28.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T14:21:28.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T14:21:28.404Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-10T14:21:28.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T14:21:28.480Z] ========================================================= [2023-05-10T14:21:28.480Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-10T14:21:28.480Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:21:28.912Z] + 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-10T14:21:28.912Z] Sending build context to Docker daemon 4.973MB [2023-05-10T14:21:28.912Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-10T14:21:28.912Z] Step 2/21 : FROM ${BASE} as builder [2023-05-10T14:21:28.912Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-10T14:21:28.912Z] 213ec9aee27d: Pulling fs layer [2023-05-10T14:21:28.912Z] 0f09ad1b1b37: Pulling fs layer [2023-05-10T14:21:29.173Z] 213ec9aee27d: Verifying Checksum [2023-05-10T14:21:29.173Z] 213ec9aee27d: Download complete [2023-05-10T14:21:29.173Z] 213ec9aee27d: Pull complete [2023-05-10T14:21:29.743Z] 0f09ad1b1b37: Verifying Checksum [2023-05-10T14:21:29.743Z] 0f09ad1b1b37: Download complete [2023-05-10T14:21:33.029Z] 0f09ad1b1b37: Pull complete [2023-05-10T14:21:33.029Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-05-10T14:21:33.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-10T14:21:33.029Z] ---> b2bbfebb3566 [2023-05-10T14:21:33.029Z] 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-10T14:21:34.409Z] ---> Running in a446bbaa6153 [2023-05-10T14:21:34.669Z] Connecting to iotech.jfrog.io (34.246.72.29:443) [2023-05-10T14:21:34.928Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:21:34.928Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:21:34.928Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:21:35.496Z] Removing intermediate container a446bbaa6153 [2023-05-10T14:21:35.496Z] ---> ad45cffafcf0 [2023-05-10T14:21:35.496Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:21:35.496Z] ---> Running in e73c90b61e6f [2023-05-10T14:21:36.069Z] Removing intermediate container e73c90b61e6f [2023-05-10T14:21:36.069Z] ---> b127524ea740 [2023-05-10T14:21:36.069Z] 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-10T14:21:36.069Z] ---> Running in ea4d9f857292 [2023-05-10T14:21:36.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:36.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:36.590Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:37.161Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:21:37.161Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-10T14:21:37.161Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-10T14:21:37.161Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-10T14:21:37.731Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-10T14:21:37.989Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-10T14:21:37.989Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-10T14:21:37.989Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-10T14:21:37.989Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-10T14:21:38.557Z] (9/14) Installing libblkid (2.38-r1) [2023-05-10T14:21:38.557Z] (10/14) Installing libuuid (2.38-r1) [2023-05-10T14:21:38.557Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-10T14:21:38.557Z] (12/14) Installing libmount (2.38-r1) [2023-05-10T14:21:38.858Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-10T14:21:38.858Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-10T14:21:38.858Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:21:38.858Z] OK: 280 MiB in 90 packages [2023-05-10T14:21:39.429Z] Removing intermediate container ea4d9f857292 [2023-05-10T14:21:39.429Z] ---> ab57fcd335ca [2023-05-10T14:21:39.429Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-10T14:21:39.429Z] ---> Running in 92b257e076bb [2023-05-10T14:21:39.998Z] Removing intermediate container 92b257e076bb [2023-05-10T14:21:39.998Z] ---> e76bbbdb8734 [2023-05-10T14:21:39.998Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-10T14:21:39.998Z] ---> 5030aae1ea5e [2023-05-10T14:21:39.998Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-10T14:21:40.258Z] ---> 9697d9fb9eb0 [2023-05-10T14:21:40.258Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-10T14:21:40.520Z] ---> d6c1b62b508a [2023-05-10T14:21:40.520Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-10T14:21:40.520Z] ---> 2f8a5d96d06a [2023-05-10T14:21:40.520Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-10T14:21:40.780Z] ---> bf26b11bac63 [2023-05-10T14:21:40.780Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-10T14:21:40.780Z] ---> 59c8481d8502 [2023-05-10T14:21:40.780Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-10T14:21:40.780Z] ---> Running in c62d463bb2fb [2023-05-10T14:21:41.038Z] + CPPCHECK=false [2023-05-10T14:21:41.038Z] + DOCGEN=false [2023-05-10T14:21:41.038Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-10T14:21:41.038Z] + '[' 0 -gt 0 ] [2023-05-10T14:21:41.038Z] + readlink -f ./scripts/build.sh [2023-05-10T14:21:41.038Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-10T14:21:41.038Z] + dirname /tmp/sdk/scripts [2023-05-10T14:21:41.038Z] + ROOT=/tmp/sdk [2023-05-10T14:21:41.038Z] + cd /tmp/sdk [2023-05-10T14:21:41.038Z] + mkdir -p /tmp/sdk/build/release [2023-05-10T14:21:41.038Z] + cd /tmp/sdk/build/release [2023-05-10T14:21:41.038Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-10T14:21:41.297Z] -- The C compiler identification is GNU 11.2.1 [2023-05-10T14:21:41.297Z] -- Detecting C compiler ABI info [2023-05-10T14:21:41.297Z] -- Detecting C compiler ABI info - done [2023-05-10T14:21:41.297Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-10T14:21:41.297Z] -- Detecting C compile features [2023-05-10T14:21:41.297Z] -- Detecting C compile features - done [2023-05-10T14:21:41.297Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-10T14:21:41.297Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-10T14:21:41.297Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-10T14:21:41.297Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-10T14:21:41.297Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-10T14:21:41.297Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-10T14:21:41.297Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-10T14:21:41.297Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-10T14:21:41.297Z] -- /opt/iotech/iot/1.5/include [2023-05-10T14:21:41.297Z] -- C SDK 0.0.0 for Linux [2023-05-10T14:21:41.297Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-10T14:21:41.558Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-10T14:21:41.558Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-10T14:21:41.558Z] -- Configuring done [2023-05-10T14:21:41.558Z] -- Generating done [2023-05-10T14:21:41.558Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-10T14:21:41.558Z] + make all package [2023-05-10T14:21:41.558Z] + tee release.log [2023-05-10T14:21:41.558Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-10T14:21:41.820Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-10T14:21:41.820Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-10T14:21:42.079Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-10T14:21:42.098Z] Still waiting to schedule task [2023-05-10T14:21:42.098Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-10T14:21:42.338Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-10T14:21:42.338Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-10T14:21:42.598Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-10T14:21:42.856Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-10T14:21:42.856Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-10T14:21:43.116Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-10T14:21:43.376Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-10T14:21:43.636Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-10T14:21:43.636Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-10T14:21:43.896Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-10T14:21:43.896Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-10T14:21:44.155Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-10T14:21:44.155Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-10T14:21:44.728Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-10T14:21:44.728Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-10T14:21:44.728Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-10T14:21:44.987Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-10T14:21:45.924Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-10T14:21:45.924Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-10T14:21:46.184Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-10T14:21:46.184Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-10T14:21:46.184Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-10T14:21:46.443Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-10T14:21:47.012Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-10T14:21:47.012Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-10T14:21:47.012Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-10T14:21:47.272Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-10T14:21:47.839Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-10T14:21:47.839Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-10T14:21:47.839Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-10T14:21:48.098Z] [ 68%] Linking C shared library libcsdk.so [2023-05-10T14:21:48.098Z] [ 68%] Built target csdk [2023-05-10T14:21:48.098Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-10T14:21:48.098Z] [ 72%] Linking C executable template [2023-05-10T14:21:48.356Z] [ 72%] Built target template [2023-05-10T14:21:48.356Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-10T14:21:48.356Z] [ 76%] Linking C executable device-counter [2023-05-10T14:21:48.356Z] [ 76%] Built target device-counter [2023-05-10T14:21:48.356Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-10T14:21:48.615Z] [ 80%] Linking C executable device-random [2023-05-10T14:21:48.615Z] [ 80%] Built target device-random [2023-05-10T14:21:48.615Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-10T14:21:48.615Z] [ 84%] Linking C executable device-gyro [2023-05-10T14:21:48.874Z] [ 84%] Built target device-gyro [2023-05-10T14:21:48.874Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-10T14:21:48.874Z] [ 88%] Linking C executable device-bitfields [2023-05-10T14:21:48.874Z] [ 88%] Built target device-bitfields [2023-05-10T14:21:48.874Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-10T14:21:49.134Z] [ 92%] Linking C executable template-discovery [2023-05-10T14:21:49.134Z] [ 92%] Built target template-discovery [2023-05-10T14:21:49.134Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-10T14:21:49.394Z] [ 96%] Linking C executable device-file [2023-05-10T14:21:49.394Z] [ 96%] Built target device-file [2023-05-10T14:21:49.394Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-10T14:21:49.652Z] [100%] Linking C executable device-terminal [2023-05-10T14:21:49.652Z] [100%] Built target device-terminal [2023-05-10T14:21:49.652Z] Run CPack packaging tool... [2023-05-10T14:21:49.652Z] CPack: Create package using TGZ [2023-05-10T14:21:49.652Z] CPack: Install projects [2023-05-10T14:21:49.652Z] CPack: - Run preinstall target for: Csdk [2023-05-10T14:21:49.911Z] CPack: - Install project: Csdk [] [2023-05-10T14:21:49.911Z] CPack: Create package [2023-05-10T14:21:49.911Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-10T14:21:49.911Z] + '[' false '=' true ] [2023-05-10T14:21:49.911Z] + '[' false '=' true ] [2023-05-10T14:21:49.911Z] + mkdir -p /tmp/sdk/build/debug [2023-05-10T14:21:49.911Z] + cd /tmp/sdk/build/debug [2023-05-10T14:21:49.911Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-10T14:21:49.911Z] -- The C compiler identification is GNU 11.2.1 [2023-05-10T14:21:49.911Z] -- Detecting C compiler ABI info [2023-05-10T14:21:50.176Z] -- Detecting C compiler ABI info - done [2023-05-10T14:21:50.176Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-10T14:21:50.176Z] -- Detecting C compile features [2023-05-10T14:21:50.176Z] -- Detecting C compile features - done [2023-05-10T14:21:50.176Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-10T14:21:50.176Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-10T14:21:50.176Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-10T14:21:50.176Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-10T14:21:50.176Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-10T14:21:50.176Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-10T14:21:50.176Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-10T14:21:50.176Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-10T14:21:50.176Z] -- /opt/iotech/iot/1.5/include [2023-05-10T14:21:50.176Z] -- C SDK 0.0.0 for Linux [2023-05-10T14:21:50.176Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-10T14:21:50.176Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-10T14:21:50.176Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-10T14:21:50.176Z] -- Configuring done [2023-05-10T14:21:50.436Z] -- Generating done [2023-05-10T14:21:50.437Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-10T14:21:50.437Z] + make [2023-05-10T14:21:50.437Z] + tee debug.log [2023-05-10T14:21:50.437Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-10T14:21:50.437Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-10T14:21:50.437Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-10T14:21:50.709Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-10T14:21:50.710Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-10T14:21:50.710Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-10T14:21:50.969Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-10T14:21:50.969Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-10T14:21:50.969Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-10T14:21:51.229Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-10T14:21:51.229Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-10T14:21:51.230Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-10T14:21:51.488Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-10T14:21:51.488Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-10T14:21:51.488Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-10T14:21:51.748Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-10T14:21:51.748Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-10T14:21:51.748Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-10T14:21:51.748Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-10T14:21:52.010Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-10T14:21:52.010Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-10T14:21:52.271Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-10T14:21:52.271Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-10T14:21:52.532Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-10T14:21:52.532Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-10T14:21:52.532Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-10T14:21:52.792Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-10T14:21:53.051Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-10T14:21:53.051Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-10T14:21:53.051Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-10T14:21:53.051Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-10T14:21:53.309Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-10T14:21:53.309Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-10T14:21:53.567Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-10T14:21:53.567Z] [ 68%] Linking C shared library libcsdk.so [2023-05-10T14:21:53.567Z] [ 68%] Built target csdk [2023-05-10T14:21:53.567Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-10T14:21:53.567Z] [ 72%] Linking C executable template [2023-05-10T14:21:53.826Z] [ 72%] Built target template [2023-05-10T14:21:53.826Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-10T14:21:53.826Z] [ 76%] Linking C executable device-counter [2023-05-10T14:21:53.826Z] [ 76%] Built target device-counter [2023-05-10T14:21:53.826Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-10T14:21:54.085Z] [ 80%] Linking C executable device-random [2023-05-10T14:21:54.085Z] [ 80%] Built target device-random [2023-05-10T14:21:54.085Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-10T14:21:54.085Z] [ 84%] Linking C executable device-gyro [2023-05-10T14:21:54.085Z] [ 84%] Built target device-gyro [2023-05-10T14:21:54.085Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-10T14:21:54.344Z] [ 88%] Linking C executable device-bitfields [2023-05-10T14:21:54.344Z] [ 88%] Built target device-bitfields [2023-05-10T14:21:54.344Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-10T14:21:54.344Z] [ 92%] Linking C executable template-discovery [2023-05-10T14:21:54.603Z] [ 92%] Built target template-discovery [2023-05-10T14:21:54.603Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-10T14:21:54.603Z] [ 96%] Linking C executable device-file [2023-05-10T14:21:54.603Z] [ 96%] Built target device-file [2023-05-10T14:21:54.603Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-10T14:21:54.864Z] [100%] Linking C executable device-terminal [2023-05-10T14:21:54.864Z] [100%] Built target device-terminal [2023-05-10T14:21:54.864Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 68%] Built target csdk [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 72%] Built target template [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 76%] Built target device-counter [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 80%] Built target device-random [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 84%] Built target device-gyro [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] [ 88%] Built target device-bitfields [2023-05-10T14:21:54.864Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:54.864Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.123Z] [ 92%] Built target template-discovery [2023-05-10T14:21:55.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.123Z] [ 96%] Built target device-file [2023-05-10T14:21:55.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.123Z] [100%] Built target device-terminal [2023-05-10T14:21:55.123Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.124Z] Install the project... [2023-05-10T14:21:55.124Z] -- Install configuration: "Release" [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-10T14:21:55.124Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/devsdk [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-10T14:21:55.124Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-10T14:21:55.124Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:21:55.692Z] Removing intermediate container c62d463bb2fb [2023-05-10T14:21:55.692Z] ---> 4524acd062f3 [2023-05-10T14:21:55.692Z] Step 14/21 : FROM ${BASE} [2023-05-10T14:21:55.692Z] ---> b2bbfebb3566 [2023-05-10T14:21:55.692Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-10T14:21:55.692Z] ---> Running in 9777292394f4 [2023-05-10T14:21:55.953Z] Removing intermediate container 9777292394f4 [2023-05-10T14:21:55.954Z] ---> ed0e193ac398 [2023-05-10T14:21:55.954Z] 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-10T14:21:55.954Z] ---> Running in 0346c575c3b1 [2023-05-10T14:21:56.214Z] Connecting to iotech.jfrog.io (52.49.57.123:443) [2023-05-10T14:21:56.472Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:21:56.472Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:21:56.472Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:21:56.733Z] Removing intermediate container 0346c575c3b1 [2023-05-10T14:21:56.733Z] ---> f15fafae2ef1 [2023-05-10T14:21:56.733Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:21:56.733Z] ---> Running in ee8e2347b6fb [2023-05-10T14:21:57.300Z] Removing intermediate container ee8e2347b6fb [2023-05-10T14:21:57.300Z] ---> a8ac59491213 [2023-05-10T14:21:57.300Z] 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-10T14:21:57.300Z] ---> Running in 74eb5b77eae0 [2023-05-10T14:21:57.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:57.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:57.819Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:21:58.387Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:21:58.387Z] (1/7) Installing curl (8.0.1-r0) [2023-05-10T14:21:58.387Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-10T14:21:58.387Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-10T14:21:58.387Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-10T14:21:58.956Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-10T14:21:59.216Z] (6/7) Installing libuuid (2.38-r1) [2023-05-10T14:21:59.216Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-10T14:21:59.784Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:21:59.784Z] OK: 275 MiB in 83 packages [2023-05-10T14:22:00.351Z] Removing intermediate container 74eb5b77eae0 [2023-05-10T14:22:00.351Z] ---> 92a8cf69ee39 [2023-05-10T14:22:00.351Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-10T14:22:00.351Z] ---> f4420ce547e3 [2023-05-10T14:22:00.351Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-10T14:22:00.611Z] ---> eb03594bdd58 [2023-05-10T14:22:00.611Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-10T14:22:00.611Z] ---> 401adef29fa1 [2023-05-10T14:22:00.611Z] Successfully built 401adef29fa1 [2023-05-10T14:22:00.611Z] 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-10T14:22:01.320Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T14:22:01.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:22:01.470Z] prd-ubuntu20.04-docker-8c-8g-14907 does not seem to be running inside a container [2023-05-10T14:22:01.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-455 -v /w/workspace/edgexfoundry_device-sdk-c_PR-455:/w/workspace/edgexfoundry_device-sdk-c_PR-455:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-455@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T14:22:01.851Z] $ docker top 55f0e1c09f62a1f0bb8371b1156779688ee3ba8db4c54bd73b7c7b7aaa4db74b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T14:22:02.253Z] + make test [2023-05-10T14:22:02.253Z] echo "make test" [2023-05-10T14:22:02.253Z] make test [Pipeline] } [2023-05-10T14:22:02.282Z] $ docker stop --time=1 55f0e1c09f62a1f0bb8371b1156779688ee3ba8db4c54bd73b7c7b7aaa4db74b [2023-05-10T14:22:03.547Z] $ docker rm -f --volumes 55f0e1c09f62a1f0bb8371b1156779688ee3ba8db4c54bd73b7c7b7aaa4db74b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T14:22:04.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T14:22:04.702Z] + ls -al . [2023-05-10T14:22:04.703Z] total 212 [2023-05-10T14:22:04.703Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 14:21 . [2023-05-10T14:22:04.703Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:20 .. [2023-05-10T14:22:04.703Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 14:21 .git [2023-05-10T14:22:04.703Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:21 .github [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 176 May 10 14:21 .gitignore [2023-05-10T14:22:04.703Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 14:21 .semver [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 10 14:21 Attribution.txt [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 10 14:21 CHANGES [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 10 14:21 Doxyfile [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 14:21 GOVERNANCE.md [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 784 May 10 14:21 Jenkinsfile [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 10 14:21 LICENSE [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 444 May 10 14:21 Makefile [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 618 May 10 14:21 OWNERS.md [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 10 14:21 README.IOT.md [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 10 14:21 README.md [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 10 14:21 README.v3.md [2023-05-10T14:22:04.703Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 14:21 VERSION [2023-05-10T14:22:04.703Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:21 docs [2023-05-10T14:22:04.703Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:21 include [2023-05-10T14:22:04.703Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:21 scripts [2023-05-10T14:22:04.703Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:21 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:22:05.089Z] + 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=f2a2ac9a233eff32af019a57e4e6aa1035176677 --label arch=amd64 --label version=0.0.0 . [2023-05-10T14:22:05.089Z] Sending build context to Docker daemon 4.973MB [2023-05-10T14:22:05.089Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-10T14:22:05.089Z] Step 2/17 : FROM ${BASE} [2023-05-10T14:22:05.089Z] ---> 401adef29fa1 [2023-05-10T14:22:05.089Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-10T14:22:05.089Z] ---> Running in 8986b8c0b441 [2023-05-10T14:22:05.089Z] Removing intermediate container 8986b8c0b441 [2023-05-10T14:22:05.089Z] ---> 4ed37ff4a010 [2023-05-10T14:22:05.089Z] 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-10T14:22:05.348Z] ---> Running in d08e0ea3647d [2023-05-10T14:22:05.348Z] Connecting to iotech.jfrog.io (52.18.237.175:443) [2023-05-10T14:22:05.918Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:22:05.918Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:22:05.918Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:22:06.178Z] Removing intermediate container d08e0ea3647d [2023-05-10T14:22:06.178Z] ---> 88848934a750 [2023-05-10T14:22:06.179Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:22:06.179Z] ---> Running in ba61ae7dfbad [2023-05-10T14:22:06.747Z] Removing intermediate container ba61ae7dfbad [2023-05-10T14:22:06.747Z] ---> b13cc1c96bd1 [2023-05-10T14:22:06.747Z] 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-10T14:22:06.747Z] ---> Running in c28c26bd9289 [2023-05-10T14:22:07.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:22:07.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-10T14:22:07.006Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-10T14:22:07.574Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:22:07.574Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-10T14:22:07.834Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-10T14:22:08.094Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-10T14:22:08.094Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-10T14:22:08.094Z] (5/9) Installing libblkid (2.38-r1) [2023-05-10T14:22:08.094Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-10T14:22:08.094Z] (7/9) Installing libmount (2.38-r1) [2023-05-10T14:22:08.094Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-10T14:22:08.094Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-10T14:22:08.094Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:22:08.094Z] OK: 281 MiB in 92 packages [2023-05-10T14:22:08.665Z] Removing intermediate container c28c26bd9289 [2023-05-10T14:22:08.665Z] ---> f6572ac2bd24 [2023-05-10T14:22:08.665Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-10T14:22:08.665Z] ---> 3f5bc59e4799 [2023-05-10T14:22:08.665Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-10T14:22:08.924Z] ---> 8d4b306b6852 [2023-05-10T14:22:08.924Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-10T14:22:09.184Z] ---> ab14f4cc36ca [2023-05-10T14:22:09.184Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-10T14:22:09.184Z] ---> 2da09557a448 [2023-05-10T14:22:09.184Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-10T14:22:09.444Z] ---> 782cd9446870 [2023-05-10T14:22:09.444Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-10T14:22:09.444Z] ---> 786985f0d1c7 [2023-05-10T14:22:09.444Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-10T14:22:09.444Z] ---> Running in cf69b9733a80 [2023-05-10T14:22:09.444Z] Removing intermediate container cf69b9733a80 [2023-05-10T14:22:09.444Z] ---> 641529bb5b0f [2023-05-10T14:22:09.444Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-10T14:22:09.444Z] ---> Running in f5d8deeb7b67 [2023-05-10T14:22:09.703Z] Removing intermediate container f5d8deeb7b67 [2023-05-10T14:22:09.703Z] ---> caa3f8dea50a [2023-05-10T14:22:09.703Z] Step 15/17 : LABEL arch=amd64 [2023-05-10T14:22:09.703Z] ---> Running in 99b565b3822e [2023-05-10T14:22:09.703Z] Removing intermediate container 99b565b3822e [2023-05-10T14:22:09.703Z] ---> e0cdde2fdc28 [2023-05-10T14:22:09.703Z] Step 16/17 : LABEL git_sha=f2a2ac9a233eff32af019a57e4e6aa1035176677 [2023-05-10T14:22:09.703Z] ---> Running in a33835428ca1 [2023-05-10T14:22:09.703Z] Removing intermediate container a33835428ca1 [2023-05-10T14:22:09.703Z] ---> 7323506c1280 [2023-05-10T14:22:09.703Z] Step 17/17 : LABEL version=0.0.0 [2023-05-10T14:22:09.703Z] ---> Running in 2d46be03fa45 [2023-05-10T14:22:09.963Z] Removing intermediate container 2d46be03fa45 [2023-05-10T14:22:09.963Z] ---> f0c26120b16b [2023-05-10T14:22:09.963Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-10T14:22:09.963Z] Successfully built f0c26120b16b [2023-05-10T14:22:09.963Z] 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-10T14:22:10.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T14:22:10.915Z] [2023-05-10T14:22:10.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:22:11.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T14:22:11.296Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T14:22:11.296Z] 5eb5b503b376: Pulling fs layer [2023-05-10T14:22:11.296Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T14:22:11.296Z] ec43610c2a17: Pulling fs layer [2023-05-10T14:22:11.296Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T14:22:11.296Z] 33b1e0a273af: Pulling fs layer [2023-05-10T14:22:11.296Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T14:22:11.296Z] 2f39f015ded8: Pulling fs layer [2023-05-10T14:22:11.296Z] 3a2ae6a8a46f: Waiting [2023-05-10T14:22:11.296Z] 5d3b04190fa2: Waiting [2023-05-10T14:22:11.296Z] 33b1e0a273af: Waiting [2023-05-10T14:22:11.296Z] 5c69ac0246d0: Download complete [2023-05-10T14:22:11.296Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T14:22:11.296Z] 3a2ae6a8a46f: Download complete [2023-05-10T14:22:11.296Z] 33b1e0a273af: Verifying Checksum [2023-05-10T14:22:11.296Z] 33b1e0a273af: Download complete [2023-05-10T14:22:11.296Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T14:22:11.296Z] 5d3b04190fa2: Download complete [2023-05-10T14:22:11.296Z] ec43610c2a17: Verifying Checksum [2023-05-10T14:22:11.296Z] ec43610c2a17: Download complete [2023-05-10T14:22:11.555Z] 5eb5b503b376: Verifying Checksum [2023-05-10T14:22:11.555Z] 5eb5b503b376: Download complete [2023-05-10T14:22:12.123Z] 2f39f015ded8: Verifying Checksum [2023-05-10T14:22:12.123Z] 2f39f015ded8: Download complete [2023-05-10T14:22:12.692Z] 5eb5b503b376: Pull complete [2023-05-10T14:22:12.952Z] 5c69ac0246d0: Pull complete [2023-05-10T14:22:13.212Z] ec43610c2a17: Pull complete [2023-05-10T14:22:13.472Z] 3a2ae6a8a46f: Pull complete [2023-05-10T14:22:13.472Z] 33b1e0a273af: Pull complete [2023-05-10T14:22:13.732Z] 5d3b04190fa2: Pull complete [2023-05-10T14:22:17.924Z] 2f39f015ded8: Pull complete [2023-05-10T14:22:17.924Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T14:22:17.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T14:22:17.924Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:22:18.146Z] prd-ubuntu20.04-docker-8c-8g-14907 does not seem to be running inside a container [2023-05-10T14:22:18.173Z] $ 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_PR-455 -v /w/workspace/edgexfoundry_device-sdk-c_PR-455:/w/workspace/edgexfoundry_device-sdk-c_PR-455:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-455@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T14:22:21.809Z] $ docker top 4d3037c1a41961861e2fdc5108c530f067292dacf169275e69c981f8f68c71ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:22:22.300Z] ---> job-cost.sh [2023-05-10T14:22:22.301Z] lf-activate-venv: SKIPPING [2023-05-10T14:22:22.301Z] INFO: No Stack... [2023-05-10T14:22:22.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T14:22:22.821Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T14:22:23.144Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives/cost.csv [2023-05-10T14:22:23.144Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T14:22:23.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [2023-05-10T14:22:23.191Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] did not exist. Created. [2023-05-10T14:22:23.191Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T14:22:23.583Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T14:22:23.648Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T14:22:23.664Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T14:22:23.742Z] $ docker stop --time=1 4d3037c1a41961861e2fdc5108c530f067292dacf169275e69c981f8f68c71ca [2023-05-10T14:22:24.886Z] $ docker rm -f --volumes 4d3037c1a41961861e2fdc5108c530f067292dacf169275e69c981f8f68c71ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T14:23:14.200Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14908 in /w/workspace/edgexfoundry_device-sdk-c_PR-455 [Pipeline] { [Pipeline] ws [2023-05-10T14:23:14.256Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-05-10T14:23:14.341Z] Selected Git installation does not exist. Using Default [2023-05-10T14:23:14.341Z] The recommended git tool is: NONE [2023-05-10T14:23:20.009Z] using credential edgex-jenkins-ssh [2023-05-10T14:23:20.028Z] Cloning the remote Git repository [2023-05-10T14:23:20.076Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-10T14:23:20.175Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-05-10T14:23:20.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-10T14:23:20.327Z] > git --version # timeout=10 [2023-05-10T14:23:20.352Z] > git --version # 'git version 2.25.1' [2023-05-10T14:23:20.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T14:23:20.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T14:23:23.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-10T14:23:23.180Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T14:23:24.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-10T14:23:24.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-10T14:23:24.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T14:23:24.170Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-10T14:23:24.774Z] Merging remotes/origin/main commit f74adf796a5a2724d03475485970680652a5aba3 into PR head commit f2a2ac9a233eff32af019a57e4e6aa1035176677 [2023-05-10T14:23:25.154Z] Merge succeeded, producing f2a2ac9a233eff32af019a57e4e6aa1035176677 [2023-05-10T14:23:25.155Z] Checking out Revision f2a2ac9a233eff32af019a57e4e6aa1035176677 (PR-455) [2023-05-10T14:23:24.797Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T14:23:24.902Z] > git checkout -f f2a2ac9a233eff32af019a57e4e6aa1035176677 # timeout=10 [2023-05-10T14:23:25.043Z] > git remote # timeout=10 [2023-05-10T14:23:25.062Z] > git config --get remote.origin.url # timeout=10 [2023-05-10T14:23:25.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T14:23:25.105Z] > git merge f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 [2023-05-10T14:23:25.134Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-10T14:23:25.159Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T14:23:25.173Z] > git checkout -f f2a2ac9a233eff32af019a57e4e6aa1035176677 # timeout=10 [2023-05-10T14:23:28.676Z] Commit message: "refactor!: bump remaining API to v3" [2023-05-10T14:23:28.724Z] > git --version # timeout=10 [2023-05-10T14:23:28.734Z] > git --version # 'git version 2.25.1' [2023-05-10T14:23:28.745Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T14:23:30.085Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T14:23:30.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T14:23:30.086Z] Dload Upload Total Spent Left Speed [2023-05-10T14:23:30.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66411 0 --:--:-- --:--:-- --:--:-- 66759 [Pipeline] sh [2023-05-10T14:23:30.772Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T14:23:31.131Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-05-10T14:23:31.132Z] [2023-05-10T14:23:31.132Z] { [2023-05-10T14:23:31.132Z] "registry-mirrors": [ [2023-05-10T14:23:31.132Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T14:23:31.132Z] ], [2023-05-10T14:23:31.132Z] "bip": "10.250.0.254/24", [2023-05-10T14:23:31.132Z] "hosts": [ [2023-05-10T14:23:31.132Z] "tcp://0.0.0.0:5555", [2023-05-10T14:23:31.132Z] "unix:///var/run/docker.sock" [2023-05-10T14:23:31.132Z] ], [2023-05-10T14:23:31.132Z] "mtu": 1458, [2023-05-10T14:23:31.132Z] "selinux-enabled": true, [2023-05-10T14:23:31.132Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T14:23:31.132Z] } [Pipeline] sh [2023-05-10T14:23:31.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T14:23:31.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T14:23:54.010Z] provisioning config files... [2023-05-10T14:23:54.038Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2218288299845165792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:23:54.450Z] ---> docker-login.sh [2023-05-10T14:23:54.451Z] nexus3.edgexfoundry.org:10001 [2023-05-10T14:23:55.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:23:55.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:23:55.040Z] Configure a credential helper to remove this warning. See [2023-05-10T14:23:55.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:23:55.040Z] [2023-05-10T14:23:55.040Z] Login Succeeded [2023-05-10T14:23:55.040Z] nexus3.edgexfoundry.org:10002 [2023-05-10T14:23:55.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:23:55.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:23:55.311Z] Configure a credential helper to remove this warning. See [2023-05-10T14:23:55.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:23:55.311Z] [2023-05-10T14:23:55.311Z] Login Succeeded [2023-05-10T14:23:55.311Z] nexus3.edgexfoundry.org:10003 [2023-05-10T14:23:55.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:23:55.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:23:55.858Z] Configure a credential helper to remove this warning. See [2023-05-10T14:23:55.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:23:55.858Z] [2023-05-10T14:23:55.858Z] Login Succeeded [2023-05-10T14:23:55.858Z] nexus3.edgexfoundry.org:10004 [2023-05-10T14:23:56.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:23:56.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:23:56.129Z] Configure a credential helper to remove this warning. See [2023-05-10T14:23:56.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:23:56.129Z] [2023-05-10T14:23:56.129Z] Login Succeeded [2023-05-10T14:23:56.129Z] docker.io [2023-05-10T14:23:56.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T14:23:56.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T14:23:56.665Z] Configure a credential helper to remove this warning. See [2023-05-10T14:23:56.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T14:23:56.665Z] [2023-05-10T14:23:56.665Z] Login Succeeded [2023-05-10T14:23:56.665Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T14:23:56.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T14:23:57.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T14:23:57.125Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-10T14:23:57.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T14:23:57.197Z] ========================================================= [2023-05-10T14:23:57.197Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-10T14:23:57.197Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:23:57.682Z] + 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-10T14:23:57.951Z] Sending build context to Docker daemon 3.042MB [2023-05-10T14:23:57.951Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-10T14:23:57.951Z] Step 2/21 : FROM ${BASE} as builder [2023-05-10T14:23:58.221Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-10T14:23:58.221Z] 9b18e9b68314: Pulling fs layer [2023-05-10T14:23:58.221Z] 1def92ead452: Pulling fs layer [2023-05-10T14:23:58.221Z] 9b18e9b68314: Verifying Checksum [2023-05-10T14:23:58.221Z] 9b18e9b68314: Download complete [2023-05-10T14:23:58.815Z] 9b18e9b68314: Pull complete [2023-05-10T14:24:00.241Z] 1def92ead452: Verifying Checksum [2023-05-10T14:24:00.241Z] 1def92ead452: Download complete [2023-05-10T14:24:08.494Z] 1def92ead452: Pull complete [2023-05-10T14:24:08.494Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-05-10T14:24:08.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-10T14:24:08.494Z] ---> 9a9802766715 [2023-05-10T14:24:08.494Z] 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-10T14:24:08.494Z] ---> Running in e89d21b75591 [2023-05-10T14:24:09.913Z] Connecting to iotech.jfrog.io (34.255.20.23:443) [2023-05-10T14:24:10.182Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:24:10.182Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:24:10.182Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:24:10.772Z] Removing intermediate container e89d21b75591 [2023-05-10T14:24:10.772Z] ---> 85ad4ae55b11 [2023-05-10T14:24:10.772Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:24:11.043Z] ---> Running in 653da04fe623 [2023-05-10T14:24:12.468Z] Removing intermediate container 653da04fe623 [2023-05-10T14:24:12.468Z] ---> 928bb5b96e6f [2023-05-10T14:24:12.468Z] 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-10T14:24:12.468Z] ---> Running in 8b597b2377e1 [2023-05-10T14:24:13.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:24:13.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-10T14:24:14.298Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:24:15.264Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:24:15.264Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-10T14:24:15.264Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-10T14:24:15.264Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-10T14:24:15.846Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-10T14:24:15.847Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-10T14:24:15.847Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-10T14:24:15.847Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-10T14:24:15.847Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-10T14:24:16.809Z] (9/14) Installing libblkid (2.38-r1) [2023-05-10T14:24:17.078Z] (10/14) Installing libuuid (2.38-r1) [2023-05-10T14:24:17.078Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-10T14:24:17.078Z] (12/14) Installing libmount (2.38-r1) [2023-05-10T14:24:17.078Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-10T14:24:17.078Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-10T14:24:17.078Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:24:17.078Z] OK: 286 MiB in 90 packages [2023-05-10T14:24:18.500Z] Removing intermediate container 8b597b2377e1 [2023-05-10T14:24:18.500Z] ---> d2a1ed1f04d4 [2023-05-10T14:24:18.500Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-10T14:24:18.500Z] ---> Running in 1a3c4ea743e6 [2023-05-10T14:24:19.915Z] Removing intermediate container 1a3c4ea743e6 [2023-05-10T14:24:19.915Z] ---> 3e8f46d57cc4 [2023-05-10T14:24:19.915Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-10T14:24:20.499Z] ---> 726ad40a33d4 [2023-05-10T14:24:20.499Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-10T14:24:21.084Z] ---> 716c8409c067 [2023-05-10T14:24:21.084Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-10T14:24:21.670Z] ---> e94fe7bdaf13 [2023-05-10T14:24:21.670Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-10T14:24:21.937Z] ---> 8d25e44afe93 [2023-05-10T14:24:21.937Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-10T14:24:22.526Z] ---> d76fffc472e7 [2023-05-10T14:24:22.526Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-10T14:24:23.117Z] ---> 64d060996556 [2023-05-10T14:24:23.117Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-10T14:24:23.117Z] ---> Running in 3144b6811cf4 [2023-05-10T14:24:24.098Z] + CPPCHECK=false [2023-05-10T14:24:24.098Z] + DOCGEN=false [2023-05-10T14:24:24.098Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-10T14:24:24.098Z] + '[' 0 -gt 0 ] [2023-05-10T14:24:24.098Z] + readlink -f ./scripts/build.sh [2023-05-10T14:24:24.098Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-10T14:24:24.098Z] + dirname /tmp/sdk/scripts [2023-05-10T14:24:24.098Z] + ROOT=/tmp/sdk [2023-05-10T14:24:24.098Z] + cd /tmp/sdk [2023-05-10T14:24:24.098Z] + mkdir -p /tmp/sdk/build/release [2023-05-10T14:24:24.098Z] + cd /tmp/sdk/build/release [2023-05-10T14:24:24.098Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-10T14:24:24.689Z] -- The C compiler identification is GNU 11.2.1 [2023-05-10T14:24:24.689Z] -- Detecting C compiler ABI info [2023-05-10T14:24:24.961Z] -- Detecting C compiler ABI info - done [2023-05-10T14:24:24.961Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-10T14:24:24.961Z] -- Detecting C compile features [2023-05-10T14:24:24.961Z] -- Detecting C compile features - done [2023-05-10T14:24:25.232Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-10T14:24:25.232Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-10T14:24:25.232Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-10T14:24:25.232Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-10T14:24:25.501Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-10T14:24:25.501Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-10T14:24:25.501Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-10T14:24:25.501Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-10T14:24:25.501Z] -- /opt/iotech/iot/1.5/include [2023-05-10T14:24:25.501Z] -- C SDK 0.0.0 for Linux [2023-05-10T14:24:25.501Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-10T14:24:25.772Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-10T14:24:26.042Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-10T14:24:26.042Z] -- Configuring done [2023-05-10T14:24:26.312Z] -- Generating done [2023-05-10T14:24:26.312Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-10T14:24:26.312Z] + + maketee all release.log package [2023-05-10T14:24:26.312Z] [2023-05-10T14:24:26.581Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-10T14:24:27.545Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-10T14:24:28.540Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-10T14:24:29.510Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-10T14:24:30.483Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-10T14:24:31.446Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-10T14:24:34.028Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-10T14:24:34.987Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-10T14:24:35.255Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-10T14:24:36.214Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-10T14:24:38.796Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-10T14:24:39.380Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-10T14:24:40.337Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-10T14:24:41.298Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-10T14:24:41.884Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-10T14:24:43.293Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-10T14:24:43.293Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-10T14:24:46.631Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-10T14:24:46.631Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-10T14:24:47.217Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-10T14:24:49.159Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-10T14:24:55.800Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-10T14:24:55.800Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-10T14:24:56.067Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-10T14:24:56.650Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-10T14:24:57.237Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-10T14:24:59.176Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-10T14:25:01.756Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-10T14:25:02.026Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-10T14:25:03.430Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-10T14:25:04.013Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-10T14:25:08.265Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-10T14:25:08.532Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-10T14:25:09.115Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-10T14:25:09.702Z] [ 68%] Linking C shared library libcsdk.so [2023-05-10T14:25:09.970Z] [ 68%] Built target csdk [2023-05-10T14:25:09.970Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-10T14:25:11.379Z] [ 72%] Linking C executable template [2023-05-10T14:25:11.380Z] [ 72%] Built target template [2023-05-10T14:25:11.380Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-10T14:25:12.340Z] [ 76%] Linking C executable device-counter [2023-05-10T14:25:12.340Z] [ 76%] Built target device-counter [2023-05-10T14:25:12.608Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-10T14:25:13.190Z] [ 80%] Linking C executable device-random [2023-05-10T14:25:13.459Z] [ 80%] Built target device-random [2023-05-10T14:25:13.459Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-10T14:25:14.043Z] [ 84%] Linking C executable device-gyro [2023-05-10T14:25:14.312Z] [ 84%] Built target device-gyro [2023-05-10T14:25:14.312Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-10T14:25:15.281Z] [ 88%] Linking C executable device-bitfields [2023-05-10T14:25:15.281Z] [ 88%] Built target device-bitfields [2023-05-10T14:25:15.550Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-10T14:25:16.514Z] [ 92%] Linking C executable template-discovery [2023-05-10T14:25:16.783Z] [ 92%] Built target template-discovery [2023-05-10T14:25:16.783Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-10T14:25:17.752Z] [ 96%] Linking C executable device-file [2023-05-10T14:25:18.339Z] [ 96%] Built target device-file [2023-05-10T14:25:18.339Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-10T14:25:18.924Z] [100%] Linking C executable device-terminal [2023-05-10T14:25:19.510Z] [100%] Built target device-terminal [2023-05-10T14:25:19.510Z] Run CPack packaging tool... [2023-05-10T14:25:19.510Z] CPack: Create package using TGZ [2023-05-10T14:25:19.510Z] CPack: Install projects [2023-05-10T14:25:19.510Z] CPack: - Run preinstall target for: Csdk [2023-05-10T14:25:20.099Z] CPack: - Install project: Csdk [] [2023-05-10T14:25:20.367Z] CPack: Create package [2023-05-10T14:25:20.367Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-10T14:25:20.367Z] + '[' false '=' true ] [2023-05-10T14:25:20.367Z] + '[' false '=' true ] [2023-05-10T14:25:20.367Z] + mkdir -p /tmp/sdk/build/debug [2023-05-10T14:25:20.367Z] + cd /tmp/sdk/build/debug [2023-05-10T14:25:20.367Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-10T14:25:20.635Z] -- The C compiler identification is GNU 11.2.1 [2023-05-10T14:25:20.635Z] -- Detecting C compiler ABI info [2023-05-10T14:25:21.222Z] -- Detecting C compiler ABI info - done [2023-05-10T14:25:21.222Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-10T14:25:21.222Z] -- Detecting C compile features [2023-05-10T14:25:21.222Z] -- Detecting C compile features - done [2023-05-10T14:25:21.222Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-10T14:25:21.491Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-10T14:25:21.491Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-10T14:25:21.491Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-10T14:25:21.491Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-10T14:25:21.491Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-10T14:25:21.491Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-10T14:25:21.491Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-10T14:25:21.491Z] -- /opt/iotech/iot/1.5/include [2023-05-10T14:25:21.491Z] -- C SDK 0.0.0 for Linux [2023-05-10T14:25:21.491Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-10T14:25:21.761Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-10T14:25:22.028Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-10T14:25:22.028Z] -- Configuring done [2023-05-10T14:25:22.298Z] -- Generating done [2023-05-10T14:25:22.298Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-10T14:25:22.566Z] + make [2023-05-10T14:25:22.566Z] + tee debug.log [2023-05-10T14:25:22.566Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-10T14:25:23.152Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-10T14:25:23.425Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-10T14:25:24.016Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-10T14:25:24.601Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-10T14:25:24.871Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-10T14:25:25.833Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-10T14:25:26.421Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-10T14:25:26.421Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-10T14:25:27.006Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-10T14:25:27.971Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-10T14:25:28.241Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-10T14:25:28.827Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-10T14:25:29.096Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-10T14:25:29.682Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-10T14:25:29.953Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-10T14:25:30.221Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-10T14:25:31.183Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-10T14:25:31.457Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-10T14:25:31.726Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-10T14:25:32.702Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-10T14:25:33.662Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-10T14:25:34.250Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-10T14:25:34.521Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-10T14:25:35.109Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-10T14:25:35.393Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-10T14:25:35.978Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-10T14:25:38.581Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-10T14:25:38.581Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-10T14:25:38.847Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-10T14:25:39.504Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-10T14:25:40.496Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-10T14:25:41.087Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-10T14:25:41.365Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-10T14:25:41.636Z] [ 68%] Linking C shared library libcsdk.so [2023-05-10T14:25:41.906Z] [ 68%] Built target csdk [2023-05-10T14:25:42.176Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-10T14:25:42.456Z] [ 72%] Linking C executable template [2023-05-10T14:25:42.735Z] [ 72%] Built target template [2023-05-10T14:25:43.013Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-10T14:25:43.280Z] [ 76%] Linking C executable device-counter [2023-05-10T14:25:43.549Z] [ 76%] Built target device-counter [2023-05-10T14:25:43.549Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-10T14:25:44.135Z] [ 80%] Linking C executable device-random [2023-05-10T14:25:44.403Z] [ 80%] Built target device-random [2023-05-10T14:25:44.403Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-10T14:25:44.672Z] [ 84%] Linking C executable device-gyro [2023-05-10T14:25:45.256Z] [ 84%] Built target device-gyro [2023-05-10T14:25:45.256Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-10T14:25:45.523Z] [ 88%] Linking C executable device-bitfields [2023-05-10T14:25:45.791Z] [ 88%] Built target device-bitfields [2023-05-10T14:25:46.060Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-10T14:25:46.327Z] [ 92%] Linking C executable template-discovery [2023-05-10T14:25:46.597Z] [ 92%] Built target template-discovery [2023-05-10T14:25:46.864Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-10T14:25:47.133Z] [ 96%] Linking C executable device-file [2023-05-10T14:25:47.403Z] [ 96%] Built target device-file [2023-05-10T14:25:47.670Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-10T14:25:47.939Z] [100%] Linking C executable device-terminal [2023-05-10T14:25:48.525Z] [100%] Built target device-terminal [2023-05-10T14:25:48.525Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] [ 68%] Built target csdk [2023-05-10T14:25:48.525Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] [ 72%] Built target template [2023-05-10T14:25:48.525Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.525Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] [ 76%] Built target device-counter [2023-05-10T14:25:48.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] [ 80%] Built target device-random [2023-05-10T14:25:48.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] [ 84%] Built target device-gyro [2023-05-10T14:25:48.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] [ 88%] Built target device-bitfields [2023-05-10T14:25:48.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:48.793Z] [ 92%] Built target template-discovery [2023-05-10T14:25:48.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:49.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:49.062Z] [ 96%] Built target device-file [2023-05-10T14:25:49.062Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-10T14:25:49.062Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:49.062Z] [100%] Built target device-terminal [2023-05-10T14:25:49.062Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:49.062Z] Install the project... [2023-05-10T14:25:49.062Z] -- Install configuration: "Release" [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-10T14:25:49.062Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/devsdk [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-10T14:25:49.062Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-10T14:25:49.062Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-10T14:25:54.409Z] Removing intermediate container 3144b6811cf4 [2023-05-10T14:25:54.409Z] ---> 9c8f0683423f [2023-05-10T14:25:54.409Z] Step 14/21 : FROM ${BASE} [2023-05-10T14:25:54.409Z] ---> 9a9802766715 [2023-05-10T14:25:54.409Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-10T14:25:54.409Z] ---> Running in 031f1f65ae9f [2023-05-10T14:25:54.409Z] Removing intermediate container 031f1f65ae9f [2023-05-10T14:25:54.409Z] ---> ecbdc0e3f828 [2023-05-10T14:25:54.409Z] 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-10T14:25:54.409Z] ---> Running in 9e797dd69dea [2023-05-10T14:25:54.995Z] Connecting to iotech.jfrog.io (52.214.118.216:443) [2023-05-10T14:25:55.263Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:25:55.263Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:25:55.263Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:25:56.230Z] Removing intermediate container 9e797dd69dea [2023-05-10T14:25:56.230Z] ---> ed4156fcac82 [2023-05-10T14:25:56.230Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:25:56.230Z] ---> Running in 778a03449b8c [2023-05-10T14:25:57.641Z] Removing intermediate container 778a03449b8c [2023-05-10T14:25:57.641Z] ---> 589628aa50f2 [2023-05-10T14:25:57.641Z] 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-10T14:25:57.641Z] ---> Running in a6e8aca8cb47 [2023-05-10T14:25:58.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:25:58.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-10T14:25:59.452Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:26:00.413Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:26:00.413Z] (1/7) Installing curl (8.0.1-r0) [2023-05-10T14:26:00.413Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-10T14:26:00.413Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-10T14:26:00.413Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-10T14:26:01.372Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-10T14:26:01.372Z] (6/7) Installing libuuid (2.38-r1) [2023-05-10T14:26:01.372Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-10T14:26:01.956Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:26:01.956Z] OK: 281 MiB in 83 packages [2023-05-10T14:26:03.382Z] Removing intermediate container a6e8aca8cb47 [2023-05-10T14:26:03.382Z] ---> 4b35d2d2bb4e [2023-05-10T14:26:03.382Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-10T14:26:05.329Z] ---> 2bff5d0c9726 [2023-05-10T14:26:05.329Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-10T14:26:05.917Z] ---> f77723980e85 [2023-05-10T14:26:05.917Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-10T14:26:06.500Z] ---> db05f72079df [2023-05-10T14:26:06.500Z] Successfully built db05f72079df [2023-05-10T14:26:06.500Z] 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-10T14:26:07.236Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T14:26:07.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:26:07.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-14908 does not seem to be running inside a container [2023-05-10T14:26:07.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T14:26:08.804Z] $ docker top dc200343e037e20af42cebca5ff02377cc21743f84f40994cb6098d80970f5b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T14:26:09.692Z] + make test [2023-05-10T14:26:09.692Z] echo "make test" [2023-05-10T14:26:09.692Z] make test [Pipeline] } [2023-05-10T14:26:09.734Z] $ docker stop --time=1 dc200343e037e20af42cebca5ff02377cc21743f84f40994cb6098d80970f5b4 [2023-05-10T14:26:11.394Z] $ docker rm -f --volumes dc200343e037e20af42cebca5ff02377cc21743f84f40994cb6098d80970f5b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T14:26:12.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T14:26:12.574Z] + ls -al . [2023-05-10T14:26:12.574Z] total 208 [2023-05-10T14:26:12.574Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 14:23 . [2023-05-10T14:26:12.574Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:23 .. [2023-05-10T14:26:12.574Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 14:23 .git [2023-05-10T14:26:12.574Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:23 .github [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 176 May 10 14:23 .gitignore [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 10 14:23 Attribution.txt [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 10 14:23 CHANGES [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 10 14:23 Doxyfile [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 14:23 GOVERNANCE.md [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 784 May 10 14:23 Jenkinsfile [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 10 14:23 LICENSE [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 444 May 10 14:23 Makefile [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 618 May 10 14:23 OWNERS.md [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 10 14:23 README.IOT.md [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 10 14:23 README.md [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 10 14:23 README.v3.md [2023-05-10T14:26:12.574Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 14:21 VERSION [2023-05-10T14:26:12.574Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:23 docs [2023-05-10T14:26:12.574Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:23 include [2023-05-10T14:26:12.574Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:23 scripts [2023-05-10T14:26:12.574Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:26:13.066Z] + 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=f2a2ac9a233eff32af019a57e4e6aa1035176677 --label arch=arm64 --label version=0.0.0 . [2023-05-10T14:26:13.333Z] Sending build context to Docker daemon 3.042MB [2023-05-10T14:26:13.599Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-10T14:26:13.599Z] Step 2/17 : FROM ${BASE} [2023-05-10T14:26:13.599Z] ---> db05f72079df [2023-05-10T14:26:13.599Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-10T14:26:13.599Z] ---> Running in 7a7b656904cc [2023-05-10T14:26:13.866Z] Removing intermediate container 7a7b656904cc [2023-05-10T14:26:13.867Z] ---> cbc1da9f64d4 [2023-05-10T14:26:13.867Z] 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-10T14:26:13.867Z] ---> Running in 05815aa7dc6c [2023-05-10T14:26:14.827Z] Connecting to iotech.jfrog.io (52.18.54.80:443) [2023-05-10T14:26:15.410Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-10T14:26:15.410Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-10T14:26:15.410Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-10T14:26:16.000Z] Removing intermediate container 05815aa7dc6c [2023-05-10T14:26:16.000Z] ---> 8012cc262079 [2023-05-10T14:26:16.000Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-10T14:26:16.000Z] ---> Running in 243a67e024d0 [2023-05-10T14:26:19.349Z] Removing intermediate container 243a67e024d0 [2023-05-10T14:26:19.349Z] ---> 71d495bf81b0 [2023-05-10T14:26:19.349Z] 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-10T14:26:19.349Z] ---> Running in 2a1c24cdb509 [2023-05-10T14:26:19.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:26:20.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-10T14:26:20.789Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-10T14:26:21.595Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-10T14:26:21.863Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-10T14:26:22.129Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-10T14:26:22.130Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-10T14:26:22.399Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-10T14:26:22.399Z] (5/9) Installing libblkid (2.38-r1) [2023-05-10T14:26:22.399Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-10T14:26:22.399Z] (7/9) Installing libmount (2.38-r1) [2023-05-10T14:26:22.399Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-10T14:26:22.399Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-10T14:26:22.399Z] Executing busybox-1.35.0-r17.trigger [2023-05-10T14:26:22.399Z] OK: 287 MiB in 92 packages [2023-05-10T14:26:23.818Z] Removing intermediate container 2a1c24cdb509 [2023-05-10T14:26:23.818Z] ---> 7c5fb69908bf [2023-05-10T14:26:23.818Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-10T14:26:24.084Z] ---> 3390cf66dbe3 [2023-05-10T14:26:24.084Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-10T14:26:25.045Z] ---> ebf5e37a5afe [2023-05-10T14:26:25.045Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-10T14:26:25.312Z] ---> 811a7fa9475b [2023-05-10T14:26:25.312Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-10T14:26:25.894Z] ---> 978642c7be32 [2023-05-10T14:26:25.894Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-10T14:26:26.477Z] ---> 400df000ff1f [2023-05-10T14:26:26.477Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-10T14:26:26.747Z] ---> 32077796fbbb [2023-05-10T14:26:26.747Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-10T14:26:27.013Z] ---> Running in 5a0a214b8388 [2023-05-10T14:26:27.281Z] Removing intermediate container 5a0a214b8388 [2023-05-10T14:26:27.281Z] ---> 2326fbba30e6 [2023-05-10T14:26:27.281Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-10T14:26:27.281Z] ---> Running in dba9aba6af30 [2023-05-10T14:26:27.547Z] Removing intermediate container dba9aba6af30 [2023-05-10T14:26:27.547Z] ---> c122d6845699 [2023-05-10T14:26:27.547Z] Step 15/17 : LABEL arch=arm64 [2023-05-10T14:26:27.547Z] ---> Running in f485973a792d [2023-05-10T14:26:27.814Z] Removing intermediate container f485973a792d [2023-05-10T14:26:27.814Z] ---> 27ece6319552 [2023-05-10T14:26:27.814Z] Step 16/17 : LABEL git_sha=f2a2ac9a233eff32af019a57e4e6aa1035176677 [2023-05-10T14:26:28.081Z] ---> Running in d5efdb4a3c8b [2023-05-10T14:26:28.349Z] Removing intermediate container d5efdb4a3c8b [2023-05-10T14:26:28.349Z] ---> 86926614cd38 [2023-05-10T14:26:28.349Z] Step 17/17 : LABEL version=0.0.0 [2023-05-10T14:26:28.349Z] ---> Running in 0c6bf22bcb75 [2023-05-10T14:26:28.615Z] Removing intermediate container 0c6bf22bcb75 [2023-05-10T14:26:28.615Z] ---> 9953f254887c [2023-05-10T14:26:28.615Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-10T14:26:28.615Z] Successfully built 9953f254887c [2023-05-10T14:26:28.615Z] 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-10T14:26:29.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T14:26:29.409Z] [2023-05-10T14:26:29.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:26:29.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T14:26:30.084Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T14:26:30.084Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T14:26:30.084Z] 04944245beec: Pulling fs layer [2023-05-10T14:26:30.084Z] 699f458cf7ca: Pulling fs layer [2023-05-10T14:26:30.084Z] 765212b225bb: Pulling fs layer [2023-05-10T14:26:30.084Z] f23df028b6ca: Pulling fs layer [2023-05-10T14:26:30.084Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T14:26:30.084Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T14:26:30.084Z] f23df028b6ca: Waiting [2023-05-10T14:26:30.084Z] d65c8cfc05b1: Waiting [2023-05-10T14:26:30.084Z] 2437ff75d9bd: Waiting [2023-05-10T14:26:30.084Z] 765212b225bb: Waiting [2023-05-10T14:26:30.084Z] 04944245beec: Verifying Checksum [2023-05-10T14:26:30.084Z] 04944245beec: Download complete [2023-05-10T14:26:30.084Z] 765212b225bb: Verifying Checksum [2023-05-10T14:26:30.084Z] 765212b225bb: Download complete [2023-05-10T14:26:30.360Z] f23df028b6ca: Verifying Checksum [2023-05-10T14:26:30.360Z] f23df028b6ca: Download complete [2023-05-10T14:26:30.360Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T14:26:30.360Z] d65c8cfc05b1: Download complete [2023-05-10T14:26:30.360Z] 699f458cf7ca: Verifying Checksum [2023-05-10T14:26:30.360Z] 699f458cf7ca: Download complete [2023-05-10T14:26:30.630Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T14:26:30.630Z] 8998bd30e6a1: Download complete [2023-05-10T14:26:33.218Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T14:26:34.626Z] 8998bd30e6a1: Pull complete [2023-05-10T14:26:34.893Z] 04944245beec: Pull complete [2023-05-10T14:26:35.851Z] 699f458cf7ca: Pull complete [2023-05-10T14:26:36.122Z] 765212b225bb: Pull complete [2023-05-10T14:26:37.083Z] f23df028b6ca: Pull complete [2023-05-10T14:26:37.083Z] d65c8cfc05b1: Pull complete [2023-05-10T14:26:49.398Z] 2437ff75d9bd: Pull complete [2023-05-10T14:26:49.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T14:26:49.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T14:26:49.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:26:49.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-14908 does not seem to be running inside a container [2023-05-10T14:26:49.774Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-10T14:26:52.239Z] $ docker top 34b7b27b62f3eea69501d22b97306931a79b3bbfc47c4e720ec25932fd6e3ad4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:26:53.140Z] ---> job-cost.sh [2023-05-10T14:26:53.140Z] lf-activate-venv: SKIPPING [2023-05-10T14:26:53.140Z] INFO: No Stack... [2023-05-10T14:26:53.407Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T14:26:54.363Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T14:26:55.058Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-05-10T14:26:55.058Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T14:26:55.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [2023-05-10T14:26:55.155Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] did not exist. Created. [2023-05-10T14:26:55.156Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T14:26:55.579Z] /w/workspace/device-sdk-c/1@tmp/durable-289eaa36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T14:26:55.959Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T14:26:55.995Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T14:26:56.418Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T14:26:56.435Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-455-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T14:26:56.513Z] $ docker stop --time=1 34b7b27b62f3eea69501d22b97306931a79b3bbfc47c4e720ec25932fd6e3ad4 [2023-05-10T14:26:58.003Z] $ docker rm -f --volumes 34b7b27b62f3eea69501d22b97306931a79b3bbfc47c4e720ec25932fd6e3ad4 [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-10T14:26:59.696Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives ] [2023-05-10T14:26:59.697Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives [2023-05-10T14:26:59.697Z] total 16 [2023-05-10T14:26:59.697Z] drwxr-xr-x 3 root root 4096 May 10 14:22 . [2023-05-10T14:26:59.697Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 14:22 .. [2023-05-10T14:26:59.697Z] drwxr-xr-x 2 root root 4096 May 10 14:22 cost [2023-05-10T14:26:59.697Z] -rw-r--r-- 1 root root 84 May 10 14:22 cost.csv [2023-05-10T14:26:59.697Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives [2023-05-10T14:26:59.697Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives [2023-05-10T14:26:59.697Z] total 16 [2023-05-10T14:26:59.697Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 14:22 . [2023-05-10T14:26:59.697Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 14:22 .. [2023-05-10T14:26:59.697Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 14:22 cost [2023-05-10T14:26:59.697Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 14:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:00.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:00.919Z] ---> package-listing.sh [2023-05-10T14:27:00.919Z] ++ facter osfamily [2023-05-10T14:27:00.919Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T14:27:01.179Z] + OS_FAMILY=debian [2023-05-10T14:27:01.179Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-455 [2023-05-10T14:27:01.179Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T14:27:01.179Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T14:27:01.179Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T14:27:01.179Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T14:27:01.179Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-455 ']' [2023-05-10T14:27:01.179Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T14:27:01.179Z] + case "${OS_FAMILY}" in [2023-05-10T14:27:01.179Z] + dpkg -l [2023-05-10T14:27:01.179Z] + grep '^ii' [2023-05-10T14:27:01.179Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T14:27:01.179Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T14:27:01.179Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T14:27:01.179Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-455 ']' [2023-05-10T14:27:01.179Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives/ [2023-05-10T14:27:01.179Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-455/archives/ [Pipeline] echo [2023-05-10T14:27:01.217Z] 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_PR-455/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T14:27:01.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T14:27:02.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T14:27:02.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T14:27:02.281Z] prd-ubuntu20.04-docker-8c-8g-14907 does not seem to be running inside a container [2023-05-10T14:27:02.313Z] $ 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_PR-455/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_PR-455 -v /w/workspace/edgexfoundry_device-sdk-c_PR-455:/w/workspace/edgexfoundry_device-sdk-c_PR-455:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-455@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T14:27:02.479Z] $ docker top 189971dba2b4f68fd6eae9cb0247c118accb61f87664016ffa5d9529ee467b70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T14:27:02.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T14:27:03.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T14:27:03.490Z] + ls /var/log/sa-host [2023-05-10T14:27:03.490Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T14:27:03.709Z] provisioning config files... [2023-05-10T14:27:03.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-455@tmp/config4004453106600114844tmp [Pipeline] { [Pipeline] echo [2023-05-10T14:27:03.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:04.079Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T14:27:04.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:04.518Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T14:27:04.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:04.868Z] ---> sudo-logs.sh [2023-05-10T14:27:04.868Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T14:27:04.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:05.262Z] ---> job-cost.sh [2023-05-10T14:27:05.262Z] lf-activate-venv: SKIPPING [2023-05-10T14:27:05.262Z] DEBUG: total: 0.2199999988079071 [2023-05-10T14:27:05.262Z] INFO: Retrieving Stack Cost... [2023-05-10T14:27:05.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T14:27:05.783Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T14:27:05.833Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T14:27:06.153Z] ---> logs-deploy.sh [2023-05-10T14:27:06.153Z] lf-activate-venv: SKIPPING [2023-05-10T14:27:06.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-455/1 [2023-05-10T14:27:06.153Z] INFO: archiving workspace using pattern(s): [2023-05-10T14:27:07.097Z] Archives upload complete. [2023-05-10T14:27:07.097Z] INFO: archiving logs to Nexus