Pull request #469 updated 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 ba5e0764dcf3c1a727d0662f352e94cf5bde288b+e7fd64e96379a16422cca1ca57683b7b4003cc62 (f7d1c0d7361fa67799a310e0663660aca7ca75c4) 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-ssh2953436661362746411.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-ssh12967734137494670862.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17135271606585752872.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 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-ssh8844507052125223958.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-469/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-469/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1633990387315869629.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1037 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 ba5e0764dcf3c1a727d0662f352e94cf5bde288b Merge succeeded, producing ba5e0764dcf3c1a727d0662f352e94cf5bde288b Checking out Revision ba5e0764dcf3c1a727d0662f352e94cf5bde288b (PR-469) > git config core.sparsecheckout # timeout=10 > git checkout -f ba5e0764dcf3c1a727d0662f352e94cf5bde288b # 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 ba5e0764dcf3c1a727d0662f352e94cf5bde288b # timeout=10 Commit message: "fix: invalid pointer operation in edgex_bus_mqtt_msgarrvd" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T05:54:32.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T05:54:32.476Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T05:54:32.489Z] ========================================================= [2023-07-13T05:54:32.489Z] EdgeX Global Pipelines Version Info [2023-07-13T05:54:32.489Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2a15f482aa0858e8951aa6b6e9dd4a32cb3b4c56 # timeout=10 [2023-07-13T05:54:33.210Z] ------------------- [2023-07-13T05:54:33.210Z] stable info: [2023-07-13T05:54:33.210Z] ------------------- [2023-07-13T05:54:33.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T05:54:33.210Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T05:54:33.210Z] Message: update stable to v1.0.250 [2023-07-13T05:54:33.780Z] ------------------- [2023-07-13T05:54:33.780Z] experimental info: [2023-07-13T05:54:33.780Z] ------------------- [2023-07-13T05:54:33.780Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T05:54:33.780Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T05:54:33.780Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T05:54:33.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-13T05:54:33.968Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-13T05:54:33.978Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T05:54:33.987Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T05:54:33.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T05:54:34.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-13T05:54:34.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-13T05:54:34.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T05:54:34.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T05:54:34.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-13T05:54:34.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T05:54:34.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T05:54:34.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T05:54:34.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T05:54:34.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T05:54:34.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T05:54:34.152Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T05:54:34.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-469 [Pipeline] echo [2023-07-13T05:54:34.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-469 [Pipeline] echo [2023-07-13T05:54:34.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-469 [Pipeline] echo [2023-07-13T05:54:34.205Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba5e0764dcf3c1a727d0662f352e94cf5bde288b [Pipeline] echo [2023-07-13T05:54:34.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba5e076 [Pipeline] echo [2023-07-13T05:54:34.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T05:54:34.283Z] provisioning config files... [2023-07-13T05:54:34.298Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config734665787712128512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T05:54:34.604Z] ---> docker-login.sh [2023-07-13T05:54:34.605Z] nexus3.edgexfoundry.org:10001 [2023-07-13T05:54:34.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:35.123Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:35.123Z] [2023-07-13T05:54:35.123Z] Login Succeeded [2023-07-13T05:54:35.123Z] nexus3.edgexfoundry.org:10002 [2023-07-13T05:54:35.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:35.123Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:35.123Z] [2023-07-13T05:54:35.123Z] Login Succeeded [2023-07-13T05:54:35.123Z] nexus3.edgexfoundry.org:10003 [2023-07-13T05:54:35.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:35.384Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:35.384Z] [2023-07-13T05:54:35.384Z] Login Succeeded [2023-07-13T05:54:35.384Z] nexus3.edgexfoundry.org:10004 [2023-07-13T05:54:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:35.384Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:35.384Z] [2023-07-13T05:54:35.384Z] Login Succeeded [2023-07-13T05:54:35.384Z] docker.io [2023-07-13T05:54:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:35.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:35.644Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:35.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:35.644Z] [2023-07-13T05:54:35.644Z] Login Succeeded [2023-07-13T05:54:35.644Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T05:54:35.653Z] 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-13T05:54:36.041Z] + git rev-list -1 --merges ba5e0764dcf3c1a727d0662f352e94cf5bde288b~1..ba5e0764dcf3c1a727d0662f352e94cf5bde288b [Pipeline] echo [2023-07-13T05:54:36.097Z] -----------> git rev-list -1 --merges ba5e0764dcf3c1a727d0662f352e94cf5bde288b~1..ba5e0764dcf3c1a727d0662f352e94cf5bde288b ba5e0764dcf3c1a727d0662f352e94cf5bde288b [false] [Pipeline] sh [2023-07-13T05:54:36.385Z] + git log --format=format:%s -1 ba5e0764dcf3c1a727d0662f352e94cf5bde288b [Pipeline] echo [2023-07-13T05:54:36.404Z] ========================================================= [2023-07-13T05:54:36.404Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T05:54:36.404Z] ========================================================= 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-13T05:54:36.797Z] + git rev-list -1 --merges ba5e0764dcf3c1a727d0662f352e94cf5bde288b~1..ba5e0764dcf3c1a727d0662f352e94cf5bde288b [Pipeline] echo [2023-07-13T05:54:36.808Z] -----------> git rev-list -1 --merges ba5e0764dcf3c1a727d0662f352e94cf5bde288b~1..ba5e0764dcf3c1a727d0662f352e94cf5bde288b ba5e0764dcf3c1a727d0662f352e94cf5bde288b [false] [Pipeline] sh [2023-07-13T05:54:37.095Z] + git log --format=format:%s -1 ba5e0764dcf3c1a727d0662f352e94cf5bde288b [Pipeline] echo [2023-07-13T05:54:37.108Z] ========================================================= [2023-07-13T05:54:37.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T05:54:37.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-13T05:54:37.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T05:54:37.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T05:54:37.569Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T05:54:37.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T05:54:37.569Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T05:54:37.569Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T05:54:37.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:54:38.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T05:54:38.030Z] [2023-07-13T05:54:38.030Z] 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-13T05:54:38.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T05:54:38.332Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T05:54:38.332Z] b85a868b505f: Pulling fs layer [2023-07-13T05:54:38.332Z] e2be974225ed: Pulling fs layer [2023-07-13T05:54:38.332Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T05:54:38.332Z] 988bab9f4d93: Pulling fs layer [2023-07-13T05:54:38.332Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T05:54:38.332Z] eaf3925da568: Pulling fs layer [2023-07-13T05:54:38.332Z] bab4dde63d76: Pulling fs layer [2023-07-13T05:54:38.332Z] bde34c3a00c8: Pulling fs layer [2023-07-13T05:54:38.332Z] b352a97aabf1: Pulling fs layer [2023-07-13T05:54:38.332Z] 4872d77fe225: Pulling fs layer [2023-07-13T05:54:38.332Z] 5851b861e8e6: Pulling fs layer [2023-07-13T05:54:38.332Z] 988bab9f4d93: Waiting [2023-07-13T05:54:38.332Z] 1469e6f7b9e6: Waiting [2023-07-13T05:54:38.332Z] eaf3925da568: Waiting [2023-07-13T05:54:38.332Z] bab4dde63d76: Waiting [2023-07-13T05:54:38.332Z] bde34c3a00c8: Waiting [2023-07-13T05:54:38.332Z] b352a97aabf1: Waiting [2023-07-13T05:54:38.332Z] 4872d77fe225: Waiting [2023-07-13T05:54:38.332Z] 5851b861e8e6: Waiting [2023-07-13T05:54:38.594Z] e2be974225ed: Verifying Checksum [2023-07-13T05:54:38.594Z] e2be974225ed: Download complete [2023-07-13T05:54:38.594Z] 988bab9f4d93: Verifying Checksum [2023-07-13T05:54:38.594Z] 988bab9f4d93: Download complete [2023-07-13T05:54:38.594Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T05:54:38.594Z] 1469e6f7b9e6: Download complete [2023-07-13T05:54:38.594Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T05:54:38.594Z] 339a4e72a1f5: Download complete [2023-07-13T05:54:38.594Z] eaf3925da568: Verifying Checksum [2023-07-13T05:54:38.594Z] eaf3925da568: Download complete [2023-07-13T05:54:38.594Z] bde34c3a00c8: Download complete [2023-07-13T05:54:38.594Z] b352a97aabf1: Verifying Checksum [2023-07-13T05:54:38.594Z] b352a97aabf1: Download complete [2023-07-13T05:54:38.594Z] 4872d77fe225: Download complete [2023-07-13T05:54:38.594Z] 5851b861e8e6: Verifying Checksum [2023-07-13T05:54:38.594Z] 5851b861e8e6: Download complete [2023-07-13T05:54:38.854Z] b85a868b505f: Verifying Checksum [2023-07-13T05:54:38.854Z] b85a868b505f: Download complete [2023-07-13T05:54:39.114Z] bab4dde63d76: Verifying Checksum [2023-07-13T05:54:39.114Z] bab4dde63d76: Download complete [2023-07-13T05:54:39.711Z] b85a868b505f: Pull complete [2023-07-13T05:54:39.972Z] e2be974225ed: Pull complete [2023-07-13T05:54:40.541Z] 339a4e72a1f5: Pull complete [2023-07-13T05:54:40.541Z] 988bab9f4d93: Pull complete [2023-07-13T05:54:40.801Z] 1469e6f7b9e6: Pull complete [2023-07-13T05:54:40.801Z] eaf3925da568: Pull complete [2023-07-13T05:54:42.706Z] bab4dde63d76: Pull complete [2023-07-13T05:54:42.706Z] bde34c3a00c8: Pull complete [2023-07-13T05:54:42.706Z] b352a97aabf1: Pull complete [2023-07-13T05:54:42.706Z] 4872d77fe225: Pull complete [2023-07-13T05:54:42.706Z] 5851b861e8e6: Pull complete [2023-07-13T05:54:42.706Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T05:54:42.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T05:54:42.706Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T05:54:42.790Z] prd-ubuntu20.04-docker-8c-8g-1037 does not seem to be running inside a container [2023-07-13T05:54:42.813Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T05:54:45.440Z] $ docker top b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 -eo pid,comm [2023-07-13T05:54:45.514Z] 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-13T05:54:45.514Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T05:54:45.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T05:54:45.544Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T05:54:45.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T05:54:45.656Z] $ docker exec b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 ssh-agent [2023-07-13T05:54:45.771Z] SSH_AUTH_SOCK=/tmp/ssh-p7i6oGPEAucS/agent.32 [2023-07-13T05:54:45.771Z] SSH_AGENT_PID=38 [2023-07-13T05:54:45.779Z] Running ssh-add (command line suppressed) [2023-07-13T05:54:45.870Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_11840270696625540418.key (/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_11840270696625540418.key) [2023-07-13T05:54:45.893Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T05:54:46.243Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T05:54:46.247Z] $ docker exec --env ******** --env ******** b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 ssh-agent -k [2023-07-13T05:54:46.342Z] unset SSH_AUTH_SOCK; [2023-07-13T05:54:46.342Z] unset SSH_AGENT_PID; [2023-07-13T05:54:46.342Z] echo Agent pid 38 killed; [2023-07-13T05:54:46.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T05:54:46.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T05:54:46.378Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T05:54:46.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T05:54:46.482Z] $ docker exec b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 ssh-agent [2023-07-13T05:54:46.603Z] SSH_AUTH_SOCK=/tmp/ssh-GWbcxoeeLyZL/agent.71 [2023-07-13T05:54:46.603Z] SSH_AGENT_PID=77 [2023-07-13T05:54:46.609Z] Running ssh-add (command line suppressed) [2023-07-13T05:54:46.696Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_3171323660774968029.key (/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/private_key_3171323660774968029.key) [2023-07-13T05:54:46.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T05:54:47.005Z] + git semver init [2023-07-13T05:54:47.265Z] 2023-07-13 05:54:47,169 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T05:54:47.265Z] 2023-07-13 05:54:47,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver [2023-07-13T05:54:47.265Z] 2023-07-13 05:54:47,170 [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-13T05:54:47.265Z] 2023-07-13 05:54:47,170 [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-13T05:54:48.203Z] 2023-07-13 05:54:48,015 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.git/info/exclude [2023-07-13T05:54:48.203Z] 2023-07-13 05:54:48,016 [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-13T05:54:48.203Z] 2023-07-13 05:54:48,016 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver/PR-469 [2023-07-13T05:54:48.203Z] 2023-07-13 05:54:48,020 [execute] INFO git cat-file --batch-check [2023-07-13T05:54:48.203Z] 2023-07-13 05:54:48,021 [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-13T05:54:48.203Z] 2023-07-13 05:54:48,027 [execute] INFO git cat-file --batch [2023-07-13T05:54:48.203Z] 2023-07-13 05:54:48,027 [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-13T05:54:48.203Z] 2023-07-13 05:54:48,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-469/.semver/PR-469 [2023-07-13T05:54:48.203Z] 0.0.0 [Pipeline] } [2023-07-13T05:54:48.207Z] $ docker exec --env ******** --env ******** b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 ssh-agent -k [2023-07-13T05:54:48.308Z] unset SSH_AUTH_SOCK; [2023-07-13T05:54:48.309Z] unset SSH_AGENT_PID; [2023-07-13T05:54:48.309Z] echo Agent pid 77 killed; [2023-07-13T05:54:48.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T05:54:48.621Z] + git semver [Pipeline] } [2023-07-13T05:54:48.888Z] $ docker stop --time=1 b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 [2023-07-13T05:54:50.213Z] $ docker rm -f --volumes b42795fdc5250660e352f35c921ac13106dca4bddf48cbc712d5af20ca9f7d63 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T05:54:50.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T05:54:50.750Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T05:54:50.753Z] [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-13T05:54:50.841Z] provisioning config files... [2023-07-13T05:54:50.850Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config4964301191728563300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T05:54:51.140Z] ---> docker-login.sh [2023-07-13T05:54:51.140Z] nexus3.edgexfoundry.org:10001 [2023-07-13T05:54:51.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:51.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:51.140Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:51.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:51.140Z] [2023-07-13T05:54:51.140Z] Login Succeeded [2023-07-13T05:54:51.140Z] nexus3.edgexfoundry.org:10002 [2023-07-13T05:54:51.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:51.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:51.140Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:51.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:51.140Z] [2023-07-13T05:54:51.140Z] Login Succeeded [2023-07-13T05:54:51.140Z] nexus3.edgexfoundry.org:10003 [2023-07-13T05:54:51.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:51.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:51.401Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:51.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:51.401Z] [2023-07-13T05:54:51.401Z] Login Succeeded [2023-07-13T05:54:51.401Z] nexus3.edgexfoundry.org:10004 [2023-07-13T05:54:51.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:51.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:51.401Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:51.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:51.401Z] [2023-07-13T05:54:51.401Z] Login Succeeded [2023-07-13T05:54:51.401Z] docker.io [2023-07-13T05:54:51.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:54:51.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:54:51.660Z] Configure a credential helper to remove this warning. See [2023-07-13T05:54:51.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:54:51.660Z] [2023-07-13T05:54:51.660Z] Login Succeeded [2023-07-13T05:54:51.660Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T05:54:51.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T05:54:51.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T05:54:51.733Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-13T05:54:51.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T05:54:51.746Z] ========================================================= [2023-07-13T05:54:51.746Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-13T05:54:51.746Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:54:52.046Z] + 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-13T05:54:52.046Z] Sending build context to Docker daemon 4.824MB [2023-07-13T05:54:52.046Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-13T05:54:52.046Z] Step 2/21 : FROM ${BASE} as builder [2023-07-13T05:54:52.046Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-13T05:54:52.046Z] 91d30c5bc195: Pulling fs layer [2023-07-13T05:54:52.046Z] 316e5a4585fb: Pulling fs layer [2023-07-13T05:54:52.305Z] 91d30c5bc195: Verifying Checksum [2023-07-13T05:54:52.305Z] 91d30c5bc195: Download complete [2023-07-13T05:54:52.305Z] 91d30c5bc195: Pull complete [2023-07-13T05:54:52.874Z] 316e5a4585fb: Download complete [2023-07-13T05:54:55.401Z] 316e5a4585fb: Pull complete [2023-07-13T05:54:55.401Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-13T05:54:55.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-13T05:54:55.401Z] ---> e83ffa357ff4 [2023-07-13T05:54:55.401Z] 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-13T05:54:57.304Z] ---> Running in e388ff33a53e [2023-07-13T05:54:57.563Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T05:54:57.822Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:54:57.822Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:54:57.822Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:54:58.081Z] Removing intermediate container e388ff33a53e [2023-07-13T05:54:58.081Z] ---> 2a75c2c0ba71 [2023-07-13T05:54:58.081Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:54:58.081Z] ---> Running in 1d163922033e [2023-07-13T05:54:58.649Z] Removing intermediate container 1d163922033e [2023-07-13T05:54:58.649Z] ---> 10a03d504092 [2023-07-13T05:54:58.649Z] 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-13T05:54:58.907Z] ---> Running in 12d085a5e80e [2023-07-13T05:54:59.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:54:59.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T05:54:59.424Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:54:59.990Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:54:59.990Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:54:59.990Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:54:59.990Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-13T05:54:59.990Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-13T05:54:59.990Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T05:55:00.926Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T05:55:00.926Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-13T05:55:00.926Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-13T05:55:00.926Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T05:55:00.926Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T05:55:01.858Z] (11/16) Installing libblkid (2.38-r1) [2023-07-13T05:55:01.858Z] (12/16) Installing libuuid (2.38-r1) [2023-07-13T05:55:01.858Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-13T05:55:01.858Z] (14/16) Installing libmount (2.38-r1) [2023-07-13T05:55:01.858Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-13T05:55:01.858Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-13T05:55:01.858Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:55:01.858Z] OK: 280 MiB in 90 packages [2023-07-13T05:55:02.427Z] Removing intermediate container 12d085a5e80e [2023-07-13T05:55:02.427Z] ---> b007cac87f03 [2023-07-13T05:55:02.427Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-13T05:55:02.427Z] ---> Running in f7a95e5b51ae [2023-07-13T05:55:02.993Z] Removing intermediate container f7a95e5b51ae [2023-07-13T05:55:02.993Z] ---> 8e3116b10af1 [2023-07-13T05:55:02.993Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-13T05:55:03.252Z] ---> 5897e3665b96 [2023-07-13T05:55:03.252Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-13T05:55:03.252Z] ---> ede3184e5384 [2023-07-13T05:55:03.252Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-13T05:55:03.511Z] ---> c6c6ec9a71ca [2023-07-13T05:55:03.511Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-13T05:55:03.770Z] ---> 28d5c958095f [2023-07-13T05:55:03.770Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-13T05:55:03.770Z] ---> 2bd2ad152af0 [2023-07-13T05:55:03.770Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-13T05:55:04.029Z] ---> 580d7b4585a8 [2023-07-13T05:55:04.029Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-13T05:55:04.029Z] ---> Running in ec95fe0201ea [2023-07-13T05:55:04.287Z] + CPPCHECK=false [2023-07-13T05:55:04.287Z] + DOCGEN=false [2023-07-13T05:55:04.287Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-13T05:55:04.287Z] + '[' 0 -gt 0 ] [2023-07-13T05:55:04.287Z] + readlink -f ./scripts/build.sh [2023-07-13T05:55:04.287Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-13T05:55:04.287Z] + dirname /tmp/sdk/scripts [2023-07-13T05:55:04.287Z] + ROOT=/tmp/sdk [2023-07-13T05:55:04.287Z] + cd /tmp/sdk [2023-07-13T05:55:04.287Z] + mkdir -p /tmp/sdk/build/release [2023-07-13T05:55:04.287Z] + cd /tmp/sdk/build/release [2023-07-13T05:55:04.287Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-13T05:55:04.287Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T05:55:04.287Z] -- Detecting C compiler ABI info [2023-07-13T05:55:04.287Z] -- Detecting C compiler ABI info - done [2023-07-13T05:55:04.287Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T05:55:04.287Z] -- Detecting C compile features [2023-07-13T05:55:04.287Z] -- Detecting C compile features - done [2023-07-13T05:55:04.287Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T05:55:04.287Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T05:55:04.287Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T05:55:04.546Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T05:55:04.546Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T05:55:04.546Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T05:55:04.546Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T05:55:04.546Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T05:55:04.546Z] -- /opt/iotech/iot/1.5/include [2023-07-13T05:55:04.546Z] -- C SDK 0.0.0 for Linux [2023-07-13T05:55:04.546Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T05:55:04.546Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T05:55:04.546Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T05:55:04.546Z] -- Configuring done [2023-07-13T05:55:04.546Z] -- Generating done [2023-07-13T05:55:04.546Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-13T05:55:04.546Z] + make all package [2023-07-13T05:55:04.546Z] + tee release.log [2023-07-13T05:55:04.546Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T05:55:04.804Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T05:55:05.063Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T05:55:05.063Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T05:55:05.322Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T05:55:05.322Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T05:55:05.581Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T05:55:05.813Z] Still waiting to schedule task [2023-07-13T05:55:05.813Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T05:55:05.840Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T05:55:05.840Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T05:55:06.100Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T05:55:06.358Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T05:55:06.358Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T05:55:06.618Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T05:55:06.877Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T05:55:06.877Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T05:55:07.137Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T05:55:07.137Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T05:55:07.396Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T05:55:07.655Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T05:55:07.655Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T05:55:07.915Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T05:55:08.851Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T05:55:08.852Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T05:55:08.852Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T05:55:09.111Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T05:55:09.111Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T05:55:09.370Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T05:55:09.629Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T05:55:09.888Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T05:55:09.888Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T05:55:10.146Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T05:55:10.404Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T05:55:10.663Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T05:55:10.663Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T05:55:10.922Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T05:55:10.922Z] [ 68%] Built target csdk [2023-07-13T05:55:10.922Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T05:55:10.922Z] [ 72%] Linking C executable template [2023-07-13T05:55:11.180Z] [ 72%] Built target template [2023-07-13T05:55:11.180Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T05:55:11.180Z] [ 76%] Linking C executable device-counter [2023-07-13T05:55:11.180Z] [ 76%] Built target device-counter [2023-07-13T05:55:11.180Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T05:55:11.439Z] [ 80%] Linking C executable device-random [2023-07-13T05:55:11.439Z] [ 80%] Built target device-random [2023-07-13T05:55:11.439Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T05:55:11.698Z] [ 84%] Linking C executable device-gyro [2023-07-13T05:55:11.698Z] [ 84%] Built target device-gyro [2023-07-13T05:55:11.698Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T05:55:11.698Z] [ 88%] Linking C executable device-bitfields [2023-07-13T05:55:11.698Z] [ 88%] Built target device-bitfields [2023-07-13T05:55:11.957Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T05:55:11.957Z] [ 92%] Linking C executable template-discovery [2023-07-13T05:55:11.957Z] [ 92%] Built target template-discovery [2023-07-13T05:55:11.957Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T05:55:12.216Z] [ 96%] Linking C executable device-file [2023-07-13T05:55:12.216Z] [ 96%] Built target device-file [2023-07-13T05:55:12.216Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T05:55:12.474Z] [100%] Linking C executable device-terminal [2023-07-13T05:55:12.474Z] [100%] Built target device-terminal [2023-07-13T05:55:12.474Z] Run CPack packaging tool... [2023-07-13T05:55:12.474Z] CPack: Create package using TGZ [2023-07-13T05:55:12.474Z] CPack: Install projects [2023-07-13T05:55:12.474Z] CPack: - Run preinstall target for: Csdk [2023-07-13T05:55:12.732Z] CPack: - Install project: Csdk [] [2023-07-13T05:55:12.732Z] CPack: Create package [2023-07-13T05:55:12.732Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-13T05:55:12.732Z] + '[' false '=' true ] [2023-07-13T05:55:12.732Z] + '[' false '=' true ] [2023-07-13T05:55:12.732Z] + mkdir -p /tmp/sdk/build/debug [2023-07-13T05:55:12.732Z] + cd /tmp/sdk/build/debug [2023-07-13T05:55:12.732Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-13T05:55:12.732Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T05:55:12.732Z] -- Detecting C compiler ABI info [2023-07-13T05:55:12.991Z] -- Detecting C compiler ABI info - done [2023-07-13T05:55:12.991Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T05:55:12.991Z] -- Detecting C compile features [2023-07-13T05:55:12.991Z] -- Detecting C compile features - done [2023-07-13T05:55:12.991Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T05:55:12.991Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T05:55:12.991Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T05:55:12.991Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T05:55:12.991Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T05:55:12.991Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T05:55:12.991Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T05:55:12.991Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T05:55:12.991Z] -- /opt/iotech/iot/1.5/include [2023-07-13T05:55:12.991Z] -- C SDK 0.0.0 for Linux [2023-07-13T05:55:12.991Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T05:55:12.991Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T05:55:12.991Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T05:55:12.991Z] -- Configuring done [2023-07-13T05:55:13.249Z] -- Generating done [2023-07-13T05:55:13.249Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-13T05:55:13.249Z] + make+ tee debug.log [2023-07-13T05:55:13.249Z]  [2023-07-13T05:55:13.249Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T05:55:13.249Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T05:55:13.249Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T05:55:13.507Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T05:55:13.507Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T05:55:13.507Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T05:55:13.765Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T05:55:13.765Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T05:55:13.765Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T05:55:14.024Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T05:55:14.024Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T05:55:14.024Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T05:55:14.281Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T05:55:14.281Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T05:55:14.281Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T05:55:14.540Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T05:55:14.540Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T05:55:14.540Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T05:55:14.798Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T05:55:14.798Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T05:55:14.798Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T05:55:15.058Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T05:55:15.058Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T05:55:15.317Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T05:55:15.317Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T05:55:15.317Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T05:55:15.574Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T05:55:15.833Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T05:55:15.833Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T05:55:15.833Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T05:55:15.833Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T05:55:16.092Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T05:55:16.092Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T05:55:16.350Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T05:55:16.350Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T05:55:16.350Z] [ 68%] Built target csdk [2023-07-13T05:55:16.350Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T05:55:16.350Z] [ 72%] Linking C executable template [2023-07-13T05:55:16.608Z] [ 72%] Built target template [2023-07-13T05:55:16.608Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T05:55:16.608Z] [ 76%] Linking C executable device-counter [2023-07-13T05:55:16.608Z] [ 76%] Built target device-counter [2023-07-13T05:55:16.608Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T05:55:16.866Z] [ 80%] Linking C executable device-random [2023-07-13T05:55:16.866Z] [ 80%] Built target device-random [2023-07-13T05:55:16.866Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T05:55:16.866Z] [ 84%] Linking C executable device-gyro [2023-07-13T05:55:16.866Z] [ 84%] Built target device-gyro [2023-07-13T05:55:16.866Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T05:55:17.125Z] [ 88%] Linking C executable device-bitfields [2023-07-13T05:55:17.125Z] [ 88%] Built target device-bitfields [2023-07-13T05:55:17.125Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T05:55:17.125Z] [ 92%] Linking C executable template-discovery [2023-07-13T05:55:17.125Z] [ 92%] Built target template-discovery [2023-07-13T05:55:17.382Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T05:55:17.382Z] [ 96%] Linking C executable device-file [2023-07-13T05:55:17.382Z] [ 96%] Built target device-file [2023-07-13T05:55:17.382Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T05:55:17.382Z] [100%] Linking C executable device-terminal [2023-07-13T05:55:17.641Z] [100%] Built target device-terminal [2023-07-13T05:55:17.641Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 68%] Built target csdk [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 72%] Built target template [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 76%] Built target device-counter [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 80%] Built target device-random [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 84%] Built target device-gyro [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 88%] Built target device-bitfields [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 92%] Built target template-discovery [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [ 96%] Built target device-file [2023-07-13T05:55:17.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.641Z] [100%] Built target device-terminal [2023-07-13T05:55:17.641Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:17.943Z] Install the project... [2023-07-13T05:55:17.943Z] -- Install configuration: "Release" [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-13T05:55:17.943Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/devsdk [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-13T05:55:17.943Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-13T05:55:17.943Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:55:18.509Z] Removing intermediate container ec95fe0201ea [2023-07-13T05:55:18.509Z] ---> 071b3fe209a5 [2023-07-13T05:55:18.509Z] Step 14/21 : FROM ${BASE} [2023-07-13T05:55:18.509Z] ---> e83ffa357ff4 [2023-07-13T05:55:18.509Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-13T05:55:18.509Z] ---> Running in f8a817f993dc [2023-07-13T05:55:18.509Z] Removing intermediate container f8a817f993dc [2023-07-13T05:55:18.509Z] ---> 862d86310a8e [2023-07-13T05:55:18.509Z] 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-13T05:55:18.767Z] ---> Running in 0d2020a2bbbc [2023-07-13T05:55:19.024Z] Connecting to iotech.jfrog.io (34.251.92.102:443) [2023-07-13T05:55:19.283Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:55:19.283Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:55:19.283Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:55:19.542Z] Removing intermediate container 0d2020a2bbbc [2023-07-13T05:55:19.542Z] ---> 43363683e1e7 [2023-07-13T05:55:19.542Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:55:19.542Z] ---> Running in 8f635e6f93e0 [2023-07-13T05:55:20.108Z] Removing intermediate container 8f635e6f93e0 [2023-07-13T05:55:20.108Z] ---> e0b2b8f7ae36 [2023-07-13T05:55:20.108Z] 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-13T05:55:20.108Z] ---> Running in 64b98cdedfcc [2023-07-13T05:55:20.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:20.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:20.883Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:21.142Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:55:21.142Z] (1/7) Installing curl (8.1.2-r0) [2023-07-13T05:55:21.401Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-13T05:55:21.401Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-13T05:55:21.401Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-13T05:55:21.969Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-13T05:55:21.969Z] (6/7) Installing libuuid (2.38-r1) [2023-07-13T05:55:21.969Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T05:55:22.907Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:55:22.907Z] OK: 276 MiB in 83 packages [2023-07-13T05:55:23.166Z] Removing intermediate container 64b98cdedfcc [2023-07-13T05:55:23.166Z] ---> 4920c0579266 [2023-07-13T05:55:23.166Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-13T05:55:23.425Z] ---> aa1d6e6db1bc [2023-07-13T05:55:23.426Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-13T05:55:23.426Z] ---> 16a0fd6e03fa [2023-07-13T05:55:23.426Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-13T05:55:23.687Z] ---> adff9800b280 [2023-07-13T05:55:23.687Z] Successfully built adff9800b280 [2023-07-13T05:55:23.687Z] 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-13T05:55:24.090Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T05:55:24.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T05:55:24.161Z] prd-ubuntu20.04-docker-8c-8g-1037 does not seem to be running inside a container [2023-07-13T05:55:24.207Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T05:55:24.549Z] $ docker top e331d9788f5704bad7364688fbcca5bb044cd47f1fe84c13bdfe6fc17e7a041f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T05:55:24.884Z] + make test [2023-07-13T05:55:24.884Z] echo "make test" [2023-07-13T05:55:24.884Z] make test [Pipeline] } [2023-07-13T05:55:24.901Z] $ docker stop --time=1 e331d9788f5704bad7364688fbcca5bb044cd47f1fe84c13bdfe6fc17e7a041f [2023-07-13T05:55:26.196Z] $ docker rm -f --volumes e331d9788f5704bad7364688fbcca5bb044cd47f1fe84c13bdfe6fc17e7a041f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T05:55:26.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T05:55:27.095Z] + ls -al . [2023-07-13T05:55:27.095Z] total 212 [2023-07-13T05:55:27.095Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 05:54 . [2023-07-13T05:55:27.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:54 .. [2023-07-13T05:55:27.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 05:54 .git [2023-07-13T05:55:27.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:54 .github [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 13 05:54 .gitignore [2023-07-13T05:55:27.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 05:54 .semver [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 13 05:54 Attribution.txt [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 13 05:54 CHANGES [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 13 05:54 Doxyfile [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 05:54 GOVERNANCE.md [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 13 05:54 Jenkinsfile [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 05:54 LICENSE [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 13 05:54 Makefile [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 05:54 OWNERS.md [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 13 05:54 README.IOT.md [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 13 05:54 README.md [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 13 05:54 README.v3.md [2023-07-13T05:55:27.095Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 05:54 VERSION [2023-07-13T05:55:27.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:54 docs [2023-07-13T05:55:27.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:54 include [2023-07-13T05:55:27.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:54 scripts [2023-07-13T05:55:27.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:55:27.408Z] + 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=ba5e0764dcf3c1a727d0662f352e94cf5bde288b --label arch=amd64 --label version=0.0.0 . [2023-07-13T05:55:27.408Z] Sending build context to Docker daemon 4.824MB [2023-07-13T05:55:27.408Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-13T05:55:27.408Z] Step 2/17 : FROM ${BASE} [2023-07-13T05:55:27.408Z] ---> adff9800b280 [2023-07-13T05:55:27.408Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-13T05:55:27.408Z] ---> Running in e86725ac1bbd [2023-07-13T05:55:27.408Z] Removing intermediate container e86725ac1bbd [2023-07-13T05:55:27.408Z] ---> 3e4e282007b9 [2023-07-13T05:55:27.408Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-13T05:55:27.667Z] ---> Running in 890e40f40ec4 [2023-07-13T05:55:27.667Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T05:55:28.237Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:55:28.237Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:55:28.237Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:55:28.495Z] Removing intermediate container 890e40f40ec4 [2023-07-13T05:55:28.495Z] ---> 1f99a0eea7c7 [2023-07-13T05:55:28.495Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:55:28.495Z] ---> Running in 178f70d7a324 [2023-07-13T05:55:29.062Z] Removing intermediate container 178f70d7a324 [2023-07-13T05:55:29.062Z] ---> eb138279c98c [2023-07-13T05:55:29.062Z] 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-13T05:55:29.062Z] ---> Running in 6e1e04b799b2 [2023-07-13T05:55:29.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:29.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:29.321Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T05:55:29.888Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:55:29.888Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:55:29.888Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:55:29.888Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T05:55:30.458Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T05:55:30.715Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-13T05:55:30.715Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T05:55:30.715Z] (7/11) Installing libblkid (2.38-r1) [2023-07-13T05:55:30.715Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-13T05:55:30.715Z] (9/11) Installing libmount (2.38-r1) [2023-07-13T05:55:30.715Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-13T05:55:30.715Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-13T05:55:30.715Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:55:30.715Z] OK: 281 MiB in 92 packages [2023-07-13T05:55:31.283Z] Removing intermediate container 6e1e04b799b2 [2023-07-13T05:55:31.283Z] ---> 9440b3a1fe1d [2023-07-13T05:55:31.283Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-13T05:55:31.283Z] ---> 63857de60343 [2023-07-13T05:55:31.283Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-13T05:55:31.542Z] ---> ead4dcabc57c [2023-07-13T05:55:31.542Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-13T05:55:31.800Z] ---> 44072aff5c9b [2023-07-13T05:55:31.800Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-13T05:55:31.800Z] ---> e51efcbdcd7e [2023-07-13T05:55:31.800Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-13T05:55:31.800Z] ---> dfa7e98aa4b7 [2023-07-13T05:55:31.800Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-13T05:55:32.059Z] ---> 9a6edc0deb89 [2023-07-13T05:55:32.059Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-13T05:55:32.059Z] ---> Running in e880e38188ff [2023-07-13T05:55:32.059Z] Removing intermediate container e880e38188ff [2023-07-13T05:55:32.059Z] ---> ad2a599dbe5a [2023-07-13T05:55:32.059Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-13T05:55:32.059Z] ---> Running in 61924ff0e149 [2023-07-13T05:55:32.319Z] Removing intermediate container 61924ff0e149 [2023-07-13T05:55:32.319Z] ---> 00912e0151ba [2023-07-13T05:55:32.319Z] Step 15/17 : LABEL arch=amd64 [2023-07-13T05:55:32.319Z] ---> Running in d1b323523555 [2023-07-13T05:55:32.319Z] Removing intermediate container d1b323523555 [2023-07-13T05:55:32.319Z] ---> bd214380660e [2023-07-13T05:55:32.319Z] Step 16/17 : LABEL git_sha=ba5e0764dcf3c1a727d0662f352e94cf5bde288b [2023-07-13T05:55:32.319Z] ---> Running in 1d5d474ce27e [2023-07-13T05:55:32.319Z] Removing intermediate container 1d5d474ce27e [2023-07-13T05:55:32.319Z] ---> 8b85f1403852 [2023-07-13T05:55:32.319Z] Step 17/17 : LABEL version=0.0.0 [2023-07-13T05:55:32.319Z] ---> Running in b8209b44dde7 [2023-07-13T05:55:32.580Z] Removing intermediate container b8209b44dde7 [2023-07-13T05:55:32.580Z] ---> 84eeed5ee48d [2023-07-13T05:55:32.580Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-13T05:55:32.580Z] Successfully built 84eeed5ee48d [2023-07-13T05:55:32.580Z] 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-13T05:55:33.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T05:55:33.037Z] [2023-07-13T05:55:33.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:55:33.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T05:55:33.334Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T05:55:33.334Z] 5eb5b503b376: Pulling fs layer [2023-07-13T05:55:33.334Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T05:55:33.334Z] ec43610c2a17: Pulling fs layer [2023-07-13T05:55:33.334Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T05:55:33.334Z] 33b1e0a273af: Pulling fs layer [2023-07-13T05:55:33.334Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T05:55:33.334Z] 2f39f015ded8: Pulling fs layer [2023-07-13T05:55:33.334Z] 33b1e0a273af: Waiting [2023-07-13T05:55:33.334Z] 3a2ae6a8a46f: Waiting [2023-07-13T05:55:33.334Z] 5d3b04190fa2: Waiting [2023-07-13T05:55:33.334Z] 2f39f015ded8: Waiting [2023-07-13T05:55:33.334Z] 5c69ac0246d0: Download complete [2023-07-13T05:55:33.334Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T05:55:33.334Z] 3a2ae6a8a46f: Download complete [2023-07-13T05:55:33.334Z] 33b1e0a273af: Verifying Checksum [2023-07-13T05:55:33.334Z] 33b1e0a273af: Download complete [2023-07-13T05:55:33.334Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T05:55:33.334Z] 5d3b04190fa2: Download complete [2023-07-13T05:55:33.334Z] ec43610c2a17: Verifying Checksum [2023-07-13T05:55:33.334Z] ec43610c2a17: Download complete [2023-07-13T05:55:33.594Z] 5eb5b503b376: Verifying Checksum [2023-07-13T05:55:33.594Z] 5eb5b503b376: Download complete [2023-07-13T05:55:34.160Z] 2f39f015ded8: Download complete [2023-07-13T05:55:34.727Z] 5eb5b503b376: Pull complete [2023-07-13T05:55:34.727Z] 5c69ac0246d0: Pull complete [2023-07-13T05:55:35.295Z] ec43610c2a17: Pull complete [2023-07-13T05:55:35.295Z] 3a2ae6a8a46f: Pull complete [2023-07-13T05:55:35.555Z] 33b1e0a273af: Pull complete [2023-07-13T05:55:35.814Z] 5d3b04190fa2: Pull complete [2023-07-13T05:55:41.083Z] 2f39f015ded8: Pull complete [2023-07-13T05:55:41.083Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T05:55:41.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T05:55:41.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T05:55:41.156Z] prd-ubuntu20.04-docker-8c-8g-1037 does not seem to be running inside a container [2023-07-13T05:55:41.198Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T05:55:44.732Z] $ docker top 1c1cd347614b205aa280ff1ee27d0df2f587cb235a74c8e467c47e4bd8274adc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T05:55:45.121Z] ---> job-cost.sh [2023-07-13T05:55:45.121Z] lf-activate-venv: SKIPPING [2023-07-13T05:55:45.121Z] INFO: No Stack... [2023-07-13T05:55:45.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T05:55:45.951Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T05:55:46.241Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives/cost.csv [2023-07-13T05:55:46.242Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T05:55:46.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [2023-07-13T05:55:46.259Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] did not exist. Created. [2023-07-13T05:55:46.259Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T05:55:46.560Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T05:55:46.608Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T05:55:46.614Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T05:55:46.639Z] $ docker stop --time=1 1c1cd347614b205aa280ff1ee27d0df2f587cb235a74c8e467c47e4bd8274adc [2023-07-13T05:55:47.787Z] $ docker rm -f --volumes 1c1cd347614b205aa280ff1ee27d0df2f587cb235a74c8e467c47e4bd8274adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T05:56:54.733Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1038 in /w/workspace/edgexfoundry_device-sdk-c_PR-469 [Pipeline] { [Pipeline] ws [2023-07-13T05:56:54.744Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-07-13T05:56:54.779Z] Selected Git installation does not exist. Using Default [2023-07-13T05:56:54.779Z] The recommended git tool is: NONE [2023-07-13T05:57:03.335Z] using credential edgex-jenkins-ssh [2023-07-13T05:57:03.354Z] Cloning the remote Git repository [2023-07-13T05:57:03.414Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T05:57:03.530Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-07-13T05:57:03.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T05:57:03.774Z] > git --version # timeout=10 [2023-07-13T05:57:03.822Z] > git --version # 'git version 2.25.1' [2023-07-13T05:57:03.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T05:57:04.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T05:57:05.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-13T05:57:05.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T05:57:06.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-13T05:57:06.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T05:57:06.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T05:57:06.520Z] > 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-13T05:57:07.113Z] Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit ba5e0764dcf3c1a727d0662f352e94cf5bde288b [2023-07-13T05:57:07.581Z] Merge succeeded, producing ba5e0764dcf3c1a727d0662f352e94cf5bde288b [2023-07-13T05:57:07.582Z] Checking out Revision ba5e0764dcf3c1a727d0662f352e94cf5bde288b (PR-469) [2023-07-13T05:57:07.141Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T05:57:07.247Z] > git checkout -f ba5e0764dcf3c1a727d0662f352e94cf5bde288b # timeout=10 [2023-07-13T05:57:07.403Z] > git remote # timeout=10 [2023-07-13T05:57:07.455Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T05:57:07.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T05:57:07.511Z] > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 [2023-07-13T05:57:07.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T05:57:07.591Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T05:57:07.607Z] > git checkout -f ba5e0764dcf3c1a727d0662f352e94cf5bde288b # timeout=10 [2023-07-13T05:57:11.152Z] Commit message: "fix: invalid pointer operation in edgex_bus_mqtt_msgarrvd" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T05:57:12.047Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T05:57:12.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T05:57:12.047Z] Dload Upload Total Spent Left Speed [2023-07-13T05:57:12.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-07-13T05:57:12.770Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T05:57:13.097Z] + sudo tee /etc/docker/daemon.new [2023-07-13T05:57:13.097Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T05:57:13.097Z] { [2023-07-13T05:57:13.097Z] "registry-mirrors": [ [2023-07-13T05:57:13.097Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T05:57:13.097Z] ], [2023-07-13T05:57:13.097Z] "bip": "10.250.0.254/24", [2023-07-13T05:57:13.097Z] "hosts": [ [2023-07-13T05:57:13.097Z] "tcp://0.0.0.0:5555", [2023-07-13T05:57:13.097Z] "unix:///var/run/docker.sock" [2023-07-13T05:57:13.097Z] ], [2023-07-13T05:57:13.097Z] "mtu": 1458, [2023-07-13T05:57:13.097Z] "selinux-enabled": true, [2023-07-13T05:57:13.097Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T05:57:13.097Z] } [Pipeline] sh [2023-07-13T05:57:13.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T05:57:13.749Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T05:57:32.009Z] provisioning config files... [2023-07-13T05:57:32.032Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config17156640410528527839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T05:57:32.372Z] ---> docker-login.sh [2023-07-13T05:57:32.372Z] nexus3.edgexfoundry.org:10001 [2023-07-13T05:57:32.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:57:32.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:57:32.910Z] Configure a credential helper to remove this warning. See [2023-07-13T05:57:32.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:57:32.910Z] [2023-07-13T05:57:32.910Z] Login Succeeded [2023-07-13T05:57:32.910Z] nexus3.edgexfoundry.org:10002 [2023-07-13T05:57:33.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:57:33.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:57:33.179Z] Configure a credential helper to remove this warning. See [2023-07-13T05:57:33.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:57:33.179Z] [2023-07-13T05:57:33.179Z] Login Succeeded [2023-07-13T05:57:33.454Z] nexus3.edgexfoundry.org:10003 [2023-07-13T05:57:33.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:57:33.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:57:33.724Z] Configure a credential helper to remove this warning. See [2023-07-13T05:57:33.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:57:33.724Z] [2023-07-13T05:57:33.724Z] Login Succeeded [2023-07-13T05:57:33.724Z] nexus3.edgexfoundry.org:10004 [2023-07-13T05:57:33.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:57:33.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:57:33.995Z] Configure a credential helper to remove this warning. See [2023-07-13T05:57:33.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:57:33.995Z] [2023-07-13T05:57:33.995Z] Login Succeeded [2023-07-13T05:57:33.995Z] docker.io [2023-07-13T05:57:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T05:57:34.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T05:57:34.529Z] Configure a credential helper to remove this warning. See [2023-07-13T05:57:34.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T05:57:34.529Z] [2023-07-13T05:57:34.529Z] Login Succeeded [2023-07-13T05:57:34.529Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T05:57:34.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T05:57:34.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T05:57:34.791Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-13T05:57:34.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T05:57:34.814Z] ========================================================= [2023-07-13T05:57:34.814Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-13T05:57:34.814Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:57:35.147Z] + 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-13T05:57:35.416Z] Sending build context to Docker daemon 2.888MB [2023-07-13T05:57:35.416Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-13T05:57:35.416Z] Step 2/21 : FROM ${BASE} as builder [2023-07-13T05:57:35.688Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-13T05:57:35.688Z] 547446be3368: Pulling fs layer [2023-07-13T05:57:35.688Z] 76bd08e1cacc: Pulling fs layer [2023-07-13T05:57:35.688Z] 547446be3368: Verifying Checksum [2023-07-13T05:57:35.688Z] 547446be3368: Download complete [2023-07-13T05:57:36.275Z] 547446be3368: Pull complete [2023-07-13T05:57:38.237Z] 76bd08e1cacc: Verifying Checksum [2023-07-13T05:57:38.237Z] 76bd08e1cacc: Download complete [2023-07-13T05:57:46.475Z] 76bd08e1cacc: Pull complete [2023-07-13T05:57:46.475Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-13T05:57:46.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-13T05:57:46.475Z] ---> 295cd00e64f4 [2023-07-13T05:57:46.475Z] 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-13T05:57:46.743Z] ---> Running in 1cb81a469e87 [2023-07-13T05:57:47.708Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T05:57:48.292Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:57:48.292Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:57:48.292Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:57:48.878Z] Removing intermediate container 1cb81a469e87 [2023-07-13T05:57:48.878Z] ---> 5d791a401353 [2023-07-13T05:57:48.878Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:57:48.878Z] ---> Running in a3d0f419c139 [2023-07-13T05:57:50.826Z] Removing intermediate container a3d0f419c139 [2023-07-13T05:57:50.826Z] ---> 3558ce883caa [2023-07-13T05:57:50.826Z] 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-13T05:57:50.826Z] ---> Running in fca0bdc2e5df [2023-07-13T05:57:51.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:57:51.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T05:57:52.282Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:57:53.252Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:57:53.252Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:57:53.252Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:57:53.252Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-13T05:57:53.252Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-13T05:57:53.252Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T05:57:54.207Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T05:57:54.473Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-13T05:57:54.473Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-13T05:57:54.473Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T05:57:54.473Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T05:57:55.428Z] (11/16) Installing libblkid (2.38-r1) [2023-07-13T05:57:55.428Z] (12/16) Installing libuuid (2.38-r1) [2023-07-13T05:57:55.428Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-13T05:57:55.428Z] (14/16) Installing libmount (2.38-r1) [2023-07-13T05:57:55.428Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-13T05:57:55.428Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-13T05:57:55.695Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:57:55.695Z] OK: 286 MiB in 90 packages [2023-07-13T05:57:57.108Z] Removing intermediate container fca0bdc2e5df [2023-07-13T05:57:57.108Z] ---> 5b195616ab1e [2023-07-13T05:57:57.108Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-13T05:57:57.108Z] ---> Running in 513174da27b4 [2023-07-13T05:57:58.525Z] Removing intermediate container 513174da27b4 [2023-07-13T05:57:58.525Z] ---> 3be0f12a2bfc [2023-07-13T05:57:58.525Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-13T05:57:58.793Z] ---> 38159cc8f7f1 [2023-07-13T05:57:58.793Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-13T05:57:59.378Z] ---> 45063599ac1b [2023-07-13T05:57:59.378Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-13T05:57:59.963Z] ---> 94e0d533143b [2023-07-13T05:57:59.963Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-13T05:58:00.547Z] ---> 535ef97ec70d [2023-07-13T05:58:00.547Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-13T05:58:00.814Z] ---> 75efa221de10 [2023-07-13T05:58:00.814Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-13T05:58:01.396Z] ---> bd24117a07dd [2023-07-13T05:58:01.396Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-13T05:58:01.396Z] ---> Running in eb9d76ccf169 [2023-07-13T05:58:02.357Z] + CPPCHECK=false [2023-07-13T05:58:02.357Z] + DOCGEN=false [2023-07-13T05:58:02.357Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-13T05:58:02.357Z] + '[' 0 -gt 0 ] [2023-07-13T05:58:02.357Z] + readlink -f ./scripts/build.sh [2023-07-13T05:58:02.357Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-13T05:58:02.357Z] + dirname /tmp/sdk/scripts [2023-07-13T05:58:02.357Z] + ROOT=/tmp/sdk [2023-07-13T05:58:02.357Z] + cd /tmp/sdk [2023-07-13T05:58:02.357Z] + mkdir -p /tmp/sdk/build/release [2023-07-13T05:58:02.357Z] + cd /tmp/sdk/build/release [2023-07-13T05:58:02.357Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-13T05:58:02.626Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T05:58:02.626Z] -- Detecting C compiler ABI info [2023-07-13T05:58:02.895Z] -- Detecting C compiler ABI info - done [2023-07-13T05:58:02.895Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T05:58:02.895Z] -- Detecting C compile features [2023-07-13T05:58:02.895Z] -- Detecting C compile features - done [2023-07-13T05:58:03.163Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T05:58:03.163Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T05:58:03.163Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T05:58:03.163Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T05:58:03.163Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T05:58:03.163Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T05:58:03.163Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T05:58:03.431Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T05:58:03.431Z] -- /opt/iotech/iot/1.5/include [2023-07-13T05:58:03.431Z] -- C SDK 0.0.0 for Linux [2023-07-13T05:58:03.431Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T05:58:03.699Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T05:58:03.699Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T05:58:03.966Z] -- Configuring done [2023-07-13T05:58:04.235Z] -- Generating done [2023-07-13T05:58:04.235Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-13T05:58:04.235Z] + + tee release.log [2023-07-13T05:58:04.235Z] make all package [2023-07-13T05:58:04.502Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T05:58:05.085Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T05:58:06.046Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T05:58:07.005Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T05:58:07.964Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T05:58:08.546Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T05:58:11.126Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T05:58:12.083Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T05:58:12.350Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T05:58:13.308Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T05:58:15.879Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T05:58:16.458Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T05:58:17.415Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T05:58:17.997Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T05:58:18.578Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T05:58:19.531Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T05:58:20.114Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T05:58:22.688Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T05:58:22.688Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T05:58:23.270Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T05:58:24.673Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T05:58:29.998Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T05:58:30.580Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T05:58:31.162Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T05:58:31.742Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T05:58:32.009Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T05:58:33.951Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T05:58:36.533Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T05:58:36.799Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T05:58:37.756Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T05:58:38.339Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T05:58:41.677Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T05:58:42.262Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T05:58:42.845Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T05:58:43.431Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T05:58:43.431Z] [ 68%] Built target csdk [2023-07-13T05:58:43.431Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T05:58:44.394Z] [ 72%] Linking C executable template [2023-07-13T05:58:44.659Z] [ 72%] Built target template [2023-07-13T05:58:44.924Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T05:58:45.505Z] [ 76%] Linking C executable device-counter [2023-07-13T05:58:45.772Z] [ 76%] Built target device-counter [2023-07-13T05:58:45.772Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T05:58:46.356Z] [ 80%] Linking C executable device-random [2023-07-13T05:58:46.622Z] [ 80%] Built target device-random [2023-07-13T05:58:46.622Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T05:58:47.203Z] [ 84%] Linking C executable device-gyro [2023-07-13T05:58:47.470Z] [ 84%] Built target device-gyro [2023-07-13T05:58:47.470Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T05:58:48.050Z] [ 88%] Linking C executable device-bitfields [2023-07-13T05:58:48.319Z] [ 88%] Built target device-bitfields [2023-07-13T05:58:48.319Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T05:58:49.277Z] [ 92%] Linking C executable template-discovery [2023-07-13T05:58:49.543Z] [ 92%] Built target template-discovery [2023-07-13T05:58:49.809Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T05:58:50.391Z] [ 96%] Linking C executable device-file [2023-07-13T05:58:50.658Z] [ 96%] Built target device-file [2023-07-13T05:58:50.923Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T05:58:51.504Z] [100%] Linking C executable device-terminal [2023-07-13T05:58:51.770Z] [100%] Built target device-terminal [2023-07-13T05:58:52.038Z] Run CPack packaging tool... [2023-07-13T05:58:52.038Z] CPack: Create package using TGZ [2023-07-13T05:58:52.038Z] CPack: Install projects [2023-07-13T05:58:52.038Z] CPack: - Run preinstall target for: Csdk [2023-07-13T05:58:52.629Z] CPack: - Install project: Csdk [] [2023-07-13T05:58:52.629Z] CPack: Create package [2023-07-13T05:58:52.895Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-13T05:58:52.895Z] + '[' false '=' true ] [2023-07-13T05:58:52.895Z] + '[' false '=' true ] [2023-07-13T05:58:52.895Z] + mkdir -p /tmp/sdk/build/debug [2023-07-13T05:58:52.895Z] + cd /tmp/sdk/build/debug [2023-07-13T05:58:52.895Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-13T05:58:53.160Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T05:58:53.160Z] -- Detecting C compiler ABI info [2023-07-13T05:58:53.428Z] -- Detecting C compiler ABI info - done [2023-07-13T05:58:53.428Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T05:58:53.428Z] -- Detecting C compile features [2023-07-13T05:58:53.428Z] -- Detecting C compile features - done [2023-07-13T05:58:53.695Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T05:58:53.695Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T05:58:53.695Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T05:58:53.695Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T05:58:53.695Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T05:58:53.695Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T05:58:53.962Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T05:58:53.962Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T05:58:53.962Z] -- /opt/iotech/iot/1.5/include [2023-07-13T05:58:53.962Z] -- C SDK 0.0.0 for Linux [2023-07-13T05:58:53.962Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T05:58:54.229Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T05:58:54.229Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T05:58:54.496Z] -- Configuring done [2023-07-13T05:58:54.763Z] -- Generating done [2023-07-13T05:58:54.763Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-13T05:58:54.763Z] + make [2023-07-13T05:58:54.763Z] + tee debug.log [2023-07-13T05:58:54.763Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T05:58:55.345Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T05:58:55.612Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T05:58:56.191Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T05:58:56.457Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T05:58:57.039Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T05:58:57.618Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T05:58:58.201Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T05:58:58.201Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T05:58:58.779Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T05:58:59.733Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T05:58:59.998Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T05:59:00.263Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T05:59:00.845Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T05:59:01.110Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T05:59:01.692Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T05:59:01.692Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T05:59:02.643Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T05:59:02.908Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T05:59:03.173Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T05:59:03.855Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T05:59:05.254Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T05:59:05.518Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T05:59:05.784Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T05:59:06.049Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T05:59:06.315Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T05:59:06.895Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T05:59:08.831Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T05:59:08.831Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T05:59:09.410Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T05:59:09.675Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T05:59:10.631Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T05:59:11.210Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T05:59:11.474Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T05:59:11.740Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T05:59:12.005Z] [ 68%] Built target csdk [2023-07-13T05:59:12.005Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T05:59:12.586Z] [ 72%] Linking C executable template [2023-07-13T05:59:12.586Z] [ 72%] Built target template [2023-07-13T05:59:12.852Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T05:59:13.117Z] [ 76%] Linking C executable device-counter [2023-07-13T05:59:13.382Z] [ 76%] Built target device-counter [2023-07-13T05:59:13.382Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T05:59:13.647Z] [ 80%] Linking C executable device-random [2023-07-13T05:59:13.912Z] [ 80%] Built target device-random [2023-07-13T05:59:14.177Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T05:59:14.442Z] [ 84%] Linking C executable device-gyro [2023-07-13T05:59:14.708Z] [ 84%] Built target device-gyro [2023-07-13T05:59:14.708Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T05:59:14.975Z] [ 88%] Linking C executable device-bitfields [2023-07-13T05:59:15.242Z] [ 88%] Built target device-bitfields [2023-07-13T05:59:15.242Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T05:59:15.821Z] [ 92%] Linking C executable template-discovery [2023-07-13T05:59:16.087Z] [ 92%] Built target template-discovery [2023-07-13T05:59:16.087Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T05:59:16.352Z] [ 96%] Linking C executable device-file [2023-07-13T05:59:16.617Z] [ 96%] Built target device-file [2023-07-13T05:59:16.881Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T05:59:17.146Z] [100%] Linking C executable device-terminal [2023-07-13T05:59:17.414Z] [100%] Built target device-terminal [2023-07-13T05:59:17.680Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] [ 68%] Built target csdk [2023-07-13T05:59:17.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] [ 72%] Built target template [2023-07-13T05:59:17.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] [ 76%] Built target device-counter [2023-07-13T05:59:17.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [ 80%] Built target device-random [2023-07-13T05:59:17.947Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [ 84%] Built target device-gyro [2023-07-13T05:59:17.947Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [ 88%] Built target device-bitfields [2023-07-13T05:59:17.947Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [ 92%] Built target template-discovery [2023-07-13T05:59:17.947Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [ 96%] Built target device-file [2023-07-13T05:59:17.947Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:17.947Z] [100%] Built target device-terminal [2023-07-13T05:59:17.947Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:18.213Z] Install the project... [2023-07-13T05:59:18.213Z] -- Install configuration: "Release" [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-13T05:59:18.213Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/devsdk [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-13T05:59:18.213Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-13T05:59:18.213Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-13T05:59:19.616Z] Removing intermediate container eb9d76ccf169 [2023-07-13T05:59:19.616Z] ---> 448da593f144 [2023-07-13T05:59:19.616Z] Step 14/21 : FROM ${BASE} [2023-07-13T05:59:19.616Z] ---> 295cd00e64f4 [2023-07-13T05:59:19.616Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-13T05:59:19.616Z] ---> Running in dcede63ed05d [2023-07-13T05:59:19.882Z] Removing intermediate container dcede63ed05d [2023-07-13T05:59:19.882Z] ---> d55f3fa229fc [2023-07-13T05:59:19.882Z] 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-13T05:59:19.882Z] ---> Running in 64291551ccfe [2023-07-13T05:59:20.914Z] Connecting to iotech.jfrog.io (34.251.92.102:443) [2023-07-13T05:59:21.182Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:59:21.182Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:59:21.182Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:59:21.787Z] Removing intermediate container 64291551ccfe [2023-07-13T05:59:21.787Z] ---> d8f6b68f32a5 [2023-07-13T05:59:21.787Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:59:22.060Z] ---> Running in 579ea213006d [2023-07-13T05:59:23.504Z] Removing intermediate container 579ea213006d [2023-07-13T05:59:23.504Z] ---> 8d29741605c9 [2023-07-13T05:59:23.504Z] 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-13T05:59:23.504Z] ---> Running in 57ecdea9a9db [2023-07-13T05:59:24.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:24.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:25.333Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:26.287Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:59:26.287Z] (1/7) Installing curl (8.1.2-r0) [2023-07-13T05:59:26.287Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-13T05:59:26.287Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-13T05:59:26.287Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-13T05:59:27.241Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-13T05:59:27.241Z] (6/7) Installing libuuid (2.38-r1) [2023-07-13T05:59:27.241Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T05:59:27.823Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:59:27.823Z] OK: 281 MiB in 83 packages [2023-07-13T05:59:28.784Z] Removing intermediate container 57ecdea9a9db [2023-07-13T05:59:28.784Z] ---> fd75522b5173 [2023-07-13T05:59:28.784Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-13T05:59:30.189Z] ---> 23387252dc68 [2023-07-13T05:59:30.189Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-13T05:59:30.771Z] ---> 7ca0423527a0 [2023-07-13T05:59:30.771Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-13T05:59:31.037Z] ---> 630a4d36ab07 [2023-07-13T05:59:31.037Z] Successfully built 630a4d36ab07 [2023-07-13T05:59:31.037Z] 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-13T05:59:31.446Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T05:59:31.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T05:59:31.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-1038 does not seem to be running inside a container [2023-07-13T05:59:31.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T05:59:32.810Z] $ docker top 7cb5711dd3fba1ea4793b20af15abbfd82845d26b5bd1845946a7f86720c86ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T05:59:33.624Z] + make test [2023-07-13T05:59:33.624Z] echo "make test" [2023-07-13T05:59:33.624Z] make test [Pipeline] } [2023-07-13T05:59:33.645Z] $ docker stop --time=1 7cb5711dd3fba1ea4793b20af15abbfd82845d26b5bd1845946a7f86720c86ad [2023-07-13T05:59:35.198Z] $ docker rm -f --volumes 7cb5711dd3fba1ea4793b20af15abbfd82845d26b5bd1845946a7f86720c86ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T05:59:35.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T05:59:36.037Z] + ls -al . [2023-07-13T05:59:36.038Z] total 208 [2023-07-13T05:59:36.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 05:57 . [2023-07-13T05:59:36.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:57 .. [2023-07-13T05:59:36.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 05:57 .git [2023-07-13T05:59:36.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:57 .github [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 13 05:57 .gitignore [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 13 05:57 Attribution.txt [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 13 05:57 CHANGES [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 13 05:57 Doxyfile [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 05:57 GOVERNANCE.md [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 13 05:57 Jenkinsfile [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 05:57 LICENSE [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 13 05:57 Makefile [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 05:57 OWNERS.md [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 13 05:57 README.IOT.md [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 13 05:57 README.md [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 13 05:57 README.v3.md [2023-07-13T05:59:36.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 05:54 VERSION [2023-07-13T05:59:36.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:57 docs [2023-07-13T05:59:36.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:57 include [2023-07-13T05:59:36.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 05:57 scripts [2023-07-13T05:59:36.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 05:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:59:36.367Z] + 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=ba5e0764dcf3c1a727d0662f352e94cf5bde288b --label arch=arm64 --label version=0.0.0 . [2023-07-13T05:59:36.634Z] Sending build context to Docker daemon 2.888MB [2023-07-13T05:59:36.634Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-13T05:59:36.634Z] Step 2/17 : FROM ${BASE} [2023-07-13T05:59:36.634Z] ---> 630a4d36ab07 [2023-07-13T05:59:36.634Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-13T05:59:36.898Z] ---> Running in 2822cf00d133 [2023-07-13T05:59:36.898Z] Removing intermediate container 2822cf00d133 [2023-07-13T05:59:36.898Z] ---> 8b964beae5c4 [2023-07-13T05:59:36.898Z] 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-13T05:59:37.168Z] ---> Running in 823ebd30df3f [2023-07-13T05:59:38.121Z] Connecting to iotech.jfrog.io (52.17.224.14:443) [2023-07-13T05:59:38.387Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T05:59:38.387Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T05:59:38.387Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T05:59:38.971Z] Removing intermediate container 823ebd30df3f [2023-07-13T05:59:38.971Z] ---> 050ed4cd391e [2023-07-13T05:59:38.971Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T05:59:38.971Z] ---> Running in 7e96b8bb8b24 [2023-07-13T05:59:40.923Z] Removing intermediate container 7e96b8bb8b24 [2023-07-13T05:59:40.923Z] ---> 60cd75458341 [2023-07-13T05:59:40.923Z] 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-13T05:59:40.923Z] ---> Running in b3e9c59e2c47 [2023-07-13T05:59:41.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:41.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:42.359Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T05:59:42.943Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T05:59:43.208Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:59:43.208Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T05:59:43.208Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T05:59:43.787Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T05:59:44.056Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-13T05:59:44.056Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T05:59:44.056Z] (7/11) Installing libblkid (2.38-r1) [2023-07-13T05:59:44.056Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-13T05:59:44.056Z] (9/11) Installing libmount (2.38-r1) [2023-07-13T05:59:44.056Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-13T05:59:44.056Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-13T05:59:44.056Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T05:59:44.056Z] OK: 287 MiB in 92 packages [2023-07-13T05:59:45.464Z] Removing intermediate container b3e9c59e2c47 [2023-07-13T05:59:45.464Z] ---> a4a72644de41 [2023-07-13T05:59:45.464Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-13T05:59:45.731Z] ---> 35010da2ff14 [2023-07-13T05:59:45.731Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-13T05:59:46.314Z] ---> 82077b5ed4c5 [2023-07-13T05:59:46.314Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-13T05:59:46.895Z] ---> 2e7eeb8a53a7 [2023-07-13T05:59:46.895Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-13T05:59:47.476Z] ---> 48d0811c56a2 [2023-07-13T05:59:47.477Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-13T05:59:47.743Z] ---> 29efb257699d [2023-07-13T05:59:47.743Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-13T05:59:48.325Z] ---> fa71e7a3d745 [2023-07-13T05:59:48.325Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-13T05:59:48.325Z] ---> Running in e2f331ed790e [2023-07-13T05:59:48.595Z] Removing intermediate container e2f331ed790e [2023-07-13T05:59:48.595Z] ---> 7238d507792d [2023-07-13T05:59:48.595Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-13T05:59:48.595Z] ---> Running in 2efd72eeab88 [2023-07-13T05:59:48.862Z] Removing intermediate container 2efd72eeab88 [2023-07-13T05:59:48.862Z] ---> c4d414e684dc [2023-07-13T05:59:48.862Z] Step 15/17 : LABEL arch=arm64 [2023-07-13T05:59:48.862Z] ---> Running in 7b555c23f1e9 [2023-07-13T05:59:49.132Z] Removing intermediate container 7b555c23f1e9 [2023-07-13T05:59:49.132Z] ---> 9796486a8e2f [2023-07-13T05:59:49.132Z] Step 16/17 : LABEL git_sha=ba5e0764dcf3c1a727d0662f352e94cf5bde288b [2023-07-13T05:59:49.400Z] ---> Running in 0088bd068eb8 [2023-07-13T05:59:49.666Z] Removing intermediate container 0088bd068eb8 [2023-07-13T05:59:49.666Z] ---> 16088ab613ef [2023-07-13T05:59:49.666Z] Step 17/17 : LABEL version=0.0.0 [2023-07-13T05:59:49.666Z] ---> Running in 67035f968534 [2023-07-13T05:59:49.931Z] Removing intermediate container 67035f968534 [2023-07-13T05:59:49.931Z] ---> f7bdf3d9eab8 [2023-07-13T05:59:49.931Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-13T05:59:49.931Z] Successfully built f7bdf3d9eab8 [2023-07-13T05:59:49.931Z] 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-13T05:59:50.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T05:59:50.351Z] [2023-07-13T05:59:50.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T05:59:50.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T05:59:50.944Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T05:59:50.944Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T05:59:50.944Z] 04944245beec: Pulling fs layer [2023-07-13T05:59:50.944Z] 699f458cf7ca: Pulling fs layer [2023-07-13T05:59:50.944Z] 765212b225bb: Pulling fs layer [2023-07-13T05:59:50.944Z] f23df028b6ca: Pulling fs layer [2023-07-13T05:59:50.944Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T05:59:50.944Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T05:59:50.944Z] 765212b225bb: Waiting [2023-07-13T05:59:50.944Z] f23df028b6ca: Waiting [2023-07-13T05:59:50.944Z] d65c8cfc05b1: Waiting [2023-07-13T05:59:50.944Z] 2437ff75d9bd: Waiting [2023-07-13T05:59:50.944Z] 04944245beec: Verifying Checksum [2023-07-13T05:59:50.944Z] 04944245beec: Download complete [2023-07-13T05:59:50.944Z] 765212b225bb: Verifying Checksum [2023-07-13T05:59:50.944Z] 765212b225bb: Download complete [2023-07-13T05:59:50.944Z] f23df028b6ca: Verifying Checksum [2023-07-13T05:59:50.944Z] f23df028b6ca: Download complete [2023-07-13T05:59:50.944Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T05:59:50.944Z] d65c8cfc05b1: Download complete [2023-07-13T05:59:51.212Z] 699f458cf7ca: Verifying Checksum [2023-07-13T05:59:51.212Z] 699f458cf7ca: Download complete [2023-07-13T05:59:51.479Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T05:59:51.479Z] 8998bd30e6a1: Download complete [2023-07-13T05:59:54.073Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T05:59:54.073Z] 2437ff75d9bd: Download complete [2023-07-13T05:59:55.482Z] 8998bd30e6a1: Pull complete [2023-07-13T05:59:56.063Z] 04944245beec: Pull complete [2023-07-13T05:59:57.471Z] 699f458cf7ca: Pull complete [2023-07-13T05:59:57.471Z] 765212b225bb: Pull complete [2023-07-13T05:59:58.056Z] f23df028b6ca: Pull complete [2023-07-13T05:59:58.322Z] d65c8cfc05b1: Pull complete [2023-07-13T06:00:13.514Z] 2437ff75d9bd: Pull complete [2023-07-13T06:00:13.514Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T06:00:13.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T06:00:13.514Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T06:00:13.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-1038 does not seem to be running inside a container [2023-07-13T06:00:13.759Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T06:00:16.086Z] $ docker top d0e066b01ec32d763891b16276795fd515f4c91d8402e37d23b1e51013cf3b4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:16.571Z] ---> job-cost.sh [2023-07-13T06:00:16.838Z] lf-activate-venv: SKIPPING [2023-07-13T06:00:16.838Z] INFO: No Stack... [2023-07-13T06:00:17.420Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T06:00:18.374Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T06:00:18.691Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-07-13T06:00:18.691Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T06:00:18.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [2023-07-13T06:00:18.753Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] did not exist. Created. [2023-07-13T06:00:18.753Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T06:00:19.397Z] /w/workspace/device-sdk-c/2@tmp/durable-850fa1b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T06:00:19.721Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T06:00:20.008Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T06:00:20.433Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T06:00:20.439Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-469-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T06:00:20.459Z] $ docker stop --time=1 d0e066b01ec32d763891b16276795fd515f4c91d8402e37d23b1e51013cf3b4b [2023-07-13T06:00:23.873Z] $ docker rm -f --volumes d0e066b01ec32d763891b16276795fd515f4c91d8402e37d23b1e51013cf3b4b [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-13T06:00:27.865Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives ] [2023-07-13T06:00:27.865Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-13T06:00:27.865Z] total 16 [2023-07-13T06:00:27.865Z] drwxr-xr-x 3 root root 4096 Jul 13 05:55 . [2023-07-13T06:00:27.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 05:55 .. [2023-07-13T06:00:27.865Z] drwxr-xr-x 2 root root 4096 Jul 13 05:55 cost [2023-07-13T06:00:27.865Z] -rw-r--r-- 1 root root 84 Jul 13 05:55 cost.csv [2023-07-13T06:00:27.865Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-13T06:00:27.865Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives [2023-07-13T06:00:27.865Z] total 16 [2023-07-13T06:00:27.865Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 05:55 . [2023-07-13T06:00:27.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 05:55 .. [2023-07-13T06:00:27.865Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 05:55 cost [2023-07-13T06:00:27.865Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 13 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:28.156Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:29.014Z] ---> package-listing.sh [2023-07-13T06:00:29.014Z] ++ facter osfamily [2023-07-13T06:00:29.014Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T06:00:29.273Z] + OS_FAMILY=debian [2023-07-13T06:00:29.273Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-469 [2023-07-13T06:00:29.273Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T06:00:29.273Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T06:00:29.273Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T06:00:29.273Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T06:00:29.273Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-469 ']' [2023-07-13T06:00:29.273Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T06:00:29.273Z] + case "${OS_FAMILY}" in [2023-07-13T06:00:29.273Z] + dpkg -l [2023-07-13T06:00:29.273Z] + grep '^ii' [2023-07-13T06:00:29.273Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T06:00:29.273Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T06:00:29.273Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T06:00:29.273Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-469 ']' [2023-07-13T06:00:29.273Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-469/archives/ [2023-07-13T06:00:29.273Z] + 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-13T06:00:29.283Z] 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-13T06:00:29.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T06:00:30.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T06:00:30.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T06:00:30.197Z] prd-ubuntu20.04-docker-8c-8g-1037 does not seem to be running inside a container [2023-07-13T06:00:30.237Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T06:00:30.443Z] $ docker top 6c1ece99f82802559ba59315af5f0aa82b61004143469d1d6bf50cfb3f4940cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T06:00:30.770Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T06:00:31.052Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T06:00:32.383Z] + ls /var/log/sa-host [2023-07-13T06:00:32.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T06:00:32.543Z] provisioning config files... [2023-07-13T06:00:33.058Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-469@tmp/config6262338062297742417tmp [Pipeline] { [Pipeline] echo [2023-07-13T06:00:33.076Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:34.460Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T06:00:34.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:36.484Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T06:00:36.492Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:39.450Z] ---> sudo-logs.sh [2023-07-13T06:00:39.450Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T06:00:39.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:40.031Z] ---> job-cost.sh [2023-07-13T06:00:40.031Z] lf-activate-venv: SKIPPING [2023-07-13T06:00:40.031Z] DEBUG: total: 0.2199999988079071 [2023-07-13T06:00:40.031Z] INFO: Retrieving Stack Cost... [2023-07-13T06:00:40.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T06:00:40.856Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T06:00:40.867Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T06:00:41.164Z] ---> logs-deploy.sh [2023-07-13T06:00:41.164Z] lf-activate-venv: SKIPPING [2023-07-13T06:00:41.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-469/2 [2023-07-13T06:00:41.164Z] INFO: archiving workspace using pattern(s): [2023-07-13T06:00:42.102Z] Archives upload complete. [2023-07-13T06:00:42.102Z] INFO: archiving logs to Nexus