Pull request #470 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2350aeeebedb096d55aeef1fc2f0bb389c1151a3+e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (e3c6aa4fed4857d2ff115c0c3f51141fda5ca6d4) 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-ssh5888313917319028206.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17067013425247792843.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh 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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17785348355061869680.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9328049878030388526.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7403660983441412432.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2335417809076371785.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1377’ Running on prd-ubuntu20.04-docker-8c-8g-1383 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [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-470 # 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/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 2350aeeebedb096d55aeef1fc2f0bb389c1151a3 Merge succeeded, producing 0fc4205ada26fb77018aeeb1081351daddacdd09 Checking out Revision 0fc4205ada26fb77018aeeb1081351daddacdd09 (PR-470) > git config core.sparsecheckout # timeout=10 > git checkout -f 2350aeeebedb096d55aeef1fc2f0bb389c1151a3 # 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 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fc4205ada26fb77018aeeb1081351daddacdd09 # timeout=10 Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-18T01:04:35.829Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-18T01:04:35.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-18T01:04:36.100Z] ========================================================= [2023-07-18T01:04:36.100Z] EdgeX Global Pipelines Version Info [2023-07-18T01:04:36.100Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:04:36.863Z] ------------------- [2023-07-18T01:04:36.863Z] stable info: [2023-07-18T01:04:36.863Z] ------------------- [2023-07-18T01:04:36.863Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-18T01:04:36.863Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T01:04:36.863Z] Message: update stable to v1.0.250 [2023-07-18T01:04:37.433Z] ------------------- [2023-07-18T01:04:37.433Z] experimental info: [2023-07-18T01:04:37.433Z] ------------------- [2023-07-18T01:04:37.433Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-18T01:04:37.433Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T01:04:37.433Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-18T01:04:37.720Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-18T01:04:37.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-18T01:04:37.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-18T01:04:37.841Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-18T01:04:37.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-18T01:04:37.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-18T01:04:37.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-18T01:04:38.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-18T01:04:38.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-18T01:04:38.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-18T01:04:38.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-18T01:04:38.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-18T01:04:38.217Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-18T01:04:38.256Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T01:04:38.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-18T01:04:38.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-18T01:04:38.383Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-18T01:04:38.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2023-07-18T01:04:38.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2023-07-18T01:04:38.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2023-07-18T01:04:38.552Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fc4205ada26fb77018aeeb1081351daddacdd09 [Pipeline] echo [2023-07-18T01:04:38.596Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fc4205 [Pipeline] echo [2023-07-18T01:04:38.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T01:04:38.736Z] provisioning config files... [2023-07-18T01:04:38.751Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config11396915640471148177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:04:39.093Z] ---> docker-login.sh [2023-07-18T01:04:39.093Z] nexus3.edgexfoundry.org:10001 [2023-07-18T01:04:39.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:39.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:39.617Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:39.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:39.617Z] [2023-07-18T01:04:39.617Z] Login Succeeded [2023-07-18T01:04:39.617Z] nexus3.edgexfoundry.org:10002 [2023-07-18T01:04:39.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:39.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:39.617Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:39.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:39.617Z] [2023-07-18T01:04:39.617Z] Login Succeeded [2023-07-18T01:04:39.617Z] nexus3.edgexfoundry.org:10003 [2023-07-18T01:04:39.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:39.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:39.877Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:39.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:39.877Z] [2023-07-18T01:04:39.877Z] Login Succeeded [2023-07-18T01:04:39.877Z] nexus3.edgexfoundry.org:10004 [2023-07-18T01:04:39.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:39.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:39.877Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:39.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:39.877Z] [2023-07-18T01:04:39.877Z] Login Succeeded [2023-07-18T01:04:39.877Z] docker.io [2023-07-18T01:04:39.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:40.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:40.135Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:40.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:40.135Z] [2023-07-18T01:04:40.135Z] Login Succeeded [2023-07-18T01:04:40.135Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T01:04:40.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-07-18T01:04:40.769Z] + git rev-list -1 --merges 0fc4205ada26fb77018aeeb1081351daddacdd09~1..0fc4205ada26fb77018aeeb1081351daddacdd09 [Pipeline] echo [2023-07-18T01:04:40.828Z] -----------> git rev-list -1 --merges 0fc4205ada26fb77018aeeb1081351daddacdd09~1..0fc4205ada26fb77018aeeb1081351daddacdd09 0fc4205ada26fb77018aeeb1081351daddacdd09 [2023-07-18T01:04:40.828Z] 0fc4205ada26fb77018aeeb1081351daddacdd09 [false] [Pipeline] sh [2023-07-18T01:04:41.136Z] + git log --format=format:%s -1 0fc4205ada26fb77018aeeb1081351daddacdd09 [Pipeline] echo [2023-07-18T01:04:41.169Z] ========================================================= [2023-07-18T01:04:41.169Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T01:04:41.169Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-18T01:04:41.954Z] + git rev-list -1 --merges 0fc4205ada26fb77018aeeb1081351daddacdd09~1..0fc4205ada26fb77018aeeb1081351daddacdd09 [Pipeline] echo [2023-07-18T01:04:41.984Z] -----------> git rev-list -1 --merges 0fc4205ada26fb77018aeeb1081351daddacdd09~1..0fc4205ada26fb77018aeeb1081351daddacdd09 0fc4205ada26fb77018aeeb1081351daddacdd09 [2023-07-18T01:04:41.984Z] 0fc4205ada26fb77018aeeb1081351daddacdd09 [false] [Pipeline] sh [2023-07-18T01:04:42.295Z] + git log --format=format:%s -1 0fc4205ada26fb77018aeeb1081351daddacdd09 [Pipeline] echo [2023-07-18T01:04:42.331Z] ========================================================= [2023-07-18T01:04:42.331Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T01:04:42.331Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-18T01:04:42.834Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T01:04:42.834Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-18T01:04:42.834Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-18T01:04:42.834Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-18T01:04:42.834Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-18T01:04:42.834Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-18T01:04:42.834Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:04:43.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T01:04:43.334Z] [2023-07-18T01:04:43.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:04:43.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T01:04:43.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-18T01:04:43.749Z] b85a868b505f: Pulling fs layer [2023-07-18T01:04:43.749Z] e2be974225ed: Pulling fs layer [2023-07-18T01:04:43.749Z] 339a4e72a1f5: Pulling fs layer [2023-07-18T01:04:43.749Z] 988bab9f4d93: Pulling fs layer [2023-07-18T01:04:43.749Z] 1469e6f7b9e6: Pulling fs layer [2023-07-18T01:04:43.749Z] eaf3925da568: Pulling fs layer [2023-07-18T01:04:43.749Z] bab4dde63d76: Pulling fs layer [2023-07-18T01:04:43.749Z] bde34c3a00c8: Pulling fs layer [2023-07-18T01:04:43.749Z] b352a97aabf1: Pulling fs layer [2023-07-18T01:04:43.749Z] 4872d77fe225: Pulling fs layer [2023-07-18T01:04:43.749Z] 5851b861e8e6: Pulling fs layer [2023-07-18T01:04:43.749Z] 1469e6f7b9e6: Waiting [2023-07-18T01:04:43.749Z] eaf3925da568: Waiting [2023-07-18T01:04:43.749Z] bab4dde63d76: Waiting [2023-07-18T01:04:43.749Z] 988bab9f4d93: Waiting [2023-07-18T01:04:43.749Z] 4872d77fe225: Waiting [2023-07-18T01:04:43.749Z] b352a97aabf1: Waiting [2023-07-18T01:04:43.749Z] 5851b861e8e6: Waiting [2023-07-18T01:04:43.749Z] bde34c3a00c8: Waiting [2023-07-18T01:04:43.749Z] e2be974225ed: Verifying Checksum [2023-07-18T01:04:43.749Z] e2be974225ed: Download complete [2023-07-18T01:04:43.749Z] 988bab9f4d93: Download complete [2023-07-18T01:04:44.007Z] 1469e6f7b9e6: Verifying Checksum [2023-07-18T01:04:44.007Z] 1469e6f7b9e6: Download complete [2023-07-18T01:04:44.007Z] eaf3925da568: Verifying Checksum [2023-07-18T01:04:44.007Z] eaf3925da568: Download complete [2023-07-18T01:04:44.007Z] 339a4e72a1f5: Verifying Checksum [2023-07-18T01:04:44.007Z] 339a4e72a1f5: Download complete [2023-07-18T01:04:44.007Z] bde34c3a00c8: Download complete [2023-07-18T01:04:44.007Z] b352a97aabf1: Download complete [2023-07-18T01:04:44.007Z] 4872d77fe225: Verifying Checksum [2023-07-18T01:04:44.007Z] 4872d77fe225: Download complete [2023-07-18T01:04:44.007Z] 5851b861e8e6: Verifying Checksum [2023-07-18T01:04:44.007Z] 5851b861e8e6: Download complete [2023-07-18T01:04:44.007Z] b85a868b505f: Verifying Checksum [2023-07-18T01:04:44.007Z] b85a868b505f: Download complete [2023-07-18T01:04:44.268Z] bab4dde63d76: Verifying Checksum [2023-07-18T01:04:44.268Z] bab4dde63d76: Download complete [2023-07-18T01:04:45.203Z] b85a868b505f: Pull complete [2023-07-18T01:04:45.461Z] e2be974225ed: Pull complete [2023-07-18T01:04:46.031Z] 339a4e72a1f5: Pull complete [2023-07-18T01:04:46.031Z] 988bab9f4d93: Pull complete [2023-07-18T01:04:46.291Z] 1469e6f7b9e6: Pull complete [2023-07-18T01:04:46.550Z] eaf3925da568: Pull complete [2023-07-18T01:04:48.453Z] bab4dde63d76: Pull complete [2023-07-18T01:04:48.453Z] bde34c3a00c8: Pull complete [2023-07-18T01:04:48.453Z] b352a97aabf1: Pull complete [2023-07-18T01:04:48.720Z] 4872d77fe225: Pull complete [2023-07-18T01:04:48.720Z] 5851b861e8e6: Pull complete [2023-07-18T01:04:48.720Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-18T01:04:48.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T01:04:48.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:04:48.951Z] prd-ubuntu20.04-docker-8c-8g-1383 does not seem to be running inside a container [2023-07-18T01:04:48.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-07-18T01:04:52.494Z] $ docker top 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 -eo pid,comm [2023-07-18T01:04:52.547Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-18T01:04:52.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T01:04:52.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T01:04:52.711Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T01:04:52.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T01:04:52.825Z] $ docker exec 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 ssh-agent [2023-07-18T01:04:52.929Z] SSH_AUTH_SOCK=/tmp/ssh-ezN9g9nBUBmR/agent.33 [2023-07-18T01:04:52.929Z] SSH_AGENT_PID=39 [2023-07-18T01:04:52.935Z] Running ssh-add (command line suppressed) [2023-07-18T01:04:53.042Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_8429303589034749033.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_8429303589034749033.key) [2023-07-18T01:04:53.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T01:04:53.397Z] + git tag --points-at HEAD [Pipeline] } [2023-07-18T01:04:53.428Z] $ docker exec --env ******** --env ******** 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 ssh-agent -k [2023-07-18T01:04:53.525Z] unset SSH_AUTH_SOCK; [2023-07-18T01:04:53.526Z] unset SSH_AGENT_PID; [2023-07-18T01:04:53.526Z] echo Agent pid 39 killed; [2023-07-18T01:04:53.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-18T01:04:53.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T01:04:53.625Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T01:04:53.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T01:04:53.736Z] $ docker exec 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 ssh-agent [2023-07-18T01:04:53.846Z] SSH_AUTH_SOCK=/tmp/ssh-38qNuqa0ZhVb/agent.71 [2023-07-18T01:04:53.846Z] SSH_AGENT_PID=77 [2023-07-18T01:04:53.851Z] Running ssh-add (command line suppressed) [2023-07-18T01:04:53.959Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_7432542955506145105.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_7432542955506145105.key) [2023-07-18T01:04:53.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T01:04:54.306Z] + git semver init [2023-07-18T01:04:54.578Z] 2023-07-18 01:04:54,483 [run_init] DEBUG init version:0.0.0 force:False [2023-07-18T01:04:54.578Z] 2023-07-18 01:04:54,483 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-18T01:04:54.578Z] 2023-07-18 01:04:54,484 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-18T01:04:54.578Z] 2023-07-18 01:04:54,484 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470, universal_newlines=False, shell=None, istream=None) [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,347 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.git/info/exclude [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 with force:False [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,348 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,353 [execute] INFO git cat-file --batch-check [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,359 [execute] INFO git cat-file --batch [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T01:04:55.524Z] 2023-07-18 01:04:55,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-18T01:04:55.524Z] 0.0.0 [Pipeline] } [2023-07-18T01:04:55.555Z] $ docker exec --env ******** --env ******** 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 ssh-agent -k [2023-07-18T01:04:55.659Z] unset SSH_AUTH_SOCK; [2023-07-18T01:04:55.659Z] unset SSH_AGENT_PID; [2023-07-18T01:04:55.659Z] echo Agent pid 77 killed; [2023-07-18T01:04:55.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T01:04:56.089Z] + git semver [Pipeline] } [2023-07-18T01:04:56.375Z] $ docker stop --time=1 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 [2023-07-18T01:04:57.651Z] $ docker rm -f --volumes 78c3f300263c501033f5d66f880a1b3a0b7321326fa11f2029b1c5065daf2b15 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T01:04:58.054Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-18T01:04:58.322Z] Stashed 1 file(s) [Pipeline] echo [2023-07-18T01:04:58.340Z] [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-07-18T01:04:58.856Z] provisioning config files... [2023-07-18T01:04:58.866Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config15450474809596998985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:04:59.223Z] ---> docker-login.sh [2023-07-18T01:04:59.223Z] nexus3.edgexfoundry.org:10001 [2023-07-18T01:04:59.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:59.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:59.223Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:59.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:59.223Z] [2023-07-18T01:04:59.223Z] Login Succeeded [2023-07-18T01:04:59.223Z] nexus3.edgexfoundry.org:10002 [2023-07-18T01:04:59.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:59.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:59.223Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:59.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:59.223Z] [2023-07-18T01:04:59.223Z] Login Succeeded [2023-07-18T01:04:59.223Z] nexus3.edgexfoundry.org:10003 [2023-07-18T01:04:59.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:59.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:59.483Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:59.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:59.483Z] [2023-07-18T01:04:59.483Z] Login Succeeded [2023-07-18T01:04:59.483Z] nexus3.edgexfoundry.org:10004 [2023-07-18T01:04:59.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:59.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:59.483Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:59.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:59.483Z] [2023-07-18T01:04:59.483Z] Login Succeeded [2023-07-18T01:04:59.483Z] docker.io [2023-07-18T01:04:59.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:04:59.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:04:59.744Z] Configure a credential helper to remove this warning. See [2023-07-18T01:04:59.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:04:59.744Z] [2023-07-18T01:04:59.744Z] Login Succeeded [2023-07-18T01:04:59.744Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T01:04:59.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T01:04:59.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T01:04:59.988Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-18T01:05:00.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T01:05:00.061Z] ========================================================= [2023-07-18T01:05:00.061Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-18T01:05:00.061Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:05:00.490Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-07-18T01:05:00.490Z] Sending build context to Docker daemon 4.856MB [2023-07-18T01:05:00.490Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-18T01:05:00.490Z] Step 2/21 : FROM ${BASE} as builder [2023-07-18T01:05:00.490Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-18T01:05:00.490Z] 91d30c5bc195: Pulling fs layer [2023-07-18T01:05:00.490Z] 316e5a4585fb: Pulling fs layer [2023-07-18T01:05:00.754Z] 91d30c5bc195: Verifying Checksum [2023-07-18T01:05:00.754Z] 91d30c5bc195: Download complete [2023-07-18T01:05:00.754Z] 91d30c5bc195: Pull complete [2023-07-18T01:05:01.326Z] 316e5a4585fb: Verifying Checksum [2023-07-18T01:05:01.326Z] 316e5a4585fb: Download complete [2023-07-18T01:05:04.617Z] 316e5a4585fb: Pull complete [2023-07-18T01:05:04.617Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-18T01:05:04.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-18T01:05:04.617Z] ---> e83ffa357ff4 [2023-07-18T01:05:04.617Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:05:06.535Z] ---> Running in 123258ec47e8 [2023-07-18T01:05:06.535Z] Connecting to iotech.jfrog.io (54.72.159.119:443) [2023-07-18T01:05:06.796Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:05:06.796Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:05:06.796Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:05:07.382Z] Removing intermediate container 123258ec47e8 [2023-07-18T01:05:07.382Z] ---> b5183e2b0541 [2023-07-18T01:05:07.382Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:05:07.382Z] ---> Running in 74b58674592f [2023-07-18T01:05:07.963Z] Removing intermediate container 74b58674592f [2023-07-18T01:05:07.963Z] ---> 5c63c6b212a8 [2023-07-18T01:05:07.963Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-18T01:05:07.963Z] ---> Running in a064f138c7d8 [2023-07-18T01:05:08.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:08.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:08.481Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:09.048Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:05:09.048Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:05:09.048Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:05:09.048Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-18T01:05:09.048Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-18T01:05:09.048Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-18T01:05:09.617Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-18T01:05:09.617Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-18T01:05:09.617Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-18T01:05:09.617Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-18T01:05:09.617Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-18T01:05:10.553Z] (11/16) Installing libblkid (2.38-r1) [2023-07-18T01:05:10.553Z] (12/16) Installing libuuid (2.38-r1) [2023-07-18T01:05:10.553Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-18T01:05:10.553Z] (14/16) Installing libmount (2.38-r1) [2023-07-18T01:05:10.553Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-18T01:05:10.553Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-18T01:05:10.553Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:05:10.553Z] OK: 280 MiB in 90 packages [2023-07-18T01:05:11.498Z] Removing intermediate container a064f138c7d8 [2023-07-18T01:05:11.498Z] ---> 7ef8f5104532 [2023-07-18T01:05:11.498Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-18T01:05:11.498Z] ---> Running in e369ac696c89 [2023-07-18T01:05:12.078Z] Removing intermediate container e369ac696c89 [2023-07-18T01:05:12.078Z] ---> 584d98c8ec68 [2023-07-18T01:05:12.078Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-18T01:05:12.078Z] ---> 03055ee688af [2023-07-18T01:05:12.078Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-18T01:05:12.357Z] ---> 1d57da59dc21 [2023-07-18T01:05:12.357Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-18T01:05:12.616Z] ---> 51637c1f7afd [2023-07-18T01:05:12.616Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-18T01:05:12.616Z] ---> af7e50fa56a3 [2023-07-18T01:05:12.616Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-18T01:05:12.875Z] ---> fbeffbe3efed [2023-07-18T01:05:12.875Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-18T01:05:12.875Z] ---> d75c2f6258b7 [2023-07-18T01:05:12.875Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-18T01:05:12.875Z] ---> Running in b3cc5d0dd360 [2023-07-18T01:05:13.135Z] + CPPCHECK=false [2023-07-18T01:05:13.135Z] + DOCGEN=false [2023-07-18T01:05:13.135Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-18T01:05:13.135Z] + '[' 0 -gt 0 ] [2023-07-18T01:05:13.135Z] + readlink -f ./scripts/build.sh [2023-07-18T01:05:13.135Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-18T01:05:13.135Z] + dirname /tmp/sdk/scripts [2023-07-18T01:05:13.135Z] + ROOT=/tmp/sdk [2023-07-18T01:05:13.135Z] + cd /tmp/sdk [2023-07-18T01:05:13.135Z] + mkdir -p /tmp/sdk/build/release [2023-07-18T01:05:13.135Z] + cd /tmp/sdk/build/release [2023-07-18T01:05:13.135Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-18T01:05:13.394Z] -- The C compiler identification is GNU 11.2.1 [2023-07-18T01:05:13.394Z] -- Detecting C compiler ABI info [2023-07-18T01:05:13.394Z] -- Detecting C compiler ABI info - done [2023-07-18T01:05:13.394Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-18T01:05:13.394Z] -- Detecting C compile features [2023-07-18T01:05:13.394Z] -- Detecting C compile features - done [2023-07-18T01:05:13.394Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-18T01:05:13.394Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-18T01:05:13.394Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-18T01:05:13.394Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-18T01:05:13.394Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-18T01:05:13.394Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-18T01:05:13.394Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-18T01:05:13.394Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-18T01:05:13.394Z] -- /opt/iotech/iot/1.5/include [2023-07-18T01:05:13.394Z] -- C SDK 0.0.0 for Linux [2023-07-18T01:05:13.394Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-18T01:05:13.651Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-18T01:05:13.651Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-18T01:05:13.651Z] -- Configuring done [2023-07-18T01:05:13.651Z] -- Generating done [2023-07-18T01:05:13.651Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-18T01:05:13.651Z] + make all package [2023-07-18T01:05:13.651Z] + tee release.log [2023-07-18T01:05:13.652Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-18T01:05:13.682Z] Still waiting to schedule task [2023-07-18T01:05:13.682Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1381’ [2023-07-18T01:05:13.913Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-18T01:05:13.913Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-18T01:05:14.177Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-18T01:05:14.177Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-18T01:05:14.442Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-18T01:05:14.699Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-18T01:05:14.958Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-18T01:05:14.958Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-18T01:05:15.216Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-18T01:05:15.475Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-18T01:05:15.733Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-18T01:05:15.733Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-18T01:05:15.992Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-18T01:05:15.992Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-18T01:05:16.251Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-18T01:05:16.251Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-18T01:05:16.508Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-18T01:05:16.767Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-18T01:05:16.767Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-18T01:05:17.025Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-18T01:05:17.961Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-18T01:05:17.961Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-18T01:05:18.219Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-18T01:05:18.219Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-18T01:05:18.219Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-18T01:05:18.477Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-18T01:05:19.043Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-18T01:05:19.043Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-18T01:05:19.043Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-18T01:05:19.302Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-18T01:05:19.870Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-18T01:05:19.870Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-18T01:05:19.870Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-18T01:05:20.128Z] [ 68%] Linking C shared library libcsdk.so [2023-07-18T01:05:20.128Z] [ 68%] Built target csdk [2023-07-18T01:05:20.128Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-18T01:05:20.388Z] [ 72%] Linking C executable template [2023-07-18T01:05:20.388Z] [ 72%] Built target template [2023-07-18T01:05:20.388Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-18T01:05:20.388Z] [ 76%] Linking C executable device-counter [2023-07-18T01:05:20.388Z] [ 76%] Built target device-counter [2023-07-18T01:05:20.646Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-18T01:05:20.646Z] [ 80%] Linking C executable device-random [2023-07-18T01:05:20.646Z] [ 80%] Built target device-random [2023-07-18T01:05:20.646Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-18T01:05:20.905Z] [ 84%] Linking C executable device-gyro [2023-07-18T01:05:20.905Z] [ 84%] Built target device-gyro [2023-07-18T01:05:20.905Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-18T01:05:20.905Z] [ 88%] Linking C executable device-bitfields [2023-07-18T01:05:21.163Z] [ 88%] Built target device-bitfields [2023-07-18T01:05:21.163Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-18T01:05:21.163Z] [ 92%] Linking C executable template-discovery [2023-07-18T01:05:21.421Z] [ 92%] Built target template-discovery [2023-07-18T01:05:21.421Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-18T01:05:21.421Z] [ 96%] Linking C executable device-file [2023-07-18T01:05:21.421Z] [ 96%] Built target device-file [2023-07-18T01:05:21.421Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-18T01:05:21.678Z] [100%] Linking C executable device-terminal [2023-07-18T01:05:21.678Z] [100%] Built target device-terminal [2023-07-18T01:05:21.678Z] Run CPack packaging tool... [2023-07-18T01:05:21.678Z] CPack: Create package using TGZ [2023-07-18T01:05:21.678Z] CPack: Install projects [2023-07-18T01:05:21.678Z] CPack: - Run preinstall target for: Csdk [2023-07-18T01:05:21.937Z] CPack: - Install project: Csdk [] [2023-07-18T01:05:21.937Z] CPack: Create package [2023-07-18T01:05:21.937Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-18T01:05:21.937Z] + '[' false '=' true ] [2023-07-18T01:05:21.937Z] + '[' false '=' true ] [2023-07-18T01:05:21.937Z] + mkdir -p /tmp/sdk/build/debug [2023-07-18T01:05:21.937Z] + cd /tmp/sdk/build/debug [2023-07-18T01:05:21.937Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-18T01:05:22.196Z] -- The C compiler identification is GNU 11.2.1 [2023-07-18T01:05:22.196Z] -- Detecting C compiler ABI info [2023-07-18T01:05:22.196Z] -- Detecting C compiler ABI info - done [2023-07-18T01:05:22.196Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-18T01:05:22.196Z] -- Detecting C compile features [2023-07-18T01:05:22.196Z] -- Detecting C compile features - done [2023-07-18T01:05:22.196Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-18T01:05:22.196Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-18T01:05:22.196Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-18T01:05:22.196Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-18T01:05:22.196Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-18T01:05:22.196Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-18T01:05:22.196Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-18T01:05:22.196Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-18T01:05:22.196Z] -- /opt/iotech/iot/1.5/include [2023-07-18T01:05:22.196Z] -- C SDK 0.0.0 for Linux [2023-07-18T01:05:22.196Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-18T01:05:22.458Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-18T01:05:22.458Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-18T01:05:22.458Z] -- Configuring done [2023-07-18T01:05:22.458Z] -- Generating done [2023-07-18T01:05:22.458Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-18T01:05:22.458Z] + make [2023-07-18T01:05:22.458Z] + tee debug.log [2023-07-18T01:05:22.458Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-18T01:05:22.458Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-18T01:05:22.715Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-18T01:05:22.715Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-18T01:05:22.715Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-18T01:05:22.973Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-18T01:05:22.973Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-18T01:05:23.240Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-18T01:05:23.240Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-18T01:05:23.240Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-18T01:05:23.503Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-18T01:05:23.503Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-18T01:05:23.503Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-18T01:05:23.503Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-18T01:05:23.769Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-18T01:05:23.769Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-18T01:05:23.769Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-18T01:05:24.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-18T01:05:24.035Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-18T01:05:24.035Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-18T01:05:24.297Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-18T01:05:24.557Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-18T01:05:24.557Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-18T01:05:24.557Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-18T01:05:24.557Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-18T01:05:24.818Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-18T01:05:24.818Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-18T01:05:25.078Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-18T01:05:25.078Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-18T01:05:25.337Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-18T01:05:25.337Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-18T01:05:25.597Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-18T01:05:25.597Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-18T01:05:25.597Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-18T01:05:25.597Z] [ 68%] Linking C shared library libcsdk.so [2023-07-18T01:05:25.857Z] [ 68%] Built target csdk [2023-07-18T01:05:25.857Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-18T01:05:25.857Z] [ 72%] Linking C executable template [2023-07-18T01:05:25.857Z] [ 72%] Built target template [2023-07-18T01:05:25.857Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-18T01:05:25.857Z] [ 76%] Linking C executable device-counter [2023-07-18T01:05:26.115Z] [ 76%] Built target device-counter [2023-07-18T01:05:26.115Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-18T01:05:26.115Z] [ 80%] Linking C executable device-random [2023-07-18T01:05:26.115Z] [ 80%] Built target device-random [2023-07-18T01:05:26.115Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-18T01:05:26.374Z] [ 84%] Linking C executable device-gyro [2023-07-18T01:05:26.374Z] [ 84%] Built target device-gyro [2023-07-18T01:05:26.374Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-18T01:05:26.374Z] [ 88%] Linking C executable device-bitfields [2023-07-18T01:05:26.374Z] [ 88%] Built target device-bitfields [2023-07-18T01:05:26.374Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-18T01:05:26.633Z] [ 92%] Linking C executable template-discovery [2023-07-18T01:05:26.633Z] [ 92%] Built target template-discovery [2023-07-18T01:05:26.633Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-18T01:05:26.633Z] [ 96%] Linking C executable device-file [2023-07-18T01:05:26.891Z] [ 96%] Built target device-file [2023-07-18T01:05:26.891Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-18T01:05:26.891Z] [100%] Linking C executable device-terminal [2023-07-18T01:05:26.891Z] [100%] Built target device-terminal [2023-07-18T01:05:26.891Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] [ 68%] Built target csdk [2023-07-18T01:05:26.891Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:26.891Z] [ 72%] Built target template [2023-07-18T01:05:26.891Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 76%] Built target device-counter [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 80%] Built target device-random [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 84%] Built target device-gyro [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 88%] Built target device-bitfields [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 92%] Built target template-discovery [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [ 96%] Built target device-file [2023-07-18T01:05:27.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] [100%] Built target device-terminal [2023-07-18T01:05:27.150Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:27.150Z] Install the project... [2023-07-18T01:05:27.150Z] -- Install configuration: "Release" [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-18T01:05:27.150Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/devsdk [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-18T01:05:27.150Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-18T01:05:27.150Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:05:28.086Z] Removing intermediate container b3cc5d0dd360 [2023-07-18T01:05:28.086Z] ---> 43b315b7bcf9 [2023-07-18T01:05:28.086Z] Step 14/21 : FROM ${BASE} [2023-07-18T01:05:28.086Z] ---> e83ffa357ff4 [2023-07-18T01:05:28.086Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-18T01:05:28.086Z] ---> Running in 5e1880c34b01 [2023-07-18T01:05:28.086Z] Removing intermediate container 5e1880c34b01 [2023-07-18T01:05:28.086Z] ---> 3af6bc022843 [2023-07-18T01:05:28.086Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:05:28.086Z] ---> Running in df48f84e48d0 [2023-07-18T01:05:28.345Z] Connecting to iotech.jfrog.io (52.16.127.138:443) [2023-07-18T01:05:28.912Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:05:28.912Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:05:28.912Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:05:28.912Z] Removing intermediate container df48f84e48d0 [2023-07-18T01:05:28.912Z] ---> 2ba42da24a1f [2023-07-18T01:05:28.913Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:05:29.172Z] ---> Running in 2307ac32f903 [2023-07-18T01:05:29.740Z] Removing intermediate container 2307ac32f903 [2023-07-18T01:05:29.740Z] ---> 095deaa7385c [2023-07-18T01:05:29.740Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-18T01:05:29.740Z] ---> Running in 977d53d8b327 [2023-07-18T01:05:29.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:29.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:30.257Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:30.825Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:05:30.825Z] (1/7) Installing curl (8.1.2-r0) [2023-07-18T01:05:30.825Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-18T01:05:30.825Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-18T01:05:30.825Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-18T01:05:31.392Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-18T01:05:31.392Z] (6/7) Installing libuuid (2.38-r1) [2023-07-18T01:05:31.392Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-18T01:05:32.326Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:05:32.326Z] OK: 276 MiB in 83 packages [2023-07-18T01:05:32.894Z] Removing intermediate container 977d53d8b327 [2023-07-18T01:05:32.894Z] ---> f6bb9a695f32 [2023-07-18T01:05:32.894Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-18T01:05:32.894Z] ---> 3c273acc36ab [2023-07-18T01:05:32.894Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-18T01:05:32.894Z] ---> 5e237eedba37 [2023-07-18T01:05:32.894Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-18T01:05:33.153Z] ---> 173c3fcb9654 [2023-07-18T01:05:33.153Z] Successfully built 173c3fcb9654 [2023-07-18T01:05:33.153Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:05:33.808Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T01:05:33.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:05:33.949Z] prd-ubuntu20.04-docker-8c-8g-1383 does not seem to be running inside a container [2023-07-18T01:05:33.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-07-18T01:05:34.306Z] $ docker top b1160fe88a3d914b8b038161ee8be74d09f21460239aef21b4e24c79a7f4e1a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T01:05:34.706Z] + make test [2023-07-18T01:05:34.706Z] echo "make test" [2023-07-18T01:05:34.706Z] make test [Pipeline] } [2023-07-18T01:05:34.738Z] $ docker stop --time=1 b1160fe88a3d914b8b038161ee8be74d09f21460239aef21b4e24c79a7f4e1a9 [2023-07-18T01:05:36.039Z] $ docker rm -f --volumes b1160fe88a3d914b8b038161ee8be74d09f21460239aef21b4e24c79a7f4e1a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T01:05:36.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T01:05:37.170Z] + ls -al . [2023-07-18T01:05:37.170Z] total 212 [2023-07-18T01:05:37.170Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 01:04 . [2023-07-18T01:05:37.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:04 .. [2023-07-18T01:05:37.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:04 .git [2023-07-18T01:05:37.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:04 .github [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 01:04 .gitignore [2023-07-18T01:05:37.170Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:04 .semver [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 18 01:04 Attribution.txt [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 18 01:04 CHANGES [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 01:04 Doxyfile [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:04 GOVERNANCE.md [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 01:04 Jenkinsfile [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 01:04 LICENSE [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 01:04 Makefile [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 01:04 OWNERS.md [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 18 01:04 README.IOT.md [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 18 01:04 README.md [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 18 01:04 README.v3.md [2023-07-18T01:05:37.170Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:04 VERSION [2023-07-18T01:05:37.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:04 docs [2023-07-18T01:05:37.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:04 include [2023-07-18T01:05:37.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:04 scripts [2023-07-18T01:05:37.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:05:37.560Z] + 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=0fc4205ada26fb77018aeeb1081351daddacdd09 --label arch=amd64 --label version=0.0.0 . [2023-07-18T01:05:37.560Z] Sending build context to Docker daemon 4.856MB [2023-07-18T01:05:37.560Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-18T01:05:37.560Z] Step 2/17 : FROM ${BASE} [2023-07-18T01:05:37.560Z] ---> 173c3fcb9654 [2023-07-18T01:05:37.560Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-18T01:05:37.820Z] ---> Running in 54e96b1b5d67 [2023-07-18T01:05:37.820Z] Removing intermediate container 54e96b1b5d67 [2023-07-18T01:05:37.820Z] ---> 018fd8c01992 [2023-07-18T01:05:37.820Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:05:37.820Z] ---> Running in bf3bd87511d1 [2023-07-18T01:05:38.081Z] Connecting to iotech.jfrog.io (52.49.115.170:443) [2023-07-18T01:05:38.341Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:05:38.341Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:05:38.341Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:05:38.608Z] Removing intermediate container bf3bd87511d1 [2023-07-18T01:05:38.608Z] ---> 522a0ae25532 [2023-07-18T01:05:38.608Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:05:38.867Z] ---> Running in 3cbe1652d07a [2023-07-18T01:05:39.434Z] Removing intermediate container 3cbe1652d07a [2023-07-18T01:05:39.434Z] ---> 920f1ecf0aa4 [2023-07-18T01:05:39.434Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-18T01:05:39.434Z] ---> Running in b40f64e245ca [2023-07-18T01:05:39.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:39.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:39.692Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-18T01:05:40.259Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:05:40.259Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:05:40.259Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:05:40.259Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-18T01:05:41.193Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-18T01:05:41.194Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-18T01:05:41.194Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-18T01:05:41.194Z] (7/11) Installing libblkid (2.38-r1) [2023-07-18T01:05:41.194Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-18T01:05:41.194Z] (9/11) Installing libmount (2.38-r1) [2023-07-18T01:05:41.194Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-18T01:05:41.194Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-18T01:05:41.194Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:05:41.194Z] OK: 281 MiB in 92 packages [2023-07-18T01:05:41.761Z] Removing intermediate container b40f64e245ca [2023-07-18T01:05:41.761Z] ---> 5ae79add8889 [2023-07-18T01:05:41.761Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-18T01:05:42.020Z] ---> abd77cc7f96b [2023-07-18T01:05:42.020Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-18T01:05:42.020Z] ---> fd677c86640c [2023-07-18T01:05:42.020Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-18T01:05:42.278Z] ---> 384a160a2c18 [2023-07-18T01:05:42.278Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-18T01:05:42.278Z] ---> 12fb10e587d2 [2023-07-18T01:05:42.278Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-18T01:05:42.538Z] ---> b3f50a751ec7 [2023-07-18T01:05:42.538Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-18T01:05:42.538Z] ---> ce1fbab1475e [2023-07-18T01:05:42.538Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-18T01:05:42.538Z] ---> Running in fa9e068aa7a8 [2023-07-18T01:05:42.796Z] Removing intermediate container fa9e068aa7a8 [2023-07-18T01:05:42.796Z] ---> 7a0e4601ad45 [2023-07-18T01:05:42.796Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-18T01:05:42.796Z] ---> Running in 6a10750e82a2 [2023-07-18T01:05:42.796Z] Removing intermediate container 6a10750e82a2 [2023-07-18T01:05:42.796Z] ---> e66ee00847c8 [2023-07-18T01:05:42.796Z] Step 15/17 : LABEL arch=amd64 [2023-07-18T01:05:42.796Z] ---> Running in a59a73e803f1 [2023-07-18T01:05:42.796Z] Removing intermediate container a59a73e803f1 [2023-07-18T01:05:42.796Z] ---> 6775cc10ee7e [2023-07-18T01:05:42.796Z] Step 16/17 : LABEL git_sha=0fc4205ada26fb77018aeeb1081351daddacdd09 [2023-07-18T01:05:42.796Z] ---> Running in c7f9c2dbd9f1 [2023-07-18T01:05:43.054Z] Removing intermediate container c7f9c2dbd9f1 [2023-07-18T01:05:43.054Z] ---> 7661034f82cf [2023-07-18T01:05:43.054Z] Step 17/17 : LABEL version=0.0.0 [2023-07-18T01:05:43.054Z] ---> Running in 61d660d312aa [2023-07-18T01:05:43.054Z] Removing intermediate container 61d660d312aa [2023-07-18T01:05:43.054Z] ---> 2ba6a92d2db4 [2023-07-18T01:05:43.054Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-18T01:05:43.054Z] Successfully built 2ba6a92d2db4 [2023-07-18T01:05:43.054Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:05:43.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T01:05:43.916Z] [2023-07-18T01:05:43.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:05:44.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T01:05:44.282Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-18T01:05:44.282Z] 5eb5b503b376: Pulling fs layer [2023-07-18T01:05:44.282Z] 5c69ac0246d0: Pulling fs layer [2023-07-18T01:05:44.282Z] ec43610c2a17: Pulling fs layer [2023-07-18T01:05:44.282Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-18T01:05:44.282Z] 33b1e0a273af: Pulling fs layer [2023-07-18T01:05:44.282Z] 5d3b04190fa2: Pulling fs layer [2023-07-18T01:05:44.282Z] 2f39f015ded8: Pulling fs layer [2023-07-18T01:05:44.282Z] 33b1e0a273af: Waiting [2023-07-18T01:05:44.282Z] 2f39f015ded8: Waiting [2023-07-18T01:05:44.282Z] 3a2ae6a8a46f: Waiting [2023-07-18T01:05:44.282Z] 5d3b04190fa2: Waiting [2023-07-18T01:05:44.282Z] 5c69ac0246d0: Verifying Checksum [2023-07-18T01:05:44.282Z] 5c69ac0246d0: Download complete [2023-07-18T01:05:44.282Z] 3a2ae6a8a46f: Download complete [2023-07-18T01:05:44.282Z] 33b1e0a273af: Verifying Checksum [2023-07-18T01:05:44.282Z] 33b1e0a273af: Download complete [2023-07-18T01:05:44.282Z] 5d3b04190fa2: Verifying Checksum [2023-07-18T01:05:44.282Z] 5d3b04190fa2: Download complete [2023-07-18T01:05:44.282Z] ec43610c2a17: Verifying Checksum [2023-07-18T01:05:44.282Z] ec43610c2a17: Download complete [2023-07-18T01:05:44.557Z] 5eb5b503b376: Verifying Checksum [2023-07-18T01:05:44.557Z] 5eb5b503b376: Download complete [2023-07-18T01:05:45.126Z] 2f39f015ded8: Verifying Checksum [2023-07-18T01:05:45.126Z] 2f39f015ded8: Download complete [2023-07-18T01:05:46.059Z] 5eb5b503b376: Pull complete [2023-07-18T01:05:46.059Z] 5c69ac0246d0: Pull complete [2023-07-18T01:05:46.627Z] ec43610c2a17: Pull complete [2023-07-18T01:05:46.627Z] 3a2ae6a8a46f: Pull complete [2023-07-18T01:05:46.885Z] 33b1e0a273af: Pull complete [2023-07-18T01:05:46.885Z] 5d3b04190fa2: Pull complete [2023-07-18T01:05:51.083Z] 2f39f015ded8: Pull complete [2023-07-18T01:05:51.083Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-18T01:05:51.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T01:05:51.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:05:51.307Z] prd-ubuntu20.04-docker-8c-8g-1383 does not seem to be running inside a container [2023-07-18T01:05:51.339Z] $ 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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-07-18T01:05:56.200Z] $ docker top c18831ccff56e4d5c2ae92a2bdf5f22b0421f003bbcaee0d28c885d921fc9c67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:05:56.657Z] ---> job-cost.sh [2023-07-18T01:05:56.658Z] lf-activate-venv: SKIPPING [2023-07-18T01:05:56.658Z] INFO: No Stack... [2023-07-18T01:05:56.916Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T01:05:57.483Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T01:05:57.795Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/cost.csv [2023-07-18T01:05:57.795Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T01:05:57.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [2023-07-18T01:05:57.840Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] did not exist. Created. [2023-07-18T01:05:57.840Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T01:05:58.228Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-18T01:05:58.291Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T01:05:58.309Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T01:05:58.389Z] $ docker stop --time=1 c18831ccff56e4d5c2ae92a2bdf5f22b0421f003bbcaee0d28c885d921fc9c67 [2023-07-18T01:05:59.537Z] $ docker rm -f --volumes c18831ccff56e4d5c2ae92a2bdf5f22b0421f003bbcaee0d28c885d921fc9c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-18T01:08:51.665Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1384 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [Pipeline] { [Pipeline] ws [2023-07-18T01:08:51.722Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-07-18T01:08:51.812Z] Selected Git installation does not exist. Using Default [2023-07-18T01:08:51.812Z] The recommended git tool is: NONE [2023-07-18T01:08:56.852Z] using credential edgex-jenkins-ssh [2023-07-18T01:08:56.871Z] Cloning the remote Git repository [2023-07-18T01:08:56.910Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-18T01:08:56.994Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-07-18T01:08:57.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-18T01:08:57.121Z] > git --version # timeout=10 [2023-07-18T01:08:57.140Z] > git --version # 'git version 2.25.1' [2023-07-18T01:08:57.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T01:08:57.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T01:08:58.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-18T01:08:58.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T01:08:59.883Z] Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 2350aeeebedb096d55aeef1fc2f0bb389c1151a3 [2023-07-18T01:09:00.264Z] Merge succeeded, producing deba6f272ef89fa88bf59594c46ddca1b3aedc11 [2023-07-18T01:09:00.264Z] Checking out Revision deba6f272ef89fa88bf59594c46ddca1b3aedc11 (PR-470) [2023-07-18T01:08:59.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-18T01:08:59.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-18T01:08:59.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T01:08:59.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-18T01:08:59.902Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T01:08:59.968Z] > git checkout -f 2350aeeebedb096d55aeef1fc2f0bb389c1151a3 # timeout=10 [2023-07-18T01:09:00.093Z] > git remote # timeout=10 [2023-07-18T01:09:00.113Z] > git config --get remote.origin.url # timeout=10 [2023-07-18T01:09:00.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T01:09:00.154Z] > git merge e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 [2023-07-18T01:09:00.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-18T01:09:00.269Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T01:09:00.282Z] > git checkout -f deba6f272ef89fa88bf59594c46ddca1b3aedc11 # timeout=10 [2023-07-18T01:09:03.736Z] Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" [2023-07-18T01:09:03.737Z] First time build. Skipping changelog. [2023-07-18T01:09:03.783Z] > git --version # timeout=10 [2023-07-18T01:09:03.799Z] > git --version # 'git version 2.25.1' [2023-07-18T01:09:03.820Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T01:09:05.100Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-18T01:09:05.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T01:09:05.100Z] Dload Upload Total Spent Left Speed [2023-07-18T01:09:05.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 82798 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh [2023-07-18T01:09:05.841Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-18T01:09:06.182Z] + sudo tee /etc/docker/daemon.new [2023-07-18T01:09:06.182Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-18T01:09:06.182Z] { [2023-07-18T01:09:06.182Z] "registry-mirrors": [ [2023-07-18T01:09:06.182Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-18T01:09:06.182Z] ], [2023-07-18T01:09:06.182Z] "bip": "10.250.0.254/24", [2023-07-18T01:09:06.182Z] "hosts": [ [2023-07-18T01:09:06.182Z] "tcp://0.0.0.0:5555", [2023-07-18T01:09:06.182Z] "unix:///var/run/docker.sock" [2023-07-18T01:09:06.182Z] ], [2023-07-18T01:09:06.183Z] "mtu": 1458, [2023-07-18T01:09:06.183Z] "selinux-enabled": true, [2023-07-18T01:09:06.183Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-18T01:09:06.183Z] } [Pipeline] sh [2023-07-18T01:09:06.521Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-18T01:09:06.855Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T01:09:25.163Z] provisioning config files... [2023-07-18T01:09:25.193Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config14681030317637976157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:09:25.584Z] ---> docker-login.sh [2023-07-18T01:09:25.584Z] nexus3.edgexfoundry.org:10001 [2023-07-18T01:09:25.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:09:26.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:09:26.130Z] Configure a credential helper to remove this warning. See [2023-07-18T01:09:26.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:09:26.130Z] [2023-07-18T01:09:26.130Z] Login Succeeded [2023-07-18T01:09:26.130Z] nexus3.edgexfoundry.org:10002 [2023-07-18T01:09:26.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:09:26.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:09:26.674Z] Configure a credential helper to remove this warning. See [2023-07-18T01:09:26.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:09:26.674Z] [2023-07-18T01:09:26.674Z] Login Succeeded [2023-07-18T01:09:26.674Z] nexus3.edgexfoundry.org:10003 [2023-07-18T01:09:26.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:09:26.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:09:26.944Z] Configure a credential helper to remove this warning. See [2023-07-18T01:09:26.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:09:26.944Z] [2023-07-18T01:09:26.944Z] Login Succeeded [2023-07-18T01:09:26.944Z] nexus3.edgexfoundry.org:10004 [2023-07-18T01:09:27.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:09:27.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:09:27.217Z] Configure a credential helper to remove this warning. See [2023-07-18T01:09:27.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:09:27.217Z] [2023-07-18T01:09:27.217Z] Login Succeeded [2023-07-18T01:09:27.217Z] docker.io [2023-07-18T01:09:27.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T01:09:27.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T01:09:27.756Z] Configure a credential helper to remove this warning. See [2023-07-18T01:09:27.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T01:09:27.756Z] [2023-07-18T01:09:27.756Z] Login Succeeded [2023-07-18T01:09:27.756Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T01:09:27.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T01:09:28.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T01:09:28.160Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-18T01:09:28.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T01:09:28.220Z] ========================================================= [2023-07-18T01:09:28.220Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-18T01:09:28.220Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:09:28.656Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-07-18T01:09:31.261Z] Sending build context to Docker daemon 2.912MB [2023-07-18T01:09:31.261Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-18T01:09:31.261Z] Step 2/21 : FROM ${BASE} as builder [2023-07-18T01:09:31.261Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-18T01:09:31.261Z] 547446be3368: Pulling fs layer [2023-07-18T01:09:31.261Z] 76bd08e1cacc: Pulling fs layer [2023-07-18T01:09:31.261Z] 547446be3368: Verifying Checksum [2023-07-18T01:09:31.261Z] 547446be3368: Download complete [2023-07-18T01:09:31.529Z] 547446be3368: Pull complete [2023-07-18T01:09:32.941Z] 76bd08e1cacc: Verifying Checksum [2023-07-18T01:09:32.941Z] 76bd08e1cacc: Download complete [2023-07-18T01:09:41.180Z] 76bd08e1cacc: Pull complete [2023-07-18T01:09:41.180Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-18T01:09:41.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-18T01:09:41.180Z] ---> 295cd00e64f4 [2023-07-18T01:09:41.180Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:09:41.453Z] ---> Running in 881cf414634c [2023-07-18T01:09:42.417Z] Connecting to iotech.jfrog.io (52.16.127.138:443) [2023-07-18T01:09:43.000Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:09:43.000Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:09:43.000Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:09:44.411Z] Removing intermediate container 881cf414634c [2023-07-18T01:09:44.411Z] ---> e0a877bc9961 [2023-07-18T01:09:44.411Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:09:44.411Z] ---> Running in d5d266c5f74c [2023-07-18T01:09:45.828Z] Removing intermediate container d5d266c5f74c [2023-07-18T01:09:45.828Z] ---> bdfab172be47 [2023-07-18T01:09:45.828Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-18T01:09:45.828Z] ---> Running in 82ac5fc52c49 [2023-07-18T01:09:46.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:09:47.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-18T01:09:47.655Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:09:48.239Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:09:48.239Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:09:48.506Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:09:48.506Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-18T01:09:48.506Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-18T01:09:48.506Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-18T01:09:49.465Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-18T01:09:49.465Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-18T01:09:49.465Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-18T01:09:49.465Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-18T01:09:49.465Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-18T01:09:50.428Z] (11/16) Installing libblkid (2.38-r1) [2023-07-18T01:09:50.428Z] (12/16) Installing libuuid (2.38-r1) [2023-07-18T01:09:50.428Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-18T01:09:50.428Z] (14/16) Installing libmount (2.38-r1) [2023-07-18T01:09:50.428Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-18T01:09:50.428Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-18T01:09:50.695Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:09:50.695Z] OK: 286 MiB in 90 packages [2023-07-18T01:09:52.113Z] Removing intermediate container 82ac5fc52c49 [2023-07-18T01:09:52.113Z] ---> 782b4956745e [2023-07-18T01:09:52.113Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-18T01:09:52.113Z] ---> Running in c53ca7c366db [2023-07-18T01:09:53.523Z] Removing intermediate container c53ca7c366db [2023-07-18T01:09:53.523Z] ---> ac20c0a531fc [2023-07-18T01:09:53.523Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-18T01:09:53.791Z] ---> 28c93b9c3d2e [2023-07-18T01:09:53.791Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-18T01:09:58.047Z] ---> 0b0411ea7c50 [2023-07-18T01:09:58.047Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-18T01:09:58.047Z] ---> 546979121679 [2023-07-18T01:09:58.047Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-18T01:09:58.641Z] ---> 8559e78b51df [2023-07-18T01:09:58.641Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-18T01:09:58.909Z] ---> 96ff53721418 [2023-07-18T01:09:58.909Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-18T01:09:59.492Z] ---> 999d0dc289ab [2023-07-18T01:09:59.492Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-18T01:09:59.492Z] ---> Running in a705b4bab91a [2023-07-18T01:10:00.451Z] + CPPCHECK=false [2023-07-18T01:10:00.451Z] + DOCGEN=false [2023-07-18T01:10:00.451Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-18T01:10:00.451Z] + '[' 0 -gt 0 ] [2023-07-18T01:10:00.451Z] + readlink -f ./scripts/build.sh [2023-07-18T01:10:00.451Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-18T01:10:00.451Z] + dirname /tmp/sdk/scripts [2023-07-18T01:10:00.451Z] + ROOT=/tmp/sdk [2023-07-18T01:10:00.451Z] + cd /tmp/sdk [2023-07-18T01:10:00.451Z] + mkdir -p /tmp/sdk/build/release [2023-07-18T01:10:00.451Z] + cd /tmp/sdk/build/release [2023-07-18T01:10:00.451Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-18T01:10:00.717Z] -- The C compiler identification is GNU 11.2.1 [2023-07-18T01:10:00.717Z] -- Detecting C compiler ABI info [2023-07-18T01:10:00.985Z] -- Detecting C compiler ABI info - done [2023-07-18T01:10:01.252Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-18T01:10:01.252Z] -- Detecting C compile features [2023-07-18T01:10:01.252Z] -- Detecting C compile features - done [2023-07-18T01:10:01.252Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-18T01:10:01.525Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-18T01:10:01.525Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-18T01:10:01.525Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-18T01:10:01.525Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-18T01:10:01.525Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-18T01:10:01.525Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-18T01:10:01.525Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-18T01:10:01.525Z] -- /opt/iotech/iot/1.5/include [2023-07-18T01:10:01.525Z] -- C SDK 0.0.0 for Linux [2023-07-18T01:10:01.525Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-18T01:10:01.793Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-18T01:10:02.061Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-18T01:10:02.061Z] -- Configuring done [2023-07-18T01:10:02.329Z] -- Generating done [2023-07-18T01:10:02.598Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-18T01:10:02.598Z] + make all package [2023-07-18T01:10:02.598Z] + tee release.log [2023-07-18T01:10:02.599Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-18T01:10:03.565Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-18T01:10:04.969Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-18T01:10:05.552Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-18T01:10:06.954Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-18T01:10:07.535Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-18T01:10:10.104Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-18T01:10:10.685Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-18T01:10:10.952Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-18T01:10:12.356Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-18T01:10:14.928Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-18T01:10:15.511Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-18T01:10:16.465Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-18T01:10:17.421Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-18T01:10:18.003Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-18T01:10:18.958Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-18T01:10:19.541Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-18T01:10:22.117Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-18T01:10:22.383Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-18T01:10:23.341Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-18T01:10:24.744Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-18T01:10:30.068Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-18T01:10:31.021Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-18T01:10:31.287Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-18T01:10:31.873Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-18T01:10:32.138Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-18T01:10:34.073Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-18T01:10:36.646Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-18T01:10:36.912Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-18T01:10:37.868Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-18T01:10:38.449Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-18T01:10:41.779Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-18T01:10:42.738Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-18T01:10:43.004Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-18T01:10:43.585Z] [ 68%] Linking C shared library libcsdk.so [2023-07-18T01:10:43.851Z] [ 68%] Built target csdk [2023-07-18T01:10:43.851Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-18T01:10:44.807Z] [ 72%] Linking C executable template [2023-07-18T01:10:45.075Z] [ 72%] Built target template [2023-07-18T01:10:45.075Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-18T01:10:45.659Z] [ 76%] Linking C executable device-counter [2023-07-18T01:10:45.925Z] [ 76%] Built target device-counter [2023-07-18T01:10:45.925Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-18T01:10:46.506Z] [ 80%] Linking C executable device-random [2023-07-18T01:10:46.772Z] [ 80%] Built target device-random [2023-07-18T01:10:46.772Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-18T01:10:47.352Z] [ 84%] Linking C executable device-gyro [2023-07-18T01:10:47.618Z] [ 84%] Built target device-gyro [2023-07-18T01:10:47.618Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-18T01:10:48.200Z] [ 88%] Linking C executable device-bitfields [2023-07-18T01:10:48.465Z] [ 88%] Built target device-bitfields [2023-07-18T01:10:48.731Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-18T01:10:49.688Z] [ 92%] Linking C executable template-discovery [2023-07-18T01:10:49.952Z] [ 92%] Built target template-discovery [2023-07-18T01:10:49.952Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-18T01:10:50.906Z] [ 96%] Linking C executable device-file [2023-07-18T01:10:51.173Z] [ 96%] Built target device-file [2023-07-18T01:10:51.173Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-18T01:10:51.754Z] [100%] Linking C executable device-terminal [2023-07-18T01:10:52.019Z] [100%] Built target device-terminal [2023-07-18T01:10:52.284Z] Run CPack packaging tool... [2023-07-18T01:10:52.284Z] CPack: Create package using TGZ [2023-07-18T01:10:52.284Z] CPack: Install projects [2023-07-18T01:10:52.284Z] CPack: - Run preinstall target for: Csdk [2023-07-18T01:10:52.864Z] CPack: - Install project: Csdk [] [2023-07-18T01:10:52.864Z] CPack: Create package [2023-07-18T01:10:53.129Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-18T01:10:53.129Z] + '[' false '=' true ] [2023-07-18T01:10:53.129Z] + '[' false '=' true ] [2023-07-18T01:10:53.129Z] + mkdir -p /tmp/sdk/build/debug [2023-07-18T01:10:53.129Z] + cd /tmp/sdk/build/debug [2023-07-18T01:10:53.129Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-18T01:10:53.396Z] -- The C compiler identification is GNU 11.2.1 [2023-07-18T01:10:53.396Z] -- Detecting C compiler ABI info [2023-07-18T01:10:53.660Z] -- Detecting C compiler ABI info - done [2023-07-18T01:10:53.924Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-18T01:10:53.924Z] -- Detecting C compile features [2023-07-18T01:10:53.924Z] -- Detecting C compile features - done [2023-07-18T01:10:53.925Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-18T01:10:54.189Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-18T01:10:54.189Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-18T01:10:54.189Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-18T01:10:54.189Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-18T01:10:54.189Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-18T01:10:54.189Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-18T01:10:54.189Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-18T01:10:54.189Z] -- /opt/iotech/iot/1.5/include [2023-07-18T01:10:54.189Z] -- C SDK 0.0.0 for Linux [2023-07-18T01:10:54.189Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-18T01:10:54.456Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-18T01:10:54.722Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-18T01:10:54.722Z] -- Configuring done [2023-07-18T01:10:54.987Z] -- Generating done [2023-07-18T01:10:54.987Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-18T01:10:54.987Z] + + maketee [2023-07-18T01:10:54.987Z] debug.log [2023-07-18T01:10:55.253Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-18T01:10:55.834Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-18T01:10:56.102Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-18T01:10:56.683Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-18T01:10:57.264Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-18T01:10:57.532Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-18T01:10:58.488Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-18T01:10:58.756Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-18T01:10:59.022Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-18T01:10:59.604Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-18T01:11:00.185Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-18T01:11:00.765Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-18T01:11:01.031Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-18T01:11:01.610Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-18T01:11:01.878Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-18T01:11:02.144Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-18T01:11:02.410Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-18T01:11:03.366Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-18T01:11:03.632Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-18T01:11:03.897Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-18T01:11:04.479Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-18T01:11:05.876Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-18T01:11:06.141Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-18T01:11:06.406Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-18T01:11:06.672Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-18T01:11:07.252Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-18T01:11:07.832Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-18T01:11:09.235Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-18T01:11:09.501Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-18T01:11:10.081Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-18T01:11:10.347Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-18T01:11:11.480Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-18T01:11:11.749Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-18T01:11:12.332Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-18T01:11:12.603Z] [ 68%] Linking C shared library libcsdk.so [2023-07-18T01:11:12.871Z] [ 68%] Built target csdk [2023-07-18T01:11:12.871Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-18T01:11:13.142Z] [ 72%] Linking C executable template [2023-07-18T01:11:13.410Z] [ 72%] Built target template [2023-07-18T01:11:13.679Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-18T01:11:13.946Z] [ 76%] Linking C executable device-counter [2023-07-18T01:11:14.854Z] [ 76%] Built target device-counter [2023-07-18T01:11:14.854Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-18T01:11:14.854Z] [ 80%] Linking C executable device-random [2023-07-18T01:11:14.854Z] [ 80%] Built target device-random [2023-07-18T01:11:14.854Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-18T01:11:15.643Z] [ 84%] Linking C executable device-gyro [2023-07-18T01:11:15.643Z] [ 84%] Built target device-gyro [2023-07-18T01:11:15.643Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-18T01:11:15.910Z] [ 88%] Linking C executable device-bitfields [2023-07-18T01:11:16.187Z] [ 88%] Built target device-bitfields [2023-07-18T01:11:16.187Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-18T01:11:16.452Z] [ 92%] Linking C executable template-discovery [2023-07-18T01:11:17.034Z] [ 92%] Built target template-discovery [2023-07-18T01:11:17.034Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-18T01:11:17.299Z] [ 96%] Linking C executable device-file [2023-07-18T01:11:17.567Z] [ 96%] Built target device-file [2023-07-18T01:11:17.567Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-18T01:11:18.147Z] [100%] Linking C executable device-terminal [2023-07-18T01:11:18.413Z] [100%] Built target device-terminal [2023-07-18T01:11:18.413Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.413Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.413Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.413Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.413Z] [ 68%] Built target csdk [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] [ 72%] Built target template [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] [ 76%] Built target device-counter [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] [ 80%] Built target device-random [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] [ 84%] Built target device-gyro [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] [ 88%] Built target device-bitfields [2023-07-18T01:11:18.679Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.679Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.943Z] [ 92%] Built target template-discovery [2023-07-18T01:11:18.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.944Z] [ 96%] Built target device-file [2023-07-18T01:11:18.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.944Z] [100%] Built target device-terminal [2023-07-18T01:11:18.944Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:18.944Z] Install the project... [2023-07-18T01:11:18.944Z] -- Install configuration: "Release" [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-18T01:11:18.944Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/devsdk [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-18T01:11:18.944Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-18T01:11:18.944Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-18T01:11:20.345Z] Removing intermediate container a705b4bab91a [2023-07-18T01:11:20.345Z] ---> 88bf02ebc039 [2023-07-18T01:11:20.345Z] Step 14/21 : FROM ${BASE} [2023-07-18T01:11:20.345Z] ---> 295cd00e64f4 [2023-07-18T01:11:20.345Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-18T01:11:20.345Z] ---> Running in d19c8cf43523 [2023-07-18T01:11:20.611Z] Removing intermediate container d19c8cf43523 [2023-07-18T01:11:20.611Z] ---> e487d12902a6 [2023-07-18T01:11:20.611Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:11:20.611Z] ---> Running in c944395e0731 [2023-07-18T01:11:21.566Z] Connecting to iotech.jfrog.io (52.49.188.131:443) [2023-07-18T01:11:21.832Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:11:21.832Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:11:21.832Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:11:22.414Z] Removing intermediate container c944395e0731 [2023-07-18T01:11:22.414Z] ---> 5de67e7a83af [2023-07-18T01:11:22.414Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:11:22.414Z] ---> Running in 17f1bbfd3b21 [2023-07-18T01:11:23.821Z] Removing intermediate container 17f1bbfd3b21 [2023-07-18T01:11:23.821Z] ---> 185c76411641 [2023-07-18T01:11:23.821Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-18T01:11:24.091Z] ---> Running in 4777438043c5 [2023-07-18T01:11:25.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:25.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:25.628Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:26.581Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:11:26.581Z] (1/7) Installing curl (8.1.2-r0) [2023-07-18T01:11:26.581Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-18T01:11:26.581Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-18T01:11:26.581Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-18T01:11:27.160Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-18T01:11:27.160Z] (6/7) Installing libuuid (2.38-r1) [2023-07-18T01:11:27.160Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-18T01:11:28.117Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:11:28.117Z] OK: 281 MiB in 83 packages [2023-07-18T01:11:30.693Z] Removing intermediate container 4777438043c5 [2023-07-18T01:11:30.693Z] ---> 9d8a4b377456 [2023-07-18T01:11:30.693Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-18T01:11:31.277Z] ---> 6f6f6879f0fc [2023-07-18T01:11:31.277Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-18T01:11:31.858Z] ---> 0fdbaae1be10 [2023-07-18T01:11:31.858Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-18T01:11:32.125Z] ---> aa114fd9f154 [2023-07-18T01:11:32.125Z] Successfully built aa114fd9f154 [2023-07-18T01:11:32.125Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:11:32.864Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T01:11:32.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:11:33.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-1384 does not seem to be running inside a container [2023-07-18T01:11:33.199Z] $ 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-07-18T01:11:34.309Z] $ docker top 28033e1aa63abff49cea4a607680a56087224d376df4edc2f2603fcb9f692e22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T01:11:35.168Z] + make test [2023-07-18T01:11:35.168Z] echo "make test" [2023-07-18T01:11:35.168Z] make test [Pipeline] } [2023-07-18T01:11:35.205Z] $ docker stop --time=1 28033e1aa63abff49cea4a607680a56087224d376df4edc2f2603fcb9f692e22 [2023-07-18T01:11:36.772Z] $ docker rm -f --volumes 28033e1aa63abff49cea4a607680a56087224d376df4edc2f2603fcb9f692e22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T01:11:37.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T01:11:37.948Z] + ls -al . [2023-07-18T01:11:37.948Z] total 208 [2023-07-18T01:11:37.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:08 . [2023-07-18T01:11:37.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:08 .. [2023-07-18T01:11:37.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:09 .git [2023-07-18T01:11:37.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:08 .github [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 01:08 .gitignore [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 18 01:08 Attribution.txt [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 18 01:08 CHANGES [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 01:08 Doxyfile [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:08 GOVERNANCE.md [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 01:08 Jenkinsfile [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 01:08 LICENSE [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 01:08 Makefile [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 01:08 OWNERS.md [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 18 01:08 README.IOT.md [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 18 01:08 README.md [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 18 01:08 README.v3.md [2023-07-18T01:11:37.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:04 VERSION [2023-07-18T01:11:37.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:08 docs [2023-07-18T01:11:37.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:08 include [2023-07-18T01:11:37.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:08 scripts [2023-07-18T01:11:37.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:09 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:11:38.365Z] + 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=deba6f272ef89fa88bf59594c46ddca1b3aedc11 --label arch=arm64 --label version=0.0.0 . [2023-07-18T01:11:38.641Z] Sending build context to Docker daemon 2.912MB [2023-07-18T01:11:38.641Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-18T01:11:38.641Z] Step 2/17 : FROM ${BASE} [2023-07-18T01:11:38.641Z] ---> aa114fd9f154 [2023-07-18T01:11:38.641Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-18T01:11:38.906Z] ---> Running in 1aa6027494de [2023-07-18T01:11:39.174Z] Removing intermediate container 1aa6027494de [2023-07-18T01:11:39.174Z] ---> c6f33b14c1ec [2023-07-18T01:11:39.174Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-18T01:11:39.174Z] ---> Running in 0d088f5d8936 [2023-07-18T01:11:40.131Z] Connecting to iotech.jfrog.io (52.49.115.170:443) [2023-07-18T01:11:40.398Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-18T01:11:40.398Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-18T01:11:40.398Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-18T01:11:41.370Z] Removing intermediate container 0d088f5d8936 [2023-07-18T01:11:41.370Z] ---> 9d350c5c67f1 [2023-07-18T01:11:41.370Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-18T01:11:41.370Z] ---> Running in 0539544d0dc9 [2023-07-18T01:11:45.617Z] Removing intermediate container 0539544d0dc9 [2023-07-18T01:11:45.617Z] ---> 9eb93927c7cc [2023-07-18T01:11:45.617Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-18T01:11:45.617Z] ---> Running in c50d4a18eed1 [2023-07-18T01:11:45.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:46.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:46.728Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-18T01:11:47.681Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-18T01:11:47.681Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:11:47.681Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-18T01:11:47.681Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-18T01:11:48.259Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-18T01:11:48.526Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-18T01:11:48.526Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-18T01:11:48.526Z] (7/11) Installing libblkid (2.38-r1) [2023-07-18T01:11:48.526Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-18T01:11:48.526Z] (9/11) Installing libmount (2.38-r1) [2023-07-18T01:11:48.526Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-18T01:11:48.526Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-18T01:11:48.526Z] Executing busybox-1.35.0-r17.trigger [2023-07-18T01:11:48.526Z] OK: 287 MiB in 92 packages [2023-07-18T01:11:49.933Z] Removing intermediate container c50d4a18eed1 [2023-07-18T01:11:49.933Z] ---> 10671f575954 [2023-07-18T01:11:49.933Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-18T01:11:50.200Z] ---> d7752143c6ea [2023-07-18T01:11:50.200Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-18T01:11:51.158Z] ---> 214b1967475a [2023-07-18T01:11:51.158Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-18T01:11:51.425Z] ---> 6baf0c3237d3 [2023-07-18T01:11:51.425Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-18T01:11:52.006Z] ---> 05f18adcf85b [2023-07-18T01:11:52.006Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-18T01:11:52.588Z] ---> 87fc7e581ab8 [2023-07-18T01:11:52.588Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-18T01:11:52.855Z] ---> 0cd256c9bcc3 [2023-07-18T01:11:52.855Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-18T01:11:52.855Z] ---> Running in 87477bfa092c [2023-07-18T01:11:53.439Z] Removing intermediate container 87477bfa092c [2023-07-18T01:11:53.439Z] ---> d85b091b8a96 [2023-07-18T01:11:53.439Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-18T01:11:53.439Z] ---> Running in 67826a33c1e2 [2023-07-18T01:11:53.706Z] Removing intermediate container 67826a33c1e2 [2023-07-18T01:11:53.706Z] ---> ecd05916b2fc [2023-07-18T01:11:53.706Z] Step 15/17 : LABEL arch=arm64 [2023-07-18T01:11:53.706Z] ---> Running in 560d95b60f49 [2023-07-18T01:11:53.972Z] Removing intermediate container 560d95b60f49 [2023-07-18T01:11:53.972Z] ---> 65e365084425 [2023-07-18T01:11:53.972Z] Step 16/17 : LABEL git_sha=deba6f272ef89fa88bf59594c46ddca1b3aedc11 [2023-07-18T01:11:54.238Z] ---> Running in ccb71c3c1671 [2023-07-18T01:11:54.505Z] Removing intermediate container ccb71c3c1671 [2023-07-18T01:11:54.505Z] ---> 9ea19d53c96d [2023-07-18T01:11:54.505Z] Step 17/17 : LABEL version=0.0.0 [2023-07-18T01:11:54.505Z] ---> Running in 0d52157e9893 [2023-07-18T01:11:54.771Z] Removing intermediate container 0d52157e9893 [2023-07-18T01:11:54.771Z] ---> 7235933f6b72 [2023-07-18T01:11:54.771Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-18T01:11:54.771Z] Successfully built 7235933f6b72 [2023-07-18T01:11:54.771Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:11:55.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T01:11:55.563Z] [2023-07-18T01:11:55.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:11:55.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T01:11:56.233Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-18T01:11:56.233Z] 8998bd30e6a1: Pulling fs layer [2023-07-18T01:11:56.233Z] 04944245beec: Pulling fs layer [2023-07-18T01:11:56.233Z] 699f458cf7ca: Pulling fs layer [2023-07-18T01:11:56.233Z] 765212b225bb: Pulling fs layer [2023-07-18T01:11:56.233Z] f23df028b6ca: Pulling fs layer [2023-07-18T01:11:56.233Z] d65c8cfc05b1: Pulling fs layer [2023-07-18T01:11:56.233Z] 2437ff75d9bd: Pulling fs layer [2023-07-18T01:11:56.233Z] f23df028b6ca: Waiting [2023-07-18T01:11:56.233Z] d65c8cfc05b1: Waiting [2023-07-18T01:11:56.233Z] 2437ff75d9bd: Waiting [2023-07-18T01:11:56.233Z] 765212b225bb: Waiting [2023-07-18T01:11:56.233Z] 04944245beec: Verifying Checksum [2023-07-18T01:11:56.233Z] 04944245beec: Download complete [2023-07-18T01:11:56.233Z] 765212b225bb: Download complete [2023-07-18T01:11:56.233Z] f23df028b6ca: Verifying Checksum [2023-07-18T01:11:56.233Z] f23df028b6ca: Download complete [2023-07-18T01:11:56.233Z] d65c8cfc05b1: Verifying Checksum [2023-07-18T01:11:56.233Z] d65c8cfc05b1: Download complete [2023-07-18T01:11:56.501Z] 699f458cf7ca: Verifying Checksum [2023-07-18T01:11:56.501Z] 699f458cf7ca: Download complete [2023-07-18T01:11:56.769Z] 8998bd30e6a1: Verifying Checksum [2023-07-18T01:11:56.769Z] 8998bd30e6a1: Download complete [2023-07-18T01:11:59.351Z] 2437ff75d9bd: Verifying Checksum [2023-07-18T01:11:59.351Z] 2437ff75d9bd: Download complete [2023-07-18T01:12:00.759Z] 8998bd30e6a1: Pull complete [2023-07-18T01:12:01.346Z] 04944245beec: Pull complete [2023-07-18T01:12:02.756Z] 699f458cf7ca: Pull complete [2023-07-18T01:12:02.756Z] 765212b225bb: Pull complete [2023-07-18T01:12:03.717Z] f23df028b6ca: Pull complete [2023-07-18T01:12:03.717Z] d65c8cfc05b1: Pull complete [2023-07-18T01:12:18.718Z] 2437ff75d9bd: Pull complete [2023-07-18T01:12:18.718Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-18T01:12:18.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T01:12:18.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:12:19.050Z] prd-ubuntu20.04-docker-arm64-4c-16g-1384 does not seem to be running inside a container [2023-07-18T01:12:19.121Z] $ 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-07-18T01:12:21.554Z] $ docker top 7ec148d944fd4bd812e54467d3b19bc3cfe1a65995fa3445280091a31a0ea58a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:22.438Z] ---> job-cost.sh [2023-07-18T01:12:22.438Z] lf-activate-venv: SKIPPING [2023-07-18T01:12:22.438Z] INFO: No Stack... [2023-07-18T01:12:22.703Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-18T01:12:23.658Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T01:12:24.004Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-07-18T01:12:24.004Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T01:12:24.077Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [2023-07-18T01:12:24.082Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] did not exist. Created. [2023-07-18T01:12:24.082Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T01:12:24.488Z] /w/workspace/device-sdk-c/1@tmp/durable-47f1766a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-18T01:12:25.161Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-18T01:12:25.197Z] Warning: overwriting stash ‘stack-cost’ [2023-07-18T01:12:25.796Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T01:12:25.818Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T01:12:25.900Z] $ docker stop --time=1 7ec148d944fd4bd812e54467d3b19bc3cfe1a65995fa3445280091a31a0ea58a [2023-07-18T01:12:27.371Z] $ docker rm -f --volumes 7ec148d944fd4bd812e54467d3b19bc3cfe1a65995fa3445280091a31a0ea58a [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-07-18T01:12:29.061Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives ] [2023-07-18T01:12:29.062Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-18T01:12:29.062Z] total 16 [2023-07-18T01:12:29.062Z] drwxr-xr-x 3 root root 4096 Jul 18 01:05 . [2023-07-18T01:12:29.062Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:05 .. [2023-07-18T01:12:29.062Z] drwxr-xr-x 2 root root 4096 Jul 18 01:05 cost [2023-07-18T01:12:29.062Z] -rw-r--r-- 1 root root 84 Jul 18 01:05 cost.csv [2023-07-18T01:12:29.062Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-18T01:12:29.062Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-18T01:12:29.062Z] total 16 [2023-07-18T01:12:29.062Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:05 . [2023-07-18T01:12:29.062Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:05 .. [2023-07-18T01:12:29.062Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:05 cost [2023-07-18T01:12:29.062Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 18 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:29.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:30.280Z] ---> package-listing.sh [2023-07-18T01:12:30.280Z] ++ facter osfamily [2023-07-18T01:12:30.280Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-18T01:12:30.539Z] + OS_FAMILY=debian [2023-07-18T01:12:30.539Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-470 [2023-07-18T01:12:30.539Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-18T01:12:30.540Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-18T01:12:30.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-18T01:12:30.540Z] + PACKAGES=/tmp/packages_start.txt [2023-07-18T01:12:30.540Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-18T01:12:30.540Z] + PACKAGES=/tmp/packages_end.txt [2023-07-18T01:12:30.540Z] + case "${OS_FAMILY}" in [2023-07-18T01:12:30.540Z] + dpkg -l [2023-07-18T01:12:30.540Z] + grep '^ii' [2023-07-18T01:12:30.540Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-18T01:12:30.540Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-18T01:12:30.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-18T01:12:30.540Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-18T01:12:30.540Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [2023-07-18T01:12:30.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [Pipeline] echo [2023-07-18T01:12:30.571Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-18T01:12:30.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T01:12:31.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T01:12:31.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T01:12:31.633Z] prd-ubuntu20.04-docker-8c-8g-1383 does not seem to be running inside a container [2023-07-18T01:12:31.663Z] $ 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-470/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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-07-18T01:12:31.889Z] $ docker top 528268095c6a9e51dd13409726470600c27bf013bd6c2ad0759c8a35b734c68d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T01:12:32.282Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-18T01:12:32.591Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-18T01:12:32.908Z] + ls /var/log/sa-host [2023-07-18T01:12:32.908Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T01:12:33.127Z] provisioning config files... [2023-07-18T01:12:33.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config6899665559915950257tmp [Pipeline] { [Pipeline] echo [2023-07-18T01:12:33.178Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:33.485Z] ---> create-netrc.sh [Pipeline] } [2023-07-18T01:12:33.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:33.901Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-18T01:12:33.931Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:34.241Z] ---> sudo-logs.sh [2023-07-18T01:12:34.241Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-18T01:12:34.320Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:34.631Z] ---> job-cost.sh [2023-07-18T01:12:34.631Z] lf-activate-venv: SKIPPING [2023-07-18T01:12:34.631Z] DEBUG: total: 0.2199999988079071 [2023-07-18T01:12:34.631Z] INFO: Retrieving Stack Cost... [2023-07-18T01:12:34.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T01:12:35.149Z] INFO: Archiving Costs [Pipeline] echo [2023-07-18T01:12:35.184Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T01:12:35.495Z] ---> logs-deploy.sh [2023-07-18T01:12:35.495Z] lf-activate-venv: SKIPPING [2023-07-18T01:12:35.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-470/1 [2023-07-18T01:12:35.495Z] INFO: archiving workspace using pattern(s): [2023-07-18T01:12:36.433Z] Archives upload complete. [2023-07-18T01:12:36.433Z] INFO: archiving logs to Nexus [2023-07-18T01:12:37.014Z] ---> uname -a: [2023-07-18T01:12:37.014Z] Linux prd-ubuntu20-04-docker-8c-8g-1383 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-18T01:12:37.014Z] [2023-07-18T01:12:37.014Z] [2023-07-18T01:12:37.014Z] ---> lscpu: [2023-07-18T01:12:37.014Z] Architecture: x86_64 [2023-07-18T01:12:37.014Z] CPU op-mode(s): 32-bit, 64-bit [2023-07-18T01:12:37.014Z] Byte Order: Little Endian [2023-07-18T01:12:37.014Z] Address sizes: 40 bits physical, 48 bits virtual [2023-07-18T01:12:37.014Z] CPU(s): 8 [2023-07-18T01:12:37.014Z] On-line CPU(s) list: 0-7 [2023-07-18T01:12:37.014Z] Thread(s) per core: 1 [2023-07-18T01:12:37.014Z] Core(s) per socket: 1 [2023-07-18T01:12:37.014Z] Socket(s): 8 [2023-07-18T01:12:37.014Z] NUMA node(s): 1 [2023-07-18T01:12:37.014Z] Vendor ID: AuthenticAMD [2023-07-18T01:12:37.014Z] CPU family: 23 [2023-07-18T01:12:37.014Z] Model: 49 [2023-07-18T01:12:37.014Z] Model name: AMD EPYC-Rome Processor [2023-07-18T01:12:37.014Z] Stepping: 0 [2023-07-18T01:12:37.014Z] CPU MHz: 2799.998 [2023-07-18T01:12:37.014Z] BogoMIPS: 5599.99 [2023-07-18T01:12:37.014Z] Virtualization: AMD-V [2023-07-18T01:12:37.014Z] Hypervisor vendor: KVM [2023-07-18T01:12:37.014Z] Virtualization type: full [2023-07-18T01:12:37.014Z] L1d cache: 256 KiB [2023-07-18T01:12:37.014Z] L1i cache: 256 KiB [2023-07-18T01:12:37.014Z] L2 cache: 4 MiB [2023-07-18T01:12:37.014Z] L3 cache: 128 MiB [2023-07-18T01:12:37.014Z] NUMA node0 CPU(s): 0-7 [2023-07-18T01:12:37.014Z] Vulnerability Itlb multihit: Not affected [2023-07-18T01:12:37.014Z] Vulnerability L1tf: Not affected [2023-07-18T01:12:37.014Z] Vulnerability Mds: Not affected [2023-07-18T01:12:37.014Z] Vulnerability Meltdown: Not affected [2023-07-18T01:12:37.014Z] Vulnerability Mmio stale data: Not affected [2023-07-18T01:12:37.014Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-07-18T01:12:37.014Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-07-18T01:12:37.014Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-07-18T01:12:37.014Z] Vulnerability Srbds: Not affected [2023-07-18T01:12:37.014Z] Vulnerability Tsx async abort: Not affected [2023-07-18T01:12:37.014Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-07-18T01:12:37.014Z] [2023-07-18T01:12:37.014Z]