Pull request #469 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 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56+e7fd64e96379a16422cca1ca57683b7b4003cc62 (97504a6b447da32122caa29adcaefbad8342237b) 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-ssh4637050859063236824.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-ssh6348676309971466729.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-469/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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8939085416094430677.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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16236158744335688895.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-ssh7577475856451485424.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-469/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-469/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14843460830823365232.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-917 in /w/workspace/edgexfoundry_device-sdk-c_PR-469 [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-469 # 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/469/head:refs/remotes/origin/PR-469 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 Merge succeeded, producing 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 Checking out Revision 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 (PR-469) > git config core.sparsecheckout # timeout=10 > git checkout -f 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 # 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 e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 # timeout=10 Commit message: "fix: invalid pointer operation in edgex_bus_mqtt_msgarrvd" 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-12T01:03:23.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-12T01:03:23.736Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-12T01:03:23.839Z] ========================================================= [2023-07-12T01:03:23.839Z] EdgeX Global Pipelines Version Info [2023-07-12T01:03:23.839Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:03:24.626Z] ------------------- [2023-07-12T01:03:24.626Z] stable info: [2023-07-12T01:03:24.627Z] ------------------- [2023-07-12T01:03:24.627Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-12T01:03:24.627Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-12T01:03:24.627Z] Message: update stable to v1.0.250 [2023-07-12T01:03:25.200Z] ------------------- [2023-07-12T01:03:25.200Z] experimental info: [2023-07-12T01:03:25.200Z] ------------------- [2023-07-12T01:03:25.200Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-12T01:03:25.200Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-12T01:03:25.200Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-12T01:03:25.482Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-12T01:03:25.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-12T01:03:25.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-12T01:03:25.610Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-12T01:03:25.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-12T01:03:25.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-12T01:03:25.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-12T01:03:25.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-12T01:03:25.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-12T01:03:25.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-12T01:03:25.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-12T01:03:25.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-12T01:03:25.947Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-12T01:03:25.982Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-12T01:03:26.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-12T01:03:26.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-12T01:03:26.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-12T01:03:26.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-469 [Pipeline] echo [2023-07-12T01:03:26.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-469 [Pipeline] echo [2023-07-12T01:03:26.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-469 [Pipeline] echo [2023-07-12T01:03:26.250Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [Pipeline] echo [2023-07-12T01:03:26.289Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a15f48 [Pipeline] echo [2023-07-12T01:03:26.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T01:03:26.438Z] provisioning config files... [2023-07-12T01:03:26.456Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config14346586496213643102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:03:26.791Z] ---> docker-login.sh [2023-07-12T01:03:26.791Z] nexus3.edgexfoundry.org:10001 [2023-07-12T01:03:27.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:27.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:27.049Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:27.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:27.049Z] [2023-07-12T01:03:27.049Z] Login Succeeded [2023-07-12T01:03:27.049Z] nexus3.edgexfoundry.org:10002 [2023-07-12T01:03:27.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:27.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:27.308Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:27.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:27.308Z] [2023-07-12T01:03:27.308Z] Login Succeeded [2023-07-12T01:03:27.308Z] nexus3.edgexfoundry.org:10003 [2023-07-12T01:03:27.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:27.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:27.308Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:27.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:27.308Z] [2023-07-12T01:03:27.308Z] Login Succeeded [2023-07-12T01:03:27.308Z] nexus3.edgexfoundry.org:10004 [2023-07-12T01:03:27.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:27.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:27.567Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:27.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:27.567Z] [2023-07-12T01:03:27.567Z] Login Succeeded [2023-07-12T01:03:27.567Z] docker.io [2023-07-12T01:03:27.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:27.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:27.828Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:27.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:27.828Z] [2023-07-12T01:03:27.828Z] Login Succeeded [2023-07-12T01:03:27.828Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T01:03:27.854Z] 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-12T01:03:28.466Z] + git rev-list -1 --merges 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56~1..2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [Pipeline] echo [2023-07-12T01:03:28.537Z] -----------> git rev-list -1 --merges 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56~1..2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [false] [Pipeline] sh [2023-07-12T01:03:28.844Z] + git log --format=format:%s -1 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [Pipeline] echo [2023-07-12T01:03:28.883Z] ========================================================= [2023-07-12T01:03:28.883Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-12T01:03:28.883Z] ========================================================= 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-12T01:03:29.663Z] + git rev-list -1 --merges 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56~1..2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [Pipeline] echo [2023-07-12T01:03:29.698Z] -----------> git rev-list -1 --merges 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56~1..2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [false] [Pipeline] sh [2023-07-12T01:03:30.009Z] + git log --format=format:%s -1 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [Pipeline] echo [2023-07-12T01:03:30.038Z] ========================================================= [2023-07-12T01:03:30.038Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-12T01:03:30.038Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-12T01:03:30.545Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-12T01:03:30.545Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-12T01:03:30.545Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-12T01:03:30.545Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-12T01:03:30.545Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-12T01:03:30.545Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-12T01:03:30.545Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:03:30.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:03:30.972Z] [2023-07-12T01:03:30.972Z] 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-12T01:03:31.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:03:31.342Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-12T01:03:31.342Z] b85a868b505f: Pulling fs layer [2023-07-12T01:03:31.342Z] e2be974225ed: Pulling fs layer [2023-07-12T01:03:31.342Z] 339a4e72a1f5: Pulling fs layer [2023-07-12T01:03:31.342Z] 988bab9f4d93: Pulling fs layer [2023-07-12T01:03:31.342Z] 1469e6f7b9e6: Pulling fs layer [2023-07-12T01:03:31.342Z] eaf3925da568: Pulling fs layer [2023-07-12T01:03:31.342Z] bab4dde63d76: Pulling fs layer [2023-07-12T01:03:31.342Z] bde34c3a00c8: Pulling fs layer [2023-07-12T01:03:31.342Z] b352a97aabf1: Pulling fs layer [2023-07-12T01:03:31.342Z] 4872d77fe225: Pulling fs layer [2023-07-12T01:03:31.342Z] 5851b861e8e6: Pulling fs layer [2023-07-12T01:03:31.342Z] bab4dde63d76: Waiting [2023-07-12T01:03:31.342Z] 4872d77fe225: Waiting [2023-07-12T01:03:31.342Z] 5851b861e8e6: Waiting [2023-07-12T01:03:31.342Z] bde34c3a00c8: Waiting [2023-07-12T01:03:31.342Z] 988bab9f4d93: Waiting [2023-07-12T01:03:31.342Z] 1469e6f7b9e6: Waiting [2023-07-12T01:03:31.342Z] eaf3925da568: Waiting [2023-07-12T01:03:31.342Z] b352a97aabf1: Waiting [2023-07-12T01:03:31.342Z] e2be974225ed: Download complete [2023-07-12T01:03:31.342Z] 988bab9f4d93: Verifying Checksum [2023-07-12T01:03:31.342Z] 988bab9f4d93: Download complete [2023-07-12T01:03:31.342Z] 1469e6f7b9e6: Verifying Checksum [2023-07-12T01:03:31.342Z] 1469e6f7b9e6: Download complete [2023-07-12T01:03:31.342Z] 339a4e72a1f5: Verifying Checksum [2023-07-12T01:03:31.342Z] 339a4e72a1f5: Download complete [2023-07-12T01:03:31.342Z] eaf3925da568: Verifying Checksum [2023-07-12T01:03:31.342Z] eaf3925da568: Download complete [2023-07-12T01:03:31.601Z] bde34c3a00c8: Verifying Checksum [2023-07-12T01:03:31.601Z] bde34c3a00c8: Download complete [2023-07-12T01:03:31.601Z] b352a97aabf1: Verifying Checksum [2023-07-12T01:03:31.601Z] b352a97aabf1: Download complete [2023-07-12T01:03:31.601Z] 4872d77fe225: Verifying Checksum [2023-07-12T01:03:31.601Z] 4872d77fe225: Download complete [2023-07-12T01:03:31.601Z] 5851b861e8e6: Download complete [2023-07-12T01:03:31.601Z] b85a868b505f: Download complete [2023-07-12T01:03:31.860Z] bab4dde63d76: Verifying Checksum [2023-07-12T01:03:31.860Z] bab4dde63d76: Download complete [2023-07-12T01:03:32.796Z] b85a868b505f: Pull complete [2023-07-12T01:03:32.796Z] e2be974225ed: Pull complete [2023-07-12T01:03:33.055Z] 339a4e72a1f5: Pull complete [2023-07-12T01:03:33.055Z] 988bab9f4d93: Pull complete [2023-07-12T01:03:33.626Z] 1469e6f7b9e6: Pull complete [2023-07-12T01:03:33.626Z] eaf3925da568: Pull complete [2023-07-12T01:03:35.000Z] bab4dde63d76: Pull complete [2023-07-12T01:03:35.259Z] bde34c3a00c8: Pull complete [2023-07-12T01:03:35.259Z] b352a97aabf1: Pull complete [2023-07-12T01:03:35.259Z] 4872d77fe225: Pull complete [2023-07-12T01:03:35.519Z] 5851b861e8e6: Pull complete [2023-07-12T01:03:35.519Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-12T01:03:35.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:03:35.519Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:03:35.760Z] prd-ubuntu20.04-docker-8c-8g-917 does not seem to be running inside a container [2023-07-12T01:03:35.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-469 -v /w/workspace/edgexfoundry_device-sdk-c_PR-469:/w/workspace/edgexfoundry_device-sdk-c_PR-469:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-469@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-12T01:03:38.959Z] $ docker top 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a -eo pid,comm [2023-07-12T01:03:39.023Z] 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-12T01:03:39.024Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-12T01:03:39.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T01:03:39.150Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T01:03:39.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T01:03:39.268Z] $ docker exec 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a ssh-agent [2023-07-12T01:03:39.381Z] SSH_AUTH_SOCK=/tmp/ssh-9qQDxtDzzbfm/agent.31 [2023-07-12T01:03:39.381Z] SSH_AGENT_PID=37 [2023-07-12T01:03:39.388Z] Running ssh-add (command line suppressed) [2023-07-12T01:03:39.497Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_14360079455227181766.key (/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_14360079455227181766.key) [2023-07-12T01:03:39.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T01:03:39.840Z] + git tag --points-at HEAD [Pipeline] } [2023-07-12T01:03:39.863Z] $ docker exec --env ******** --env ******** 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a ssh-agent -k [2023-07-12T01:03:39.978Z] unset SSH_AUTH_SOCK; [2023-07-12T01:03:39.978Z] unset SSH_AGENT_PID; [2023-07-12T01:03:39.978Z] echo Agent pid 37 killed; [2023-07-12T01:03:39.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-12T01:03:40.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T01:03:40.074Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T01:03:40.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T01:03:40.188Z] $ docker exec 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a ssh-agent [2023-07-12T01:03:40.307Z] SSH_AUTH_SOCK=/tmp/ssh-JKQpmGq4Pjr4/agent.71 [2023-07-12T01:03:40.307Z] SSH_AGENT_PID=77 [2023-07-12T01:03:40.312Z] Running ssh-add (command line suppressed) [2023-07-12T01:03:40.420Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_4001544860350265043.key (/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_4001544860350265043.key) [2023-07-12T01:03:40.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T01:03:40.766Z] + git semver init [2023-07-12T01:03:41.026Z] 2023-07-12 01:03:40,944 [run_init] DEBUG init version:0.0.0 force:False [2023-07-12T01:03:41.026Z] 2023-07-12 01:03:40,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver [2023-07-12T01:03:41.026Z] 2023-07-12 01:03:40,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver [2023-07-12T01:03:41.026Z] 2023-07-12 01:03:40,946 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-469, universal_newlines=False, shell=None, istream=None) [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,813 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.git/info/exclude [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver/PR-469 with force:False [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,814 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver/PR-469 [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,818 [execute] INFO git cat-file --batch-check [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver, universal_newlines=False, shell=None, istream=) [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,824 [execute] INFO git cat-file --batch [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver, universal_newlines=False, shell=None, istream=) [2023-07-12T01:03:41.968Z] 2023-07-12 01:03:41,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver/PR-469 [2023-07-12T01:03:41.968Z] 0.0.0 [Pipeline] } [2023-07-12T01:03:41.994Z] $ docker exec --env ******** --env ******** 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a ssh-agent -k [2023-07-12T01:03:42.091Z] unset SSH_AUTH_SOCK; [2023-07-12T01:03:42.091Z] unset SSH_AGENT_PID; [2023-07-12T01:03:42.091Z] echo Agent pid 77 killed; [2023-07-12T01:03:42.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-12T01:03:42.510Z] + git semver [Pipeline] } [2023-07-12T01:03:42.796Z] $ docker stop --time=1 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a [2023-07-12T01:03:44.098Z] $ docker rm -f --volumes 50b0c9a947523f0c5ec6cbe74d4a005b4b46bc8e0b4771a7f98cae35a3ba592a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-12T01:03:44.494Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-12T01:03:44.750Z] Stashed 1 file(s) [Pipeline] echo [2023-07-12T01:03:44.768Z] [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-12T01:03:45.282Z] provisioning config files... [2023-07-12T01:03:45.291Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config3533815762029580202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:03:45.636Z] ---> docker-login.sh [2023-07-12T01:03:45.636Z] nexus3.edgexfoundry.org:10001 [2023-07-12T01:03:45.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:45.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:45.636Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:45.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:45.636Z] [2023-07-12T01:03:45.636Z] Login Succeeded [2023-07-12T01:03:45.636Z] nexus3.edgexfoundry.org:10002 [2023-07-12T01:03:45.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:45.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:45.636Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:45.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:45.636Z] [2023-07-12T01:03:45.636Z] Login Succeeded [2023-07-12T01:03:45.636Z] nexus3.edgexfoundry.org:10003 [2023-07-12T01:03:45.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:45.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:45.895Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:45.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:45.895Z] [2023-07-12T01:03:45.895Z] Login Succeeded [2023-07-12T01:03:45.895Z] nexus3.edgexfoundry.org:10004 [2023-07-12T01:03:45.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:45.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:45.895Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:45.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:45.895Z] [2023-07-12T01:03:45.895Z] Login Succeeded [2023-07-12T01:03:45.896Z] docker.io [2023-07-12T01:03:46.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:03:46.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:03:46.154Z] Configure a credential helper to remove this warning. See [2023-07-12T01:03:46.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:03:46.154Z] [2023-07-12T01:03:46.154Z] Login Succeeded [2023-07-12T01:03:46.154Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T01:03:46.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T01:03:46.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:03:46.391Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-12T01:03:46.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:03:46.457Z] ========================================================= [2023-07-12T01:03:46.457Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-12T01:03:46.457Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:03:46.883Z] + 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-12T01:03:46.883Z] Sending build context to Docker daemon 4.826MB [2023-07-12T01:03:46.883Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-12T01:03:46.883Z] Step 2/21 : FROM ${BASE} as builder [2023-07-12T01:03:46.883Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-12T01:03:46.883Z] 91d30c5bc195: Pulling fs layer [2023-07-12T01:03:46.883Z] 316e5a4585fb: Pulling fs layer [2023-07-12T01:03:46.883Z] 91d30c5bc195: Verifying Checksum [2023-07-12T01:03:46.883Z] 91d30c5bc195: Download complete [2023-07-12T01:03:47.142Z] 91d30c5bc195: Pull complete [2023-07-12T01:03:47.710Z] 316e5a4585fb: Verifying Checksum [2023-07-12T01:03:47.710Z] 316e5a4585fb: Download complete [2023-07-12T01:03:50.241Z] 316e5a4585fb: Pull complete [2023-07-12T01:03:50.241Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-12T01:03:50.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-12T01:03:50.241Z] ---> e83ffa357ff4 [2023-07-12T01:03:50.241Z] 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-12T01:03:52.148Z] ---> Running in c8e5cf2b498f [2023-07-12T01:03:52.408Z] Connecting to iotech.jfrog.io (54.229.11.32:443) [2023-07-12T01:03:52.978Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:03:52.978Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:03:52.978Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:03:53.237Z] Removing intermediate container c8e5cf2b498f [2023-07-12T01:03:53.237Z] ---> 37fcf0f1c9fb [2023-07-12T01:03:53.237Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:03:53.237Z] ---> Running in 5e46874191b6 [2023-07-12T01:03:53.807Z] Removing intermediate container 5e46874191b6 [2023-07-12T01:03:53.807Z] ---> 6130a6ac9a01 [2023-07-12T01:03:53.807Z] 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-12T01:03:53.807Z] ---> Running in 0cb0a367782a [2023-07-12T01:03:54.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:03:57.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:03:57.357Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:03:57.616Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:03:57.616Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:03:57.616Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:03:57.616Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-12T01:03:57.616Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:03:57.616Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:03:58.186Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:03:58.448Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-12T01:03:58.448Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:03:58.448Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:03:58.448Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:03:59.016Z] (11/16) Installing libblkid (2.38-r1) [2023-07-12T01:03:59.016Z] (12/16) Installing libuuid (2.38-r1) [2023-07-12T01:03:59.278Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-12T01:03:59.278Z] (14/16) Installing libmount (2.38-r1) [2023-07-12T01:03:59.278Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-12T01:03:59.278Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-12T01:03:59.278Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:03:59.278Z] OK: 280 MiB in 90 packages [2023-07-12T01:03:59.843Z] Removing intermediate container 0cb0a367782a [2023-07-12T01:03:59.843Z] ---> 367438cac6fe [2023-07-12T01:03:59.843Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-12T01:03:59.843Z] ---> Running in 910c5315c34e [2023-07-12T01:04:00.101Z] Still waiting to schedule task [2023-07-12T01:04:00.101Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-12T01:04:00.411Z] Removing intermediate container 910c5315c34e [2023-07-12T01:04:00.411Z] ---> c3dad0ff11ac [2023-07-12T01:04:00.411Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-12T01:04:00.669Z] ---> 053627f710fd [2023-07-12T01:04:00.669Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-12T01:04:00.929Z] ---> a762687f1925 [2023-07-12T01:04:00.929Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-12T01:04:00.929Z] ---> c28baa040700 [2023-07-12T01:04:00.929Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-12T01:04:01.189Z] ---> 651d1f4431c0 [2023-07-12T01:04:01.189Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-12T01:04:01.449Z] ---> 783451400536 [2023-07-12T01:04:01.449Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-12T01:04:01.449Z] ---> 595f5fdaf82c [2023-07-12T01:04:01.449Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-12T01:04:01.449Z] ---> Running in 860f0a68d1da [2023-07-12T01:04:01.710Z] + CPPCHECK=false [2023-07-12T01:04:01.710Z] + DOCGEN=false [2023-07-12T01:04:01.710Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-12T01:04:01.710Z] + '[' 0 -gt 0 ] [2023-07-12T01:04:01.710Z] + readlink -f ./scripts/build.sh [2023-07-12T01:04:01.710Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-12T01:04:01.710Z] + dirname /tmp/sdk/scripts [2023-07-12T01:04:01.710Z] + ROOT=/tmp/sdk [2023-07-12T01:04:01.710Z] + cd /tmp/sdk [2023-07-12T01:04:01.710Z] + mkdir -p /tmp/sdk/build/release [2023-07-12T01:04:01.710Z] + cd /tmp/sdk/build/release [2023-07-12T01:04:01.710Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-12T01:04:01.970Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:04:01.970Z] -- Detecting C compiler ABI info [2023-07-12T01:04:01.970Z] -- Detecting C compiler ABI info - done [2023-07-12T01:04:01.970Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:04:01.970Z] -- Detecting C compile features [2023-07-12T01:04:01.970Z] -- Detecting C compile features - done [2023-07-12T01:04:01.970Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:04:01.970Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:04:01.970Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:04:01.970Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:04:01.970Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:04:01.970Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:04:01.970Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:04:01.970Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:04:01.970Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:04:01.970Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:04:01.970Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:04:02.231Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:04:02.231Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:04:02.231Z] -- Configuring done [2023-07-12T01:04:02.231Z] -- Generating done [2023-07-12T01:04:02.231Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-12T01:04:02.231Z] + make all package [2023-07-12T01:04:02.231Z] + tee release.log [2023-07-12T01:04:02.231Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:04:02.491Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:04:02.491Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:04:02.751Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:04:02.751Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:04:03.011Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:04:03.270Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:04:03.529Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:04:03.529Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:04:03.788Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:04:04.047Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:04:04.306Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:04:04.306Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:04:04.566Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:04:04.566Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:04:04.826Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:04:04.826Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:04:05.393Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:04:05.393Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:04:05.393Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:04:05.654Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:04:06.589Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:04:06.849Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:04:06.849Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:04:06.849Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:04:06.849Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:04:07.108Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:04:07.678Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:04:07.678Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:04:07.936Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:04:07.936Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:04:08.504Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:04:08.504Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:04:08.764Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:04:08.764Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:04:08.764Z] [ 68%] Built target csdk [2023-07-12T01:04:08.764Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:04:09.024Z] [ 72%] Linking C executable template [2023-07-12T01:04:09.024Z] [ 72%] Built target template [2023-07-12T01:04:09.024Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:04:09.283Z] [ 76%] Linking C executable device-counter [2023-07-12T01:04:09.283Z] [ 76%] Built target device-counter [2023-07-12T01:04:09.283Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:04:09.283Z] [ 80%] Linking C executable device-random [2023-07-12T01:04:09.283Z] [ 80%] Built target device-random [2023-07-12T01:04:09.543Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:04:09.543Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:04:09.543Z] [ 84%] Built target device-gyro [2023-07-12T01:04:09.543Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:04:09.802Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:04:09.802Z] [ 88%] Built target device-bitfields [2023-07-12T01:04:09.802Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:04:10.061Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:04:10.061Z] [ 92%] Built target template-discovery [2023-07-12T01:04:10.061Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:04:10.061Z] [ 96%] Linking C executable device-file [2023-07-12T01:04:10.322Z] [ 96%] Built target device-file [2023-07-12T01:04:10.322Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:04:10.322Z] [100%] Linking C executable device-terminal [2023-07-12T01:04:10.322Z] [100%] Built target device-terminal [2023-07-12T01:04:10.322Z] Run CPack packaging tool... [2023-07-12T01:04:10.583Z] CPack: Create package using TGZ [2023-07-12T01:04:10.583Z] CPack: Install projects [2023-07-12T01:04:10.583Z] CPack: - Run preinstall target for: Csdk [2023-07-12T01:04:10.583Z] CPack: - Install project: Csdk [] [2023-07-12T01:04:10.583Z] CPack: Create package [2023-07-12T01:04:10.844Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-12T01:04:10.844Z] + '[' false '=' true ] [2023-07-12T01:04:10.844Z] + '[' false '=' true ] [2023-07-12T01:04:10.844Z] + mkdir -p /tmp/sdk/build/debug [2023-07-12T01:04:10.844Z] + cd /tmp/sdk/build/debug [2023-07-12T01:04:10.844Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-12T01:04:10.844Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:04:10.844Z] -- Detecting C compiler ABI info [2023-07-12T01:04:10.844Z] -- Detecting C compiler ABI info - done [2023-07-12T01:04:10.844Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:04:10.844Z] -- Detecting C compile features [2023-07-12T01:04:10.844Z] -- Detecting C compile features - done [2023-07-12T01:04:10.844Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:04:10.844Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:04:10.844Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:04:10.844Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:04:10.844Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:04:10.844Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:04:10.844Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:04:10.844Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:04:10.844Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:04:10.844Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:04:10.844Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:04:11.104Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:04:11.104Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:04:11.104Z] -- Configuring done [2023-07-12T01:04:11.104Z] -- Generating done [2023-07-12T01:04:11.104Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-12T01:04:11.104Z] + make [2023-07-12T01:04:11.104Z] + tee debug.log [2023-07-12T01:04:11.104Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:04:11.364Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:04:11.364Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:04:11.364Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:04:11.624Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:04:11.624Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:04:11.884Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:04:11.884Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:04:11.884Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:04:11.884Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:04:12.144Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:04:12.144Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:04:12.403Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:04:12.403Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:04:12.403Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:04:12.403Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:04:12.662Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:04:12.662Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:04:12.662Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:04:12.922Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:04:12.922Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:04:13.180Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:04:13.180Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:04:13.440Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:04:13.440Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:04:13.440Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:04:13.703Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:04:13.964Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:04:13.964Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:04:13.964Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:04:14.224Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:04:14.224Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:04:14.224Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:04:14.483Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:04:14.483Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:04:14.483Z] [ 68%] Built target csdk [2023-07-12T01:04:14.483Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:04:14.743Z] [ 72%] Linking C executable template [2023-07-12T01:04:14.743Z] [ 72%] Built target template [2023-07-12T01:04:14.743Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:04:14.743Z] [ 76%] Linking C executable device-counter [2023-07-12T01:04:14.743Z] [ 76%] Built target device-counter [2023-07-12T01:04:15.003Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:04:15.003Z] [ 80%] Linking C executable device-random [2023-07-12T01:04:15.003Z] [ 80%] Built target device-random [2023-07-12T01:04:15.003Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:04:15.003Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:04:15.263Z] [ 84%] Built target device-gyro [2023-07-12T01:04:15.263Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:04:15.263Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:04:15.263Z] [ 88%] Built target device-bitfields [2023-07-12T01:04:15.263Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:04:15.263Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:04:15.576Z] [ 92%] Built target template-discovery [2023-07-12T01:04:15.576Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:04:15.576Z] [ 96%] Linking C executable device-file [2023-07-12T01:04:15.576Z] [ 96%] Built target device-file [2023-07-12T01:04:15.576Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:04:15.576Z] [100%] Linking C executable device-terminal [2023-07-12T01:04:15.840Z] [100%] Built target device-terminal [2023-07-12T01:04:15.840Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 68%] Built target csdk [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 72%] Built target template [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 76%] Built target device-counter [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 80%] Built target device-random [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 84%] Built target device-gyro [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 88%] Built target device-bitfields [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 92%] Built target template-discovery [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:15.840Z] [ 96%] Built target device-file [2023-07-12T01:04:15.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:04:16.173Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:16.173Z] [100%] Built target device-terminal [2023-07-12T01:04:16.173Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:16.173Z] Install the project... [2023-07-12T01:04:16.173Z] -- Install configuration: "Release" [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-12T01:04:16.173Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/devsdk [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-12T01:04:16.173Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-12T01:04:16.173Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:04:16.744Z] Removing intermediate container 860f0a68d1da [2023-07-12T01:04:16.744Z] ---> d3e8eac8ce6a [2023-07-12T01:04:16.744Z] Step 14/21 : FROM ${BASE} [2023-07-12T01:04:16.744Z] ---> e83ffa357ff4 [2023-07-12T01:04:16.744Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-12T01:04:16.744Z] ---> Running in d1b59850a4dc [2023-07-12T01:04:16.744Z] Removing intermediate container d1b59850a4dc [2023-07-12T01:04:16.744Z] ---> eff265e34afe [2023-07-12T01:04:16.744Z] 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-12T01:04:17.004Z] ---> Running in f96a849e7b25 [2023-07-12T01:04:17.263Z] Connecting to iotech.jfrog.io (52.17.224.14:443) [2023-07-12T01:04:17.522Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:04:17.522Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:04:17.522Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:04:17.782Z] Removing intermediate container f96a849e7b25 [2023-07-12T01:04:17.782Z] ---> ca2151ecade7 [2023-07-12T01:04:17.782Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:04:17.782Z] ---> Running in a353d2b74ae7 [2023-07-12T01:04:18.352Z] Removing intermediate container a353d2b74ae7 [2023-07-12T01:04:18.353Z] ---> 810fb4f40863 [2023-07-12T01:04:18.353Z] 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-12T01:04:18.353Z] ---> Running in 3b489adf02bc [2023-07-12T01:04:18.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:18.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:19.132Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:19.393Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:04:19.393Z] (1/7) Installing curl (8.1.2-r0) [2023-07-12T01:04:19.651Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-12T01:04:19.651Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:04:19.651Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-12T01:04:20.219Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-12T01:04:20.219Z] (6/7) Installing libuuid (2.38-r1) [2023-07-12T01:04:20.219Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:04:21.157Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:04:21.157Z] OK: 276 MiB in 83 packages [2023-07-12T01:04:21.417Z] Removing intermediate container 3b489adf02bc [2023-07-12T01:04:21.417Z] ---> c574dfb54eee [2023-07-12T01:04:21.417Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-12T01:04:21.678Z] ---> 89c468ef135c [2023-07-12T01:04:21.678Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-12T01:04:21.678Z] ---> daa72ec58798 [2023-07-12T01:04:21.678Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-12T01:04:21.938Z] ---> c000777911c5 [2023-07-12T01:04:21.938Z] Successfully built c000777911c5 [2023-07-12T01:04:21.938Z] 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-12T01:04:22.622Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-12T01:04:22.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:04:22.773Z] prd-ubuntu20.04-docker-8c-8g-917 does not seem to be running inside a container [2023-07-12T01:04:22.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-469 -v /w/workspace/edgexfoundry_device-sdk-c_PR-469:/w/workspace/edgexfoundry_device-sdk-c_PR-469:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-469@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-12T01:04:23.158Z] $ docker top 2a7b49e1afb64a7efe72973321a619d531c25749f45ae8b82dc22fb9a5953f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:04:23.545Z] + make test [2023-07-12T01:04:23.545Z] echo "make test" [2023-07-12T01:04:23.545Z] make test [Pipeline] } [2023-07-12T01:04:23.576Z] $ docker stop --time=1 2a7b49e1afb64a7efe72973321a619d531c25749f45ae8b82dc22fb9a5953f7b [2023-07-12T01:04:24.858Z] $ docker rm -f --volumes 2a7b49e1afb64a7efe72973321a619d531c25749f45ae8b82dc22fb9a5953f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T01:04:25.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T01:04:26.058Z] + ls -al . [2023-07-12T01:04:26.058Z] total 212 [2023-07-12T01:04:26.058Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:03 . [2023-07-12T01:04:26.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 .. [2023-07-12T01:04:26.058Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:03 .git [2023-07-12T01:04:26.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 .github [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:03 .gitignore [2023-07-12T01:04:26.058Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:03 .semver [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:03 Attribution.txt [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:03 CHANGES [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:03 Doxyfile [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:03 GOVERNANCE.md [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:03 Jenkinsfile [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:03 LICENSE [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:03 Makefile [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:03 OWNERS.md [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:03 README.IOT.md [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:03 README.md [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:03 README.v3.md [2023-07-12T01:04:26.058Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:03 VERSION [2023-07-12T01:04:26.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 docs [2023-07-12T01:04:26.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 include [2023-07-12T01:04:26.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 scripts [2023-07-12T01:04:26.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:04:26.449Z] + 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=2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 --label arch=amd64 --label version=0.0.0 . [2023-07-12T01:04:26.449Z] Sending build context to Docker daemon 4.826MB [2023-07-12T01:04:26.449Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-12T01:04:26.449Z] Step 2/17 : FROM ${BASE} [2023-07-12T01:04:26.449Z] ---> c000777911c5 [2023-07-12T01:04:26.449Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-12T01:04:26.449Z] ---> Running in 9ba0efce30d3 [2023-07-12T01:04:26.706Z] Removing intermediate container 9ba0efce30d3 [2023-07-12T01:04:26.706Z] ---> 5d52f642a875 [2023-07-12T01:04:26.706Z] 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-12T01:04:26.706Z] ---> Running in adf3dfbcb90a [2023-07-12T01:04:26.965Z] Connecting to iotech.jfrog.io (52.31.127.113:443) [2023-07-12T01:04:27.224Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:04:27.224Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:04:27.224Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:04:27.792Z] Removing intermediate container adf3dfbcb90a [2023-07-12T01:04:27.792Z] ---> 675e275f5250 [2023-07-12T01:04:27.792Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:04:27.792Z] ---> Running in 7a91c17cc748 [2023-07-12T01:04:28.360Z] Removing intermediate container 7a91c17cc748 [2023-07-12T01:04:28.360Z] ---> bb4969af1b2f [2023-07-12T01:04:28.360Z] 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-12T01:04:28.360Z] ---> Running in ec961456e8f9 [2023-07-12T01:04:28.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:28.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:28.619Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:04:29.190Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:04:29.190Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:04:29.190Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:04:29.190Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:04:29.758Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:04:30.017Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:04:30.017Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:04:30.017Z] (7/11) Installing libblkid (2.38-r1) [2023-07-12T01:04:30.017Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-12T01:04:30.017Z] (9/11) Installing libmount (2.38-r1) [2023-07-12T01:04:30.017Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-12T01:04:30.017Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-12T01:04:30.017Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:04:30.017Z] OK: 281 MiB in 92 packages [2023-07-12T01:04:30.603Z] Removing intermediate container ec961456e8f9 [2023-07-12T01:04:30.603Z] ---> 0ba97ed45e9c [2023-07-12T01:04:30.603Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-12T01:04:30.862Z] ---> 04acf0aaf110 [2023-07-12T01:04:30.862Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-12T01:04:31.122Z] ---> 70b09a0b8e82 [2023-07-12T01:04:31.122Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-12T01:04:31.122Z] ---> 285a8d91cc03 [2023-07-12T01:04:31.122Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-12T01:04:31.122Z] ---> cd3094e3bbab [2023-07-12T01:04:31.122Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-12T01:04:31.381Z] ---> e5ec8ee8a700 [2023-07-12T01:04:31.381Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-12T01:04:31.381Z] ---> 9ceab907295f [2023-07-12T01:04:31.381Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-12T01:04:31.641Z] ---> Running in c9b180a057e2 [2023-07-12T01:04:31.641Z] Removing intermediate container c9b180a057e2 [2023-07-12T01:04:31.641Z] ---> 4a44ab681a75 [2023-07-12T01:04:31.641Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-12T01:04:31.641Z] ---> Running in 53be316223a4 [2023-07-12T01:04:31.641Z] Removing intermediate container 53be316223a4 [2023-07-12T01:04:31.641Z] ---> 872bc0f6db61 [2023-07-12T01:04:31.641Z] Step 15/17 : LABEL arch=amd64 [2023-07-12T01:04:31.641Z] ---> Running in d17aa3dbc283 [2023-07-12T01:04:31.641Z] Removing intermediate container d17aa3dbc283 [2023-07-12T01:04:31.641Z] ---> 1899d96353fb [2023-07-12T01:04:31.641Z] Step 16/17 : LABEL git_sha=2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [2023-07-12T01:04:31.899Z] ---> Running in 4fd6464a7f49 [2023-07-12T01:04:31.899Z] Removing intermediate container 4fd6464a7f49 [2023-07-12T01:04:31.899Z] ---> 607f556a142a [2023-07-12T01:04:31.899Z] Step 17/17 : LABEL version=0.0.0 [2023-07-12T01:04:31.899Z] ---> Running in 6a40e4622bb1 [2023-07-12T01:04:31.899Z] Removing intermediate container 6a40e4622bb1 [2023-07-12T01:04:31.899Z] ---> 33b7af73eb2b [2023-07-12T01:04:31.899Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-12T01:04:31.899Z] Successfully built 33b7af73eb2b [2023-07-12T01:04:31.899Z] 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-12T01:04:32.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:04:32.805Z] [2023-07-12T01:04:32.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:04:33.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:04:33.183Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-12T01:04:33.183Z] 5eb5b503b376: Pulling fs layer [2023-07-12T01:04:33.183Z] 5c69ac0246d0: Pulling fs layer [2023-07-12T01:04:33.183Z] ec43610c2a17: Pulling fs layer [2023-07-12T01:04:33.183Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-12T01:04:33.183Z] 33b1e0a273af: Pulling fs layer [2023-07-12T01:04:33.183Z] 5d3b04190fa2: Pulling fs layer [2023-07-12T01:04:33.183Z] 2f39f015ded8: Pulling fs layer [2023-07-12T01:04:33.183Z] 3a2ae6a8a46f: Waiting [2023-07-12T01:04:33.183Z] 33b1e0a273af: Waiting [2023-07-12T01:04:33.183Z] 5d3b04190fa2: Waiting [2023-07-12T01:04:33.183Z] 2f39f015ded8: Waiting [2023-07-12T01:04:33.183Z] 5c69ac0246d0: Verifying Checksum [2023-07-12T01:04:33.183Z] 5c69ac0246d0: Download complete [2023-07-12T01:04:33.183Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-12T01:04:33.183Z] 3a2ae6a8a46f: Download complete [2023-07-12T01:04:33.183Z] 33b1e0a273af: Verifying Checksum [2023-07-12T01:04:33.183Z] 33b1e0a273af: Download complete [2023-07-12T01:04:33.183Z] 5d3b04190fa2: Verifying Checksum [2023-07-12T01:04:33.183Z] 5d3b04190fa2: Download complete [2023-07-12T01:04:33.183Z] ec43610c2a17: Verifying Checksum [2023-07-12T01:04:33.183Z] ec43610c2a17: Download complete [2023-07-12T01:04:33.448Z] 5eb5b503b376: Verifying Checksum [2023-07-12T01:04:33.448Z] 5eb5b503b376: Download complete [2023-07-12T01:04:34.016Z] 2f39f015ded8: Download complete [2023-07-12T01:04:34.584Z] 5eb5b503b376: Pull complete [2023-07-12T01:04:34.584Z] 5c69ac0246d0: Pull complete [2023-07-12T01:04:35.154Z] ec43610c2a17: Pull complete [2023-07-12T01:04:35.154Z] 3a2ae6a8a46f: Pull complete [2023-07-12T01:04:35.413Z] 33b1e0a273af: Pull complete [2023-07-12T01:04:35.413Z] 5d3b04190fa2: Pull complete [2023-07-12T01:04:39.599Z] 2f39f015ded8: Pull complete [2023-07-12T01:04:39.599Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-12T01:04:39.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:04:39.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:04:39.814Z] prd-ubuntu20.04-docker-8c-8g-917 does not seem to be running inside a container [2023-07-12T01:04:39.859Z] $ 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-469 -v /w/workspace/edgexfoundry_device-sdk-c_PR-469:/w/workspace/edgexfoundry_device-sdk-c_PR-469:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-469@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-12T01:04:44.711Z] $ docker top 1e58d17ff8424a48bdc2657cc88f8c5e548fbf7b838eb3d64380613eba5e58e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:04:45.138Z] ---> job-cost.sh [2023-07-12T01:04:45.138Z] lf-activate-venv: SKIPPING [2023-07-12T01:04:45.138Z] INFO: No Stack... [2023-07-12T01:04:45.397Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T01:04:45.965Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T01:04:46.277Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives/cost.csv [2023-07-12T01:04:46.277Z] + cut -d, -f6 [Pipeline] lock [2023-07-12T01:04:46.318Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [2023-07-12T01:04:46.323Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] did not exist. Created. [2023-07-12T01:04:46.323Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T01:04:46.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-12T01:04:46.792Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T01:04:46.808Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T01:04:46.888Z] $ docker stop --time=1 1e58d17ff8424a48bdc2657cc88f8c5e548fbf7b838eb3d64380613eba5e58e9 [2023-07-12T01:04:48.051Z] $ docker rm -f --volumes 1e58d17ff8424a48bdc2657cc88f8c5e548fbf7b838eb3d64380613eba5e58e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-12T01:06:52.005Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-920 in /w/workspace/edgexfoundry_device-sdk-c_PR-469 [Pipeline] { [Pipeline] ws [2023-07-12T01:06:52.070Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-07-12T01:06:52.152Z] Selected Git installation does not exist. Using Default [2023-07-12T01:06:52.152Z] The recommended git tool is: NONE [2023-07-12T01:06:59.003Z] using credential edgex-jenkins-ssh [2023-07-12T01:06:59.016Z] Cloning the remote Git repository [2023-07-12T01:06:59.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:06:59.143Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-07-12T01:06:59.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:06:59.308Z] > git --version # timeout=10 [2023-07-12T01:06:59.351Z] > git --version # 'git version 2.25.1' [2023-07-12T01:06:59.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:06:59.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T01:07:00.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-12T01:07:00.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T01:07:01.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-12T01:07:02.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:07:02.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:07:02.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/469/head:refs/remotes/origin/PR-469 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-12T01:07:02.601Z] Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [2023-07-12T01:07:02.974Z] Merge succeeded, producing 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [2023-07-12T01:07:02.975Z] Checking out Revision 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 (PR-469) [2023-07-12T01:07:02.624Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T01:07:02.719Z] > git checkout -f 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 # timeout=10 [2023-07-12T01:07:02.852Z] > git remote # timeout=10 [2023-07-12T01:07:02.877Z] > git config --get remote.origin.url # timeout=10 [2023-07-12T01:07:02.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:07:02.931Z] > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 [2023-07-12T01:07:02.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-12T01:07:02.983Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T01:07:02.998Z] > git checkout -f 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 # timeout=10 [2023-07-12T01:07:06.604Z] Commit message: "fix: invalid pointer operation in edgex_bus_mqtt_msgarrvd" [2023-07-12T01:07:06.697Z] > git --version # timeout=10 [2023-07-12T01:07:06.768Z] > git --version # 'git version 2.25.1' [2023-07-12T01:07:06.840Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T01:07:08.073Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-12T01:07:08.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-12T01:07:08.073Z] Dload Upload Total Spent Left Speed [2023-07-12T01:07:08.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-07-12T01:07:08.773Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-12T01:07:09.194Z] + + sudo tee /etc/docker/daemon.new [2023-07-12T01:07:09.194Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-12T01:07:09.194Z] { [2023-07-12T01:07:09.194Z] "registry-mirrors": [ [2023-07-12T01:07:09.194Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-12T01:07:09.194Z] ], [2023-07-12T01:07:09.194Z] "bip": "10.250.0.254/24", [2023-07-12T01:07:09.194Z] "hosts": [ [2023-07-12T01:07:09.194Z] "tcp://0.0.0.0:5555", [2023-07-12T01:07:09.194Z] "unix:///var/run/docker.sock" [2023-07-12T01:07:09.194Z] ], [2023-07-12T01:07:09.194Z] "mtu": 1458, [2023-07-12T01:07:09.194Z] "selinux-enabled": true, [2023-07-12T01:07:09.194Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-12T01:07:09.194Z] } [Pipeline] sh [2023-07-12T01:07:09.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-12T01:07:10.216Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T01:07:28.594Z] provisioning config files... [2023-07-12T01:07:28.623Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6295282601298461422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:07:29.011Z] ---> docker-login.sh [2023-07-12T01:07:29.011Z] nexus3.edgexfoundry.org:10001 [2023-07-12T01:07:29.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:07:29.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:07:29.554Z] Configure a credential helper to remove this warning. See [2023-07-12T01:07:29.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:07:29.554Z] [2023-07-12T01:07:29.554Z] Login Succeeded [2023-07-12T01:07:29.554Z] nexus3.edgexfoundry.org:10002 [2023-07-12T01:07:29.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:07:30.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:07:30.097Z] Configure a credential helper to remove this warning. See [2023-07-12T01:07:30.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:07:30.097Z] [2023-07-12T01:07:30.097Z] Login Succeeded [2023-07-12T01:07:30.097Z] nexus3.edgexfoundry.org:10003 [2023-07-12T01:07:30.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:07:30.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:07:30.374Z] Configure a credential helper to remove this warning. See [2023-07-12T01:07:30.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:07:30.374Z] [2023-07-12T01:07:30.374Z] Login Succeeded [2023-07-12T01:07:30.374Z] nexus3.edgexfoundry.org:10004 [2023-07-12T01:07:30.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:07:30.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:07:30.645Z] Configure a credential helper to remove this warning. See [2023-07-12T01:07:30.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:07:30.645Z] [2023-07-12T01:07:30.645Z] Login Succeeded [2023-07-12T01:07:30.645Z] docker.io [2023-07-12T01:07:30.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:07:31.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:07:31.189Z] Configure a credential helper to remove this warning. See [2023-07-12T01:07:31.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:07:31.189Z] [2023-07-12T01:07:31.189Z] Login Succeeded [2023-07-12T01:07:31.189Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T01:07:31.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T01:07:31.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:07:31.663Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-12T01:07:31.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:07:31.729Z] ========================================================= [2023-07-12T01:07:31.729Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-12T01:07:31.729Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:07:32.183Z] + 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-12T01:07:32.457Z] Sending build context to Docker daemon 2.889MB [2023-07-12T01:07:32.457Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-12T01:07:32.457Z] Step 2/21 : FROM ${BASE} as builder [2023-07-12T01:07:32.732Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-12T01:07:32.732Z] 547446be3368: Pulling fs layer [2023-07-12T01:07:32.732Z] 76bd08e1cacc: Pulling fs layer [2023-07-12T01:07:32.732Z] 547446be3368: Verifying Checksum [2023-07-12T01:07:32.732Z] 547446be3368: Download complete [2023-07-12T01:07:33.344Z] 547446be3368: Pull complete [2023-07-12T01:07:35.305Z] 76bd08e1cacc: Verifying Checksum [2023-07-12T01:07:35.305Z] 76bd08e1cacc: Download complete [2023-07-12T01:07:43.628Z] 76bd08e1cacc: Pull complete [2023-07-12T01:07:43.628Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-12T01:07:43.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-12T01:07:43.628Z] ---> 295cd00e64f4 [2023-07-12T01:07:43.628Z] 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-12T01:07:43.628Z] ---> Running in 0d33fb42725f [2023-07-12T01:07:44.595Z] Connecting to iotech.jfrog.io (54.229.11.32:443) [2023-07-12T01:07:44.866Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:07:44.866Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:07:44.866Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:07:45.462Z] Removing intermediate container 0d33fb42725f [2023-07-12T01:07:45.462Z] ---> de0fdf2cdc1e [2023-07-12T01:07:45.462Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:07:45.462Z] ---> Running in 46b881daddb9 [2023-07-12T01:07:47.430Z] Removing intermediate container 46b881daddb9 [2023-07-12T01:07:47.430Z] ---> c0c4b3627b30 [2023-07-12T01:07:47.430Z] 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-12T01:07:47.430Z] ---> Running in 129cf67988a4 [2023-07-12T01:07:48.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:07:48.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:07:48.988Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:07:49.950Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:07:49.950Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:07:49.950Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:07:49.950Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-12T01:07:49.950Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:07:49.950Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:07:50.536Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:07:50.803Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-12T01:07:50.803Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:07:50.803Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:07:50.803Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:07:51.765Z] (11/16) Installing libblkid (2.38-r1) [2023-07-12T01:07:51.765Z] (12/16) Installing libuuid (2.38-r1) [2023-07-12T01:07:51.765Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-12T01:07:51.765Z] (14/16) Installing libmount (2.38-r1) [2023-07-12T01:07:51.765Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-12T01:07:51.765Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-12T01:07:51.765Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:07:52.034Z] OK: 286 MiB in 90 packages [2023-07-12T01:07:53.006Z] Removing intermediate container 129cf67988a4 [2023-07-12T01:07:53.006Z] ---> 16809b9eb27c [2023-07-12T01:07:53.006Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-12T01:07:53.290Z] ---> Running in 429d89e78a24 [2023-07-12T01:07:54.705Z] Removing intermediate container 429d89e78a24 [2023-07-12T01:07:54.705Z] ---> eb1f2582f47f [2023-07-12T01:07:54.705Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-12T01:07:54.972Z] ---> a4800b085158 [2023-07-12T01:07:54.972Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-12T01:07:55.943Z] ---> 69cce121a854 [2023-07-12T01:07:55.943Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-12T01:07:56.210Z] ---> 6e004ed79abf [2023-07-12T01:07:56.210Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-12T01:07:56.796Z] ---> 9d8323f18a21 [2023-07-12T01:07:56.796Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-12T01:07:57.063Z] ---> 35cde2e222c9 [2023-07-12T01:07:57.063Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-12T01:07:57.644Z] ---> 4d265e6ace7e [2023-07-12T01:07:57.644Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-12T01:07:57.644Z] ---> Running in e614e2a94247 [2023-07-12T01:07:58.601Z] + CPPCHECK=false [2023-07-12T01:07:58.602Z] + DOCGEN=false [2023-07-12T01:07:58.602Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-12T01:07:58.602Z] + '[' 0 -gt 0 ] [2023-07-12T01:07:58.602Z] + readlink -f ./scripts/build.sh [2023-07-12T01:07:58.602Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-12T01:07:58.602Z] + dirname /tmp/sdk/scripts [2023-07-12T01:07:58.602Z] + ROOT=/tmp/sdk [2023-07-12T01:07:58.602Z] + cd /tmp/sdk [2023-07-12T01:07:58.602Z] + mkdir -p /tmp/sdk/build/release [2023-07-12T01:07:58.602Z] + cd /tmp/sdk/build/release [2023-07-12T01:07:58.602Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-12T01:07:58.868Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:07:58.868Z] -- Detecting C compiler ABI info [2023-07-12T01:07:59.450Z] -- Detecting C compiler ABI info - done [2023-07-12T01:07:59.450Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:07:59.450Z] -- Detecting C compile features [2023-07-12T01:07:59.450Z] -- Detecting C compile features - done [2023-07-12T01:07:59.450Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:07:59.716Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:07:59.716Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:07:59.716Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:07:59.716Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:07:59.716Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:07:59.716Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:07:59.716Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:07:59.716Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:07:59.716Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:07:59.716Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:07:59.982Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:08:00.248Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:08:00.248Z] -- Configuring done [2023-07-12T01:08:00.513Z] -- Generating done [2023-07-12T01:08:00.778Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-12T01:08:00.778Z] + make all package [2023-07-12T01:08:00.778Z] + tee release.log [2023-07-12T01:08:00.778Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:08:01.734Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:08:02.690Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:08:03.645Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:08:04.606Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:08:05.189Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:08:07.759Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:08:08.717Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:08:08.983Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:08:09.937Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:08:12.504Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:08:13.089Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:08:14.051Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:08:15.008Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:08:15.966Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:08:17.375Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:08:17.641Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:08:20.981Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:08:20.981Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:08:21.938Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:08:23.878Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:08:30.526Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:08:30.792Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:08:31.386Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:08:31.968Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:08:32.550Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:08:34.490Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:08:37.823Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:08:37.823Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:08:39.232Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:08:39.816Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:08:44.067Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:08:45.027Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:08:45.607Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:08:46.187Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:08:46.453Z] [ 68%] Built target csdk [2023-07-12T01:08:46.453Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:08:47.412Z] [ 72%] Linking C executable template [2023-07-12T01:08:47.992Z] [ 72%] Built target template [2023-07-12T01:08:47.992Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:08:48.571Z] [ 76%] Linking C executable device-counter [2023-07-12T01:08:48.836Z] [ 76%] Built target device-counter [2023-07-12T01:08:48.836Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:08:49.419Z] [ 80%] Linking C executable device-random [2023-07-12T01:08:49.685Z] [ 80%] Built target device-random [2023-07-12T01:08:49.951Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:08:50.532Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:08:50.798Z] [ 84%] Built target device-gyro [2023-07-12T01:08:50.798Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:08:51.379Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:08:51.646Z] [ 88%] Built target device-bitfields [2023-07-12T01:08:51.646Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:08:53.050Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:08:53.050Z] [ 92%] Built target template-discovery [2023-07-12T01:08:53.050Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:08:54.006Z] [ 96%] Linking C executable device-file [2023-07-12T01:08:54.273Z] [ 96%] Built target device-file [2023-07-12T01:08:54.273Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:08:55.229Z] [100%] Linking C executable device-terminal [2023-07-12T01:08:55.229Z] [100%] Built target device-terminal [2023-07-12T01:08:55.496Z] Run CPack packaging tool... [2023-07-12T01:08:55.496Z] CPack: Create package using TGZ [2023-07-12T01:08:55.496Z] CPack: Install projects [2023-07-12T01:08:55.496Z] CPack: - Run preinstall target for: Csdk [2023-07-12T01:08:56.078Z] CPack: - Install project: Csdk [] [2023-07-12T01:08:56.078Z] CPack: Create package [2023-07-12T01:08:56.342Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-12T01:08:56.342Z] + '[' false '=' true ] [2023-07-12T01:08:56.342Z] + '[' false '=' true ] [2023-07-12T01:08:56.342Z] + mkdir -p /tmp/sdk/build/debug [2023-07-12T01:08:56.342Z] + cd /tmp/sdk/build/debug [2023-07-12T01:08:56.342Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-12T01:08:56.607Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:08:56.607Z] -- Detecting C compiler ABI info [2023-07-12T01:08:56.872Z] -- Detecting C compiler ABI info - done [2023-07-12T01:08:57.140Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:08:57.140Z] -- Detecting C compile features [2023-07-12T01:08:57.140Z] -- Detecting C compile features - done [2023-07-12T01:08:57.140Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:08:57.140Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:08:57.140Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:08:57.140Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:08:57.140Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:08:57.407Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:08:57.407Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:08:57.407Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:08:57.407Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:08:57.407Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:08:57.407Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:08:57.675Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:08:57.675Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:08:57.943Z] -- Configuring done [2023-07-12T01:08:58.210Z] -- Generating done [2023-07-12T01:08:58.210Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-12T01:08:58.210Z] + + teemake debug.log [2023-07-12T01:08:58.210Z] [2023-07-12T01:08:58.210Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:08:58.792Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:08:59.371Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:08:59.636Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:09:00.218Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:09:00.484Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:09:01.440Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:09:02.021Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:09:02.021Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:09:02.602Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:09:03.556Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:09:03.820Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:09:04.400Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:09:04.981Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:09:05.248Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:09:05.830Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:09:06.103Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:09:07.060Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:09:07.326Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:09:07.592Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:09:08.550Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:09:09.957Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:09:10.224Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:09:10.807Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:09:11.071Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:09:11.338Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:09:11.921Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:09:13.864Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:09:14.130Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:09:14.713Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:09:14.979Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:09:15.936Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:09:16.520Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:09:16.786Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:09:17.052Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:09:17.318Z] [ 68%] Built target csdk [2023-07-12T01:09:17.318Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:09:17.901Z] [ 72%] Linking C executable template [2023-07-12T01:09:18.167Z] [ 72%] Built target template [2023-07-12T01:09:18.167Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:09:18.434Z] [ 76%] Linking C executable device-counter [2023-07-12T01:09:19.019Z] [ 76%] Built target device-counter [2023-07-12T01:09:19.019Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:09:19.288Z] [ 80%] Linking C executable device-random [2023-07-12T01:09:19.554Z] [ 80%] Built target device-random [2023-07-12T01:09:19.554Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:09:20.138Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:09:20.404Z] [ 84%] Built target device-gyro [2023-07-12T01:09:20.405Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:09:20.670Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:09:20.938Z] [ 88%] Built target device-bitfields [2023-07-12T01:09:20.938Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:09:21.522Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:09:21.789Z] [ 92%] Built target template-discovery [2023-07-12T01:09:21.789Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:09:22.372Z] [ 96%] Linking C executable device-file [2023-07-12T01:09:22.639Z] [ 96%] Built target device-file [2023-07-12T01:09:22.639Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:09:23.223Z] [100%] Linking C executable device-terminal [2023-07-12T01:09:23.490Z] [100%] Built target device-terminal [2023-07-12T01:09:23.490Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.490Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.490Z] [ 68%] Built target csdk [2023-07-12T01:09:23.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] [ 72%] Built target template [2023-07-12T01:09:23.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] [ 76%] Built target device-counter [2023-07-12T01:09:23.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] [ 80%] Built target device-random [2023-07-12T01:09:23.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] [ 84%] Built target device-gyro [2023-07-12T01:09:23.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] [ 88%] Built target device-bitfields [2023-07-12T01:09:23.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:23.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] [ 92%] Built target template-discovery [2023-07-12T01:09:24.025Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] [ 96%] Built target device-file [2023-07-12T01:09:24.025Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] [100%] Built target device-terminal [2023-07-12T01:09:24.025Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:24.025Z] Install the project... [2023-07-12T01:09:24.025Z] -- Install configuration: "Release" [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-12T01:09:24.025Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include/devsdk [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include/edgex [2023-07-12T01:09:24.025Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-12T01:09:24.026Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-12T01:09:24.026Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:09:25.439Z] Removing intermediate container e614e2a94247 [2023-07-12T01:09:25.439Z] ---> 4dff8b3e7063 [2023-07-12T01:09:25.439Z] Step 14/21 : FROM ${BASE} [2023-07-12T01:09:25.439Z] ---> 295cd00e64f4 [2023-07-12T01:09:25.439Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-12T01:09:25.439Z] ---> Running in d3c4e92bc75d [2023-07-12T01:09:25.713Z] Removing intermediate container d3c4e92bc75d [2023-07-12T01:09:25.713Z] ---> cc8d68de142c [2023-07-12T01:09:25.713Z] 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-12T01:09:25.713Z] ---> Running in 51c92bd140f2 [2023-07-12T01:09:26.677Z] Connecting to iotech.jfrog.io (52.31.127.113:443) [2023-07-12T01:09:27.260Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:09:27.260Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:09:27.260Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:09:27.845Z] Removing intermediate container 51c92bd140f2 [2023-07-12T01:09:27.845Z] ---> 1dd2780abafd [2023-07-12T01:09:27.845Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:09:27.845Z] ---> Running in 0b3ec7f029e6 [2023-07-12T01:09:29.794Z] Removing intermediate container 0b3ec7f029e6 [2023-07-12T01:09:29.794Z] ---> f63dad5485a2 [2023-07-12T01:09:29.794Z] 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-12T01:09:29.794Z] ---> Running in 20bbabe59eeb [2023-07-12T01:09:30.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:30.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:31.541Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:32.122Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:09:32.122Z] (1/7) Installing curl (8.1.2-r0) [2023-07-12T01:09:32.122Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-12T01:09:32.122Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:09:32.122Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-12T01:09:33.076Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-12T01:09:33.076Z] (6/7) Installing libuuid (2.38-r1) [2023-07-12T01:09:33.076Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:09:33.656Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:09:33.923Z] OK: 281 MiB in 83 packages [2023-07-12T01:09:35.859Z] Removing intermediate container 20bbabe59eeb [2023-07-12T01:09:35.859Z] ---> ca1929e21e03 [2023-07-12T01:09:35.859Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-12T01:09:36.124Z] ---> a3276e90cc0b [2023-07-12T01:09:36.124Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-12T01:09:36.390Z] ---> c13e3111c59c [2023-07-12T01:09:36.390Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-12T01:09:36.976Z] ---> 5c4d3feac8ab [2023-07-12T01:09:36.976Z] Successfully built 5c4d3feac8ab [2023-07-12T01:09:36.976Z] 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-12T01:09:37.673Z] + docker inspect -f . ci-base-image-arm64 [2023-07-12T01:09:37.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:09:37.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-920 does not seem to be running inside a container [2023-07-12T01:09:38.015Z] $ 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-12T01:09:39.181Z] $ docker top 6b3636d80cf097d40f2f424e76645c5472d2e3ffc9ad0882b24f9acc99e81d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:09:40.044Z] + make test [2023-07-12T01:09:40.044Z] echo "make test" [2023-07-12T01:09:40.044Z] make test [Pipeline] } [2023-07-12T01:09:40.082Z] $ docker stop --time=1 6b3636d80cf097d40f2f424e76645c5472d2e3ffc9ad0882b24f9acc99e81d10 [2023-07-12T01:09:41.643Z] $ docker rm -f --volumes 6b3636d80cf097d40f2f424e76645c5472d2e3ffc9ad0882b24f9acc99e81d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T01:09:42.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T01:09:42.845Z] + ls -al . [2023-07-12T01:09:42.845Z] total 208 [2023-07-12T01:09:42.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:07 . [2023-07-12T01:09:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:06 .. [2023-07-12T01:09:42.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:07 .git [2023-07-12T01:09:42.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 .github [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:07 .gitignore [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:07 Attribution.txt [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:07 CHANGES [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:07 Doxyfile [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:07 GOVERNANCE.md [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:07 Jenkinsfile [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:07 LICENSE [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:07 Makefile [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:07 OWNERS.md [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:07 README.IOT.md [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:07 README.md [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:07 README.v3.md [2023-07-12T01:09:42.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:03 VERSION [2023-07-12T01:09:42.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 docs [2023-07-12T01:09:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:07 include [2023-07-12T01:09:42.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 scripts [2023-07-12T01:09:42.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:09:43.308Z] + 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=2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 --label arch=arm64 --label version=0.0.0 . [2023-07-12T01:09:43.582Z] Sending build context to Docker daemon 2.889MB [2023-07-12T01:09:43.582Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-12T01:09:43.582Z] Step 2/17 : FROM ${BASE} [2023-07-12T01:09:43.582Z] ---> 5c4d3feac8ab [2023-07-12T01:09:43.582Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-12T01:09:43.854Z] ---> Running in ed414a6982bc [2023-07-12T01:09:44.123Z] Removing intermediate container ed414a6982bc [2023-07-12T01:09:44.123Z] ---> 9afb33c37a8f [2023-07-12T01:09:44.123Z] 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-12T01:09:44.123Z] ---> Running in 1643e22dc6ae [2023-07-12T01:09:45.115Z] Connecting to iotech.jfrog.io (52.17.239.128:443) [2023-07-12T01:09:45.385Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:09:45.385Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:09:45.385Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:09:46.377Z] Removing intermediate container 1643e22dc6ae [2023-07-12T01:09:46.378Z] ---> 1e34e8840479 [2023-07-12T01:09:46.378Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:09:46.378Z] ---> Running in 7fc170db531a [2023-07-12T01:09:47.817Z] Removing intermediate container 7fc170db531a [2023-07-12T01:09:47.817Z] ---> 1226dbea8603 [2023-07-12T01:09:47.817Z] 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-12T01:09:47.817Z] ---> Running in 12eb1629252b [2023-07-12T01:09:48.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:49.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:49.641Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:09:50.595Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:09:50.595Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:09:50.595Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:09:50.595Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:09:51.178Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:09:51.178Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:09:51.178Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:09:51.445Z] (7/11) Installing libblkid (2.38-r1) [2023-07-12T01:09:51.445Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-12T01:09:51.445Z] (9/11) Installing libmount (2.38-r1) [2023-07-12T01:09:51.445Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-12T01:09:51.445Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-12T01:09:51.445Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:09:51.445Z] OK: 287 MiB in 92 packages [2023-07-12T01:09:52.850Z] Removing intermediate container 12eb1629252b [2023-07-12T01:09:52.850Z] ---> 431c3402945d [2023-07-12T01:09:52.850Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-12T01:09:53.116Z] ---> d514a190ae67 [2023-07-12T01:09:53.116Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-12T01:09:53.696Z] ---> 57972f4d8abd [2023-07-12T01:09:53.696Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-12T01:09:54.279Z] ---> 8379fc1eac66 [2023-07-12T01:09:54.279Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-12T01:09:54.544Z] ---> fefd314b8ba9 [2023-07-12T01:09:54.544Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-12T01:09:55.137Z] ---> 9880df8a0d4f [2023-07-12T01:09:55.137Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-12T01:09:55.719Z] ---> e341356f6c1a [2023-07-12T01:09:55.719Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-12T01:09:55.719Z] ---> Running in 6a847a43216e [2023-07-12T01:09:55.985Z] Removing intermediate container 6a847a43216e [2023-07-12T01:09:55.985Z] ---> f404036b459b [2023-07-12T01:09:55.985Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-12T01:09:55.985Z] ---> Running in 6930c2030c4d [2023-07-12T01:09:56.252Z] Removing intermediate container 6930c2030c4d [2023-07-12T01:09:56.252Z] ---> 948e8a7c66b1 [2023-07-12T01:09:56.252Z] Step 15/17 : LABEL arch=arm64 [2023-07-12T01:09:56.252Z] ---> Running in 942d90ab6955 [2023-07-12T01:09:56.517Z] Removing intermediate container 942d90ab6955 [2023-07-12T01:09:56.517Z] ---> d278b9d3c2dc [2023-07-12T01:09:56.517Z] Step 16/17 : LABEL git_sha=2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 [2023-07-12T01:09:56.517Z] ---> Running in 705511386e2b [2023-07-12T01:09:56.782Z] Removing intermediate container 705511386e2b [2023-07-12T01:09:56.782Z] ---> 43229f17401f [2023-07-12T01:09:56.782Z] Step 17/17 : LABEL version=0.0.0 [2023-07-12T01:09:56.782Z] ---> Running in 11adb229478e [2023-07-12T01:09:57.049Z] Removing intermediate container 11adb229478e [2023-07-12T01:09:57.049Z] ---> df5684bc43a2 [2023-07-12T01:09:57.049Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-12T01:09:57.317Z] Successfully built df5684bc43a2 [2023-07-12T01:09:57.317Z] 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-12T01:09:58.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:09:58.128Z] [2023-07-12T01:09:58.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:09:58.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:09:58.531Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-12T01:09:58.531Z] 8998bd30e6a1: Pulling fs layer [2023-07-12T01:09:58.531Z] 04944245beec: Pulling fs layer [2023-07-12T01:09:58.531Z] 699f458cf7ca: Pulling fs layer [2023-07-12T01:09:58.531Z] 765212b225bb: Pulling fs layer [2023-07-12T01:09:58.531Z] f23df028b6ca: Pulling fs layer [2023-07-12T01:09:58.531Z] d65c8cfc05b1: Pulling fs layer [2023-07-12T01:09:58.531Z] 2437ff75d9bd: Pulling fs layer [2023-07-12T01:09:58.531Z] d65c8cfc05b1: Waiting [2023-07-12T01:09:58.531Z] 765212b225bb: Waiting [2023-07-12T01:09:58.531Z] f23df028b6ca: Waiting [2023-07-12T01:09:58.531Z] 2437ff75d9bd: Waiting [2023-07-12T01:09:58.797Z] 04944245beec: Verifying Checksum [2023-07-12T01:09:58.797Z] 04944245beec: Download complete [2023-07-12T01:09:58.797Z] 765212b225bb: Verifying Checksum [2023-07-12T01:09:58.797Z] 765212b225bb: Download complete [2023-07-12T01:09:58.797Z] f23df028b6ca: Verifying Checksum [2023-07-12T01:09:58.797Z] f23df028b6ca: Download complete [2023-07-12T01:09:58.797Z] d65c8cfc05b1: Verifying Checksum [2023-07-12T01:09:58.797Z] d65c8cfc05b1: Download complete [2023-07-12T01:09:58.797Z] 699f458cf7ca: Verifying Checksum [2023-07-12T01:09:58.797Z] 699f458cf7ca: Download complete [2023-07-12T01:09:59.379Z] 8998bd30e6a1: Download complete [2023-07-12T01:10:01.324Z] 2437ff75d9bd: Verifying Checksum [2023-07-12T01:10:01.324Z] 2437ff75d9bd: Download complete [2023-07-12T01:10:03.272Z] 8998bd30e6a1: Pull complete [2023-07-12T01:10:03.543Z] 04944245beec: Pull complete [2023-07-12T01:10:04.944Z] 699f458cf7ca: Pull complete [2023-07-12T01:10:04.944Z] 765212b225bb: Pull complete [2023-07-12T01:10:05.903Z] f23df028b6ca: Pull complete [2023-07-12T01:10:05.903Z] d65c8cfc05b1: Pull complete [2023-07-12T01:10:20.904Z] 2437ff75d9bd: Pull complete [2023-07-12T01:10:20.904Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-12T01:10:20.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:10:20.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:10:21.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-920 does not seem to be running inside a container [2023-07-12T01:10:21.302Z] $ 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-12T01:10:24.031Z] $ docker top 53e2bf17d8d9be292cb117075d04d41876c1c6346b92c1aac54598c1fc56f1e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:24.924Z] ---> job-cost.sh [2023-07-12T01:10:24.924Z] lf-activate-venv: SKIPPING [2023-07-12T01:10:24.924Z] INFO: No Stack... [2023-07-12T01:10:25.503Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-12T01:10:26.086Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T01:10:26.741Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-07-12T01:10:26.741Z] + cut -d, -f6 [Pipeline] lock [2023-07-12T01:10:26.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [2023-07-12T01:10:26.828Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] did not exist. Created. [2023-07-12T01:10:26.828Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T01:10:27.244Z] /w/workspace/device-sdk-c/1@tmp/durable-60eca4c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-12T01:10:27.908Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-12T01:10:27.942Z] Warning: overwriting stash ‘stack-cost’ [2023-07-12T01:10:28.394Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T01:10:28.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T01:10:28.488Z] $ docker stop --time=1 53e2bf17d8d9be292cb117075d04d41876c1c6346b92c1aac54598c1fc56f1e7 [2023-07-12T01:10:30.033Z] $ docker rm -f --volumes 53e2bf17d8d9be292cb117075d04d41876c1c6346b92c1aac54598c1fc56f1e7 [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-12T01:10:31.704Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives ] [2023-07-12T01:10:31.704Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-12T01:10:31.704Z] total 16 [2023-07-12T01:10:31.704Z] drwxr-xr-x 3 root root 4096 Jul 12 01:04 . [2023-07-12T01:10:31.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:04 .. [2023-07-12T01:10:31.704Z] drwxr-xr-x 2 root root 4096 Jul 12 01:04 cost [2023-07-12T01:10:31.704Z] -rw-r--r-- 1 root root 84 Jul 12 01:04 cost.csv [2023-07-12T01:10:31.704Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-12T01:10:31.704Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-12T01:10:31.704Z] total 16 [2023-07-12T01:10:31.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:04 . [2023-07-12T01:10:31.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:04 .. [2023-07-12T01:10:31.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:04 cost [2023-07-12T01:10:31.704Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:32.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:32.920Z] ---> package-listing.sh [2023-07-12T01:10:32.920Z] ++ facter osfamily [2023-07-12T01:10:32.920Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-12T01:10:33.182Z] + OS_FAMILY=debian [2023-07-12T01:10:33.182Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-469 [2023-07-12T01:10:33.182Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-12T01:10:33.182Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-12T01:10:33.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-12T01:10:33.182Z] + PACKAGES=/tmp/packages_start.txt [2023-07-12T01:10:33.182Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-469 ']' [2023-07-12T01:10:33.182Z] + PACKAGES=/tmp/packages_end.txt [2023-07-12T01:10:33.182Z] + case "${OS_FAMILY}" in [2023-07-12T01:10:33.182Z] + dpkg -l [2023-07-12T01:10:33.182Z] + grep '^ii' [2023-07-12T01:10:33.182Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-12T01:10:33.182Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-12T01:10:33.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-12T01:10:33.182Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-469 ']' [2023-07-12T01:10:33.182Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives/ [2023-07-12T01:10:33.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives/ [Pipeline] echo [2023-07-12T01:10:33.216Z] 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-469/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-12T01:10:33.512Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:10:33.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:10:33.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:10:34.033Z] prd-ubuntu20.04-docker-8c-8g-917 does not seem to be running inside a container [2023-07-12T01:10:34.062Z] $ 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-469/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-469 -v /w/workspace/edgexfoundry_device-sdk-c_PR-469:/w/workspace/edgexfoundry_device-sdk-c_PR-469:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-469@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-12T01:10:34.263Z] $ docker top fe37b48e4cf3fc93882ad8d50ce5c7b84a2d81cdbe0b9b0e20461b3a0e283bad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:10:34.656Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-12T01:10:34.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-12T01:10:35.267Z] + ls /var/log/sa-host [2023-07-12T01:10:35.267Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T01:10:35.420Z] provisioning config files... [2023-07-12T01:10:35.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config4984921146523852483tmp [Pipeline] { [Pipeline] echo [2023-07-12T01:10:35.475Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:35.784Z] ---> create-netrc.sh [Pipeline] } [2023-07-12T01:10:35.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:36.215Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-12T01:10:36.245Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:36.556Z] ---> sudo-logs.sh [2023-07-12T01:10:36.556Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-12T01:10:36.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:36.966Z] ---> job-cost.sh [2023-07-12T01:10:36.967Z] lf-activate-venv: SKIPPING [2023-07-12T01:10:36.967Z] DEBUG: total: 0.2199999988079071 [2023-07-12T01:10:36.967Z] INFO: Retrieving Stack Cost... [2023-07-12T01:10:37.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T01:10:37.789Z] INFO: Archiving Costs [Pipeline] echo [2023-07-12T01:10:37.822Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:10:38.132Z] ---> logs-deploy.sh [2023-07-12T01:10:38.132Z] lf-activate-venv: SKIPPING [2023-07-12T01:10:38.132Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-469/1 [2023-07-12T01:10:38.132Z] INFO: archiving workspace using pattern(s): [2023-07-12T01:10:39.067Z] Archives upload complete. [2023-07-12T01:10:39.068Z] INFO: archiving logs to Nexus