Pull request #483 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 18b6c29ec549221dfc69d991ca1228da44bcacc1+b62e37af488d81aa36bc8e7f628d0bcafa679f3c (cd3d6504c85058ba6e6fd83e97cbcf527d742cb2) 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-ssh15870823693073648121.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1476743844386648136.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1962270002927735732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2785879265983291755.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3940690622054885197.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8076028859099680587.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6735’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6736’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6737’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6740 in /w/workspace/edgexfoundry_device-sdk-c_PR-483 [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-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b62e37af488d81aa36bc8e7f628d0bcafa679f3c into PR head commit 18b6c29ec549221dfc69d991ca1228da44bcacc1 Merge succeeded, producing 18b6c29ec549221dfc69d991ca1228da44bcacc1 Checking out Revision 18b6c29ec549221dfc69d991ca1228da44bcacc1 (PR-483) > git config core.sparsecheckout # timeout=10 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # 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 b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:23:27.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:23:27.698Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:23:27.815Z] ========================================================= [2023-09-20T17:23:27.815Z] EdgeX Global Pipelines Version Info [2023-09-20T17:23:27.815Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:28.558Z] ------------------- [2023-09-20T17:23:28.558Z] stable info: [2023-09-20T17:23:28.558Z] ------------------- [2023-09-20T17:23:28.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:23:28.558Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:23:28.558Z] Message: update stable to v1.0.254 [2023-09-20T17:23:29.126Z] ------------------- [2023-09-20T17:23:29.126Z] experimental info: [2023-09-20T17:23:29.126Z] ------------------- [2023-09-20T17:23:29.126Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:23:29.126Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:23:29.126Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:23:29.411Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-09-20T17:23:29.465Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-09-20T17:23:29.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:23:29.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:23:29.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:23:29.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-09-20T17:23:29.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-09-20T17:23:29.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:23:29.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:23:29.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-09-20T17:23:29.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:23:29.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:23:29.926Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:23:29.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:23:30.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:23:30.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:23:30.090Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:23:30.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-483 [Pipeline] echo [2023-09-20T17:23:30.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-483 [Pipeline] echo [2023-09-20T17:23:30.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-483 [Pipeline] echo [2023-09-20T17:23:30.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo [2023-09-20T17:23:30.300Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18b6c29 [Pipeline] echo [2023-09-20T17:23:30.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:23:30.462Z] provisioning config files... [2023-09-20T17:23:30.476Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config10089864646954163972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:30.823Z] ---> docker-login.sh [2023-09-20T17:23:30.823Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:23:31.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:31.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:31.082Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:31.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:31.082Z] [2023-09-20T17:23:31.082Z] Login Succeeded [2023-09-20T17:23:31.082Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:23:31.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:31.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:31.341Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:31.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:31.341Z] [2023-09-20T17:23:31.341Z] Login Succeeded [2023-09-20T17:23:31.341Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:23:31.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:31.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:31.341Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:31.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:31.341Z] [2023-09-20T17:23:31.341Z] Login Succeeded [2023-09-20T17:23:31.341Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:23:31.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:31.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:31.341Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:31.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:31.341Z] [2023-09-20T17:23:31.341Z] Login Succeeded [2023-09-20T17:23:31.341Z] docker.io [2023-09-20T17:23:31.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:31.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:31.601Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:31.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:31.601Z] [2023-09-20T17:23:31.601Z] Login Succeeded [2023-09-20T17:23:31.601Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:23:31.640Z] 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-09-20T17:23:32.266Z] + git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo [2023-09-20T17:23:32.331Z] -----------> git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [false] [Pipeline] sh [2023-09-20T17:23:32.635Z] + git log --format=format:%s -1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo [2023-09-20T17:23:32.680Z] ========================================================= [2023-09-20T17:23:32.680Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:23:32.680Z] ========================================================= 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-09-20T17:23:33.489Z] + git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo [2023-09-20T17:23:33.515Z] -----------> git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [false] [Pipeline] sh [2023-09-20T17:23:33.821Z] + git log --format=format:%s -1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo [2023-09-20T17:23:33.852Z] ========================================================= [2023-09-20T17:23:33.852Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:23:33.852Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-09-20T17:23:34.285Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:23:34.285Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:23:34.285Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:23:34.285Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:23:34.285Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:23:34.285Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:23:34.285Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:34.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:34.722Z] [2023-09-20T17:23:34.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:35.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:35.106Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:23:35.106Z] b85a868b505f: Pulling fs layer [2023-09-20T17:23:35.106Z] e2be974225ed: Pulling fs layer [2023-09-20T17:23:35.106Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:23:35.106Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:23:35.106Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:23:35.106Z] eaf3925da568: Pulling fs layer [2023-09-20T17:23:35.106Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:23:35.106Z] 988bab9f4d93: Waiting [2023-09-20T17:23:35.106Z] 1469e6f7b9e6: Waiting [2023-09-20T17:23:35.106Z] eaf3925da568: Waiting [2023-09-20T17:23:35.106Z] bab4dde63d76: Waiting [2023-09-20T17:23:35.106Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:23:35.106Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:23:35.106Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:23:35.106Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:23:35.106Z] 4872d77fe225: Waiting [2023-09-20T17:23:35.106Z] bde34c3a00c8: Waiting [2023-09-20T17:23:35.106Z] 5851b861e8e6: Waiting [2023-09-20T17:23:35.106Z] b352a97aabf1: Waiting [2023-09-20T17:23:35.106Z] e2be974225ed: Download complete [2023-09-20T17:23:35.106Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:23:35.106Z] 988bab9f4d93: Download complete [2023-09-20T17:23:35.106Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:23:35.106Z] 1469e6f7b9e6: Download complete [2023-09-20T17:23:35.364Z] eaf3925da568: Download complete [2023-09-20T17:23:35.364Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:23:35.364Z] bde34c3a00c8: Download complete [2023-09-20T17:23:35.364Z] b352a97aabf1: Download complete [2023-09-20T17:23:35.364Z] 4872d77fe225: Download complete [2023-09-20T17:23:35.364Z] 5851b861e8e6: Download complete [2023-09-20T17:23:35.364Z] b85a868b505f: Verifying Checksum [2023-09-20T17:23:35.364Z] b85a868b505f: Download complete [2023-09-20T17:23:35.623Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:23:35.623Z] bab4dde63d76: Download complete [2023-09-20T17:23:36.189Z] b85a868b505f: Pull complete [2023-09-20T17:23:36.454Z] e2be974225ed: Pull complete [2023-09-20T17:23:36.715Z] 339a4e72a1f5: Pull complete [2023-09-20T17:23:36.974Z] 988bab9f4d93: Pull complete [2023-09-20T17:23:37.234Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:23:37.234Z] eaf3925da568: Pull complete [2023-09-20T17:23:38.609Z] bab4dde63d76: Pull complete [2023-09-20T17:23:38.870Z] bde34c3a00c8: Pull complete [2023-09-20T17:23:38.870Z] b352a97aabf1: Pull complete [2023-09-20T17:23:38.870Z] 4872d77fe225: Pull complete [2023-09-20T17:23:39.131Z] 5851b861e8e6: Pull complete [2023-09-20T17:23:39.132Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:23:39.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:39.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:23:39.361Z] prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container [2023-09-20T17:23:39.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T17:23:41.863Z] $ docker top d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 -eo pid,comm [2023-09-20T17:23:41.911Z] 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-09-20T17:23:41.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:23:42.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:42.013Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:42.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:42.127Z] $ docker exec d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent [2023-09-20T17:23:42.221Z] SSH_AUTH_SOCK=/tmp/ssh-shMVF2iedttt/agent.31 [2023-09-20T17:23:42.221Z] SSH_AGENT_PID=37 [2023-09-20T17:23:42.227Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:42.322Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_17089603390739019670.key (/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_17089603390739019670.key) [2023-09-20T17:23:42.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:42.690Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:23:42.722Z] $ docker exec --env ******** --env ******** d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent -k [2023-09-20T17:23:42.812Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:42.813Z] unset SSH_AGENT_PID; [2023-09-20T17:23:42.813Z] echo Agent pid 37 killed; [2023-09-20T17:23:42.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:23:42.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:42.905Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:43.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:43.010Z] $ docker exec d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent [2023-09-20T17:23:43.104Z] SSH_AUTH_SOCK=/tmp/ssh-SDSjPaqtUFDj/agent.69 [2023-09-20T17:23:43.104Z] SSH_AGENT_PID=75 [2023-09-20T17:23:43.133Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:43.232Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_6949987425111980690.key (/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_6949987425111980690.key) [2023-09-20T17:23:43.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:43.580Z] + git semver init [2023-09-20T17:23:43.839Z] 2023-09-20 17:23:43,838 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:23:43.839Z] 2023-09-20 17:23:43,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver [2023-09-20T17:23:43.839Z] 2023-09-20 17:23:43,841 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver [2023-09-20T17:23:43.839Z] 2023-09-20 17:23:43,841 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,686 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.git/info/exclude [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 with force:False [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,687 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,691 [execute] INFO git cat-file --batch-check [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,698 [execute] INFO git cat-file --batch [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:44.772Z] 2023-09-20 17:23:44,703 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 [2023-09-20T17:23:44.772Z] 0.0.0 [Pipeline] } [2023-09-20T17:23:44.804Z] $ docker exec --env ******** --env ******** d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent -k [2023-09-20T17:23:44.888Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:44.888Z] unset SSH_AGENT_PID; [2023-09-20T17:23:44.888Z] echo Agent pid 75 killed; [2023-09-20T17:23:44.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:23:45.309Z] + git semver [Pipeline] } [2023-09-20T17:23:45.596Z] $ docker stop --time=1 d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 [2023-09-20T17:23:46.868Z] $ docker rm -f --volumes d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:23:47.255Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:23:47.506Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:23:47.524Z] [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-09-20T17:23:48.096Z] provisioning config files... [2023-09-20T17:23:48.104Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config1821877406672555447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:48.448Z] ---> docker-login.sh [2023-09-20T17:23:48.448Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:23:48.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:48.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:48.448Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:48.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:48.448Z] [2023-09-20T17:23:48.448Z] Login Succeeded [2023-09-20T17:23:48.448Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:23:48.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:48.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:48.448Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:48.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:48.448Z] [2023-09-20T17:23:48.448Z] Login Succeeded [2023-09-20T17:23:48.448Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:23:48.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:48.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:48.707Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:48.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:48.707Z] [2023-09-20T17:23:48.707Z] Login Succeeded [2023-09-20T17:23:48.707Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:23:48.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:48.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:48.707Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:48.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:48.707Z] [2023-09-20T17:23:48.707Z] Login Succeeded [2023-09-20T17:23:48.707Z] docker.io [2023-09-20T17:23:48.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:48.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:48.967Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:48.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:48.967Z] [2023-09-20T17:23:48.967Z] Login Succeeded [2023-09-20T17:23:48.967Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:23:48.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:23:49.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:49.202Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-09-20T17:23:49.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:49.265Z] ========================================================= [2023-09-20T17:23:49.265Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-09-20T17:23:49.265Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:49.690Z] + 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-09-20T17:23:49.690Z] Sending build context to Docker daemon 4.913MB [2023-09-20T17:23:49.690Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-20T17:23:49.690Z] Step 2/21 : FROM ${BASE} as builder [2023-09-20T17:23:49.954Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-09-20T17:23:49.954Z] 91d30c5bc195: Pulling fs layer [2023-09-20T17:23:49.954Z] 316e5a4585fb: Pulling fs layer [2023-09-20T17:23:49.954Z] 91d30c5bc195: Verifying Checksum [2023-09-20T17:23:49.954Z] 91d30c5bc195: Download complete [2023-09-20T17:23:49.954Z] 91d30c5bc195: Pull complete [2023-09-20T17:23:50.525Z] 316e5a4585fb: Download complete [2023-09-20T17:23:53.819Z] 316e5a4585fb: Pull complete [2023-09-20T17:23:53.820Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-09-20T17:23:53.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-09-20T17:23:53.820Z] ---> e83ffa357ff4 [2023-09-20T17:23:53.820Z] 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-09-20T17:23:55.211Z] ---> Running in 2332b5856d11 [2023-09-20T17:23:55.468Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T17:23:55.726Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:23:55.726Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:23:55.726Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:23:55.984Z] Removing intermediate container 2332b5856d11 [2023-09-20T17:23:55.984Z] ---> 7d0984be2681 [2023-09-20T17:23:55.984Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:23:56.242Z] ---> Running in 1bf0a88bb16e [2023-09-20T17:23:56.808Z] Removing intermediate container 1bf0a88bb16e [2023-09-20T17:23:56.808Z] ---> a308517435f8 [2023-09-20T17:23:56.808Z] 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-09-20T17:23:56.808Z] ---> Running in 6ff2c9490822 [2023-09-20T17:23:57.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:57.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:57.327Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:57.894Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:23:57.894Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:23:57.894Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:23:57.894Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-20T17:23:57.894Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-20T17:23:57.894Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T17:23:58.829Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T17:23:58.829Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-20T17:23:58.829Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-20T17:23:58.829Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T17:23:58.829Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T17:23:59.396Z] (11/16) Installing libblkid (2.38-r1) [2023-09-20T17:23:59.396Z] (12/16) Installing libuuid (2.38-r1) [2023-09-20T17:23:59.396Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-20T17:23:59.396Z] (14/16) Installing libmount (2.38-r1) [2023-09-20T17:23:59.658Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-20T17:23:59.658Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-20T17:23:59.658Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:23:59.658Z] OK: 280 MiB in 90 packages [2023-09-20T17:24:00.226Z] Removing intermediate container 6ff2c9490822 [2023-09-20T17:24:00.226Z] ---> 1696eb6d69b3 [2023-09-20T17:24:00.226Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-20T17:24:00.226Z] ---> Running in 2bb23ec5301c [2023-09-20T17:24:00.792Z] Removing intermediate container 2bb23ec5301c [2023-09-20T17:24:00.792Z] ---> 5087d393c8d2 [2023-09-20T17:24:00.792Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-20T17:24:00.792Z] ---> 8e5f2a5848ee [2023-09-20T17:24:00.792Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-20T17:24:01.051Z] ---> 176df4280a5e [2023-09-20T17:24:01.051Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-20T17:24:01.619Z] ---> 75af701dfaa9 [2023-09-20T17:24:01.619Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-20T17:24:01.878Z] ---> ac1404577a2b [2023-09-20T17:24:01.878Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-20T17:24:02.137Z] ---> 45dc03748921 [2023-09-20T17:24:02.137Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-20T17:24:02.395Z] ---> fbcc5d943f77 [2023-09-20T17:24:02.395Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-20T17:24:02.653Z] ---> Running in 3ab6d92a5d7c [2023-09-20T17:24:02.923Z] Still waiting to schedule task [2023-09-20T17:24:02.923Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:24:02.923Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:24:02.923Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6741’ is offline [2023-09-20T17:24:03.221Z] + CPPCHECK=false [2023-09-20T17:24:03.221Z] + DOCGEN=false [2023-09-20T17:24:03.221Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-20T17:24:03.221Z] + '[' 0 -gt 0 ] [2023-09-20T17:24:03.221Z] + readlink -f ./scripts/build.sh [2023-09-20T17:24:03.221Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-20T17:24:03.221Z] + dirname /tmp/sdk/scripts [2023-09-20T17:24:03.221Z] + ROOT=/tmp/sdk [2023-09-20T17:24:03.221Z] + cd /tmp/sdk [2023-09-20T17:24:03.221Z] + mkdir -p /tmp/sdk/build/release [2023-09-20T17:24:03.221Z] + cd /tmp/sdk/build/release [2023-09-20T17:24:03.221Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-20T17:24:03.480Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T17:24:03.480Z] -- Detecting C compiler ABI info [2023-09-20T17:24:03.480Z] -- Detecting C compiler ABI info - done [2023-09-20T17:24:03.480Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T17:24:03.480Z] -- Detecting C compile features [2023-09-20T17:24:03.480Z] -- Detecting C compile features - done [2023-09-20T17:24:03.480Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T17:24:03.480Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T17:24:03.480Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T17:24:03.480Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T17:24:03.480Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T17:24:03.480Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T17:24:03.480Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T17:24:03.480Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T17:24:03.480Z] -- /opt/iotech/iot/1.5/include [2023-09-20T17:24:03.480Z] -- C SDK 0.0.0 for Linux [2023-09-20T17:24:03.480Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T17:24:03.738Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T17:24:03.738Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T17:24:03.738Z] -- Configuring done [2023-09-20T17:24:03.738Z] -- Generating done [2023-09-20T17:24:03.738Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-20T17:24:03.738Z] + make all package [2023-09-20T17:24:03.738Z] + tee release.log [2023-09-20T17:24:03.738Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T17:24:03.995Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T17:24:03.995Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T17:24:04.254Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T17:24:04.254Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T17:24:04.513Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T17:24:04.771Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T17:24:05.029Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T17:24:05.029Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T17:24:05.288Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T17:24:05.548Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T17:24:05.549Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T17:24:05.808Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T17:24:05.808Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T17:24:06.068Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T17:24:06.325Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T17:24:06.325Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T17:24:06.586Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T17:24:06.586Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T17:24:06.846Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T17:24:07.106Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T17:24:08.046Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T17:24:08.046Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T17:24:08.046Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T17:24:08.306Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T17:24:08.306Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T17:24:08.566Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T17:24:09.136Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T17:24:09.136Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T17:24:09.136Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T17:24:09.399Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T17:24:09.658Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T17:24:09.916Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T17:24:09.916Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T17:24:10.176Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T17:24:10.176Z] [ 68%] Built target csdk [2023-09-20T17:24:10.176Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T17:24:10.176Z] [ 72%] Linking C executable template [2023-09-20T17:24:10.434Z] [ 72%] Built target template [2023-09-20T17:24:10.434Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T17:24:10.434Z] [ 76%] Linking C executable device-counter [2023-09-20T17:24:10.434Z] [ 76%] Built target device-counter [2023-09-20T17:24:10.434Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T17:24:10.691Z] [ 80%] Linking C executable device-random [2023-09-20T17:24:10.691Z] [ 80%] Built target device-random [2023-09-20T17:24:10.691Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T17:24:10.951Z] [ 84%] Linking C executable device-gyro [2023-09-20T17:24:10.951Z] [ 84%] Built target device-gyro [2023-09-20T17:24:10.951Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T17:24:10.951Z] [ 88%] Linking C executable device-bitfields [2023-09-20T17:24:10.951Z] [ 88%] Built target device-bitfields [2023-09-20T17:24:11.209Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T17:24:11.209Z] [ 92%] Linking C executable template-discovery [2023-09-20T17:24:11.209Z] [ 92%] Built target template-discovery [2023-09-20T17:24:11.209Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T17:24:11.480Z] [ 96%] Linking C executable device-file [2023-09-20T17:24:11.480Z] [ 96%] Built target device-file [2023-09-20T17:24:11.480Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T17:24:11.738Z] [100%] Linking C executable device-terminal [2023-09-20T17:24:11.738Z] [100%] Built target device-terminal [2023-09-20T17:24:11.738Z] Run CPack packaging tool... [2023-09-20T17:24:11.738Z] CPack: Create package using TGZ [2023-09-20T17:24:11.738Z] CPack: Install projects [2023-09-20T17:24:11.738Z] CPack: - Run preinstall target for: Csdk [2023-09-20T17:24:11.997Z] CPack: - Install project: Csdk [] [2023-09-20T17:24:11.997Z] CPack: Create package [2023-09-20T17:24:11.997Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-20T17:24:11.997Z] + '[' false '=' true ] [2023-09-20T17:24:11.997Z] + '[' false '=' true ] [2023-09-20T17:24:11.997Z] + mkdir -p /tmp/sdk/build/debug [2023-09-20T17:24:11.997Z] + cd /tmp/sdk/build/debug [2023-09-20T17:24:11.997Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-20T17:24:11.997Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T17:24:11.997Z] -- Detecting C compiler ABI info [2023-09-20T17:24:12.257Z] -- Detecting C compiler ABI info - done [2023-09-20T17:24:12.257Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T17:24:12.257Z] -- Detecting C compile features [2023-09-20T17:24:12.257Z] -- Detecting C compile features - done [2023-09-20T17:24:12.257Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T17:24:12.257Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T17:24:12.257Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T17:24:12.257Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T17:24:12.257Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T17:24:12.257Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T17:24:12.257Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T17:24:12.257Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T17:24:12.257Z] -- /opt/iotech/iot/1.5/include [2023-09-20T17:24:12.257Z] -- C SDK 0.0.0 for Linux [2023-09-20T17:24:12.257Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T17:24:12.257Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T17:24:12.257Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T17:24:12.516Z] -- Configuring done [2023-09-20T17:24:12.516Z] -- Generating done [2023-09-20T17:24:12.516Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-20T17:24:12.516Z] + make [2023-09-20T17:24:12.516Z] + tee debug.log [2023-09-20T17:24:12.516Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T17:24:12.516Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T17:24:12.516Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T17:24:12.776Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T17:24:12.776Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T17:24:12.776Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T17:24:13.035Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T17:24:13.035Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T17:24:13.035Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T17:24:13.293Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T17:24:13.293Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T17:24:13.293Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T17:24:13.552Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T17:24:13.552Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T17:24:13.552Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T17:24:13.810Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T17:24:13.810Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T17:24:13.810Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T17:24:14.068Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T17:24:14.068Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T17:24:14.068Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T17:24:14.326Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T17:24:14.584Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T17:24:14.584Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T17:24:14.584Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T17:24:14.584Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T17:24:14.842Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T17:24:15.100Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T17:24:15.101Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T17:24:15.101Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T17:24:15.101Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T17:24:15.361Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T17:24:15.361Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T17:24:15.620Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T17:24:15.620Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T17:24:15.620Z] [ 68%] Built target csdk [2023-09-20T17:24:15.620Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T17:24:15.620Z] [ 72%] Linking C executable template [2023-09-20T17:24:15.879Z] [ 72%] Built target template [2023-09-20T17:24:15.879Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T17:24:15.879Z] [ 76%] Linking C executable device-counter [2023-09-20T17:24:15.879Z] [ 76%] Built target device-counter [2023-09-20T17:24:15.879Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T17:24:15.879Z] [ 80%] Linking C executable device-random [2023-09-20T17:24:16.138Z] [ 80%] Built target device-random [2023-09-20T17:24:16.138Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T17:24:16.138Z] [ 84%] Linking C executable device-gyro [2023-09-20T17:24:16.138Z] [ 84%] Built target device-gyro [2023-09-20T17:24:16.138Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T17:24:16.138Z] [ 88%] Linking C executable device-bitfields [2023-09-20T17:24:16.396Z] [ 88%] Built target device-bitfields [2023-09-20T17:24:16.396Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T17:24:16.396Z] [ 92%] Linking C executable template-discovery [2023-09-20T17:24:16.396Z] [ 92%] Built target template-discovery [2023-09-20T17:24:16.396Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T17:24:16.654Z] [ 96%] Linking C executable device-file [2023-09-20T17:24:16.654Z] [ 96%] Built target device-file [2023-09-20T17:24:16.654Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T17:24:16.654Z] [100%] Linking C executable device-terminal [2023-09-20T17:24:16.912Z] [100%] Built target device-terminal [2023-09-20T17:24:16.912Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.912Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.912Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 68%] Built target csdk [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 72%] Built target template [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 76%] Built target device-counter [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 80%] Built target device-random [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 84%] Built target device-gyro [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 88%] Built target device-bitfields [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 92%] Built target template-discovery [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [ 96%] Built target device-file [2023-09-20T17:24:16.913Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] [100%] Built target device-terminal [2023-09-20T17:24:16.913Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:16.913Z] Install the project... [2023-09-20T17:24:16.913Z] -- Install configuration: "Release" [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-20T17:24:16.913Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/devsdk [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-20T17:24:16.913Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-20T17:24:16.913Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:24:17.893Z] Removing intermediate container 3ab6d92a5d7c [2023-09-20T17:24:17.893Z] ---> 3b43ebbb5484 [2023-09-20T17:24:17.893Z] Step 14/21 : FROM ${BASE} [2023-09-20T17:24:17.893Z] ---> e83ffa357ff4 [2023-09-20T17:24:17.893Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-20T17:24:18.150Z] ---> Running in 99e43e51b142 [2023-09-20T17:24:18.716Z] Removing intermediate container 99e43e51b142 [2023-09-20T17:24:18.716Z] ---> b74099425acc [2023-09-20T17:24:18.716Z] 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-09-20T17:24:18.716Z] ---> Running in dbd9e2d3c38f [2023-09-20T17:24:19.282Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T17:24:19.539Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:24:19.539Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:24:19.539Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:24:19.798Z] Removing intermediate container dbd9e2d3c38f [2023-09-20T17:24:19.798Z] ---> 93bce1c41f51 [2023-09-20T17:24:19.798Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:24:20.055Z] ---> Running in 11715515a35d [2023-09-20T17:24:20.993Z] Removing intermediate container 11715515a35d [2023-09-20T17:24:20.993Z] ---> b3dc5f73c5ec [2023-09-20T17:24:20.993Z] 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-09-20T17:24:21.253Z] ---> Running in 96b6a4a77603 [2023-09-20T17:24:21.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:21.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:21.771Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:22.338Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:24:22.338Z] (1/7) Installing curl (8.2.1-r0) [2023-09-20T17:24:22.338Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-20T17:24:22.338Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-20T17:24:22.338Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-20T17:24:23.275Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-20T17:24:23.275Z] (6/7) Installing libuuid (2.38-r1) [2023-09-20T17:24:23.275Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T17:24:23.842Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:24:23.842Z] OK: 276 MiB in 83 packages [2023-09-20T17:24:24.103Z] Removing intermediate container 96b6a4a77603 [2023-09-20T17:24:24.103Z] ---> 210e42bd5d70 [2023-09-20T17:24:24.103Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-20T17:24:24.362Z] ---> 6367eea4b5cd [2023-09-20T17:24:24.362Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-20T17:24:24.362Z] ---> 0f8465e648b7 [2023-09-20T17:24:24.362Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-20T17:24:24.622Z] ---> cb27dff21410 [2023-09-20T17:24:24.622Z] Successfully built cb27dff21410 [2023-09-20T17:24:24.622Z] 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-09-20T17:24:25.301Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:24:25.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:25.437Z] prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container [2023-09-20T17:24:25.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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 ******** ci-base-image-x86_64 cat [2023-09-20T17:24:25.776Z] $ docker top 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:24:26.163Z] + make test [2023-09-20T17:24:26.163Z] echo "make test" [2023-09-20T17:24:26.163Z] make test [Pipeline] } [2023-09-20T17:24:26.203Z] $ docker stop --time=1 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef [2023-09-20T17:24:27.490Z] $ docker rm -f --volumes 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:24:28.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:24:28.564Z] + ls -al . [2023-09-20T17:24:28.564Z] total 212 [2023-09-20T17:24:28.564Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:23 . [2023-09-20T17:24:28.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 .. [2023-09-20T17:24:28.564Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:23 .git [2023-09-20T17:24:28.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 .github [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 17:23 .gitignore [2023-09-20T17:24:28.564Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 17:23 Attribution.txt [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 17:23 CHANGES [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 17:23 Doxyfile [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:23 GOVERNANCE.md [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 17:23 Jenkinsfile [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:23 LICENSE [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 17:23 Makefile [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:23 OWNERS.md [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 17:23 README.IOT.md [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 17:23 README.md [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 17:23 README.v3.md [2023-09-20T17:24:28.564Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:24:28.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 docs [2023-09-20T17:24:28.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 include [2023-09-20T17:24:28.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 scripts [2023-09-20T17:24:28.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:28.947Z] + 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=18b6c29ec549221dfc69d991ca1228da44bcacc1 --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:24:28.947Z] Sending build context to Docker daemon 4.913MB [2023-09-20T17:24:28.947Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-20T17:24:28.947Z] Step 2/17 : FROM ${BASE} [2023-09-20T17:24:28.947Z] ---> cb27dff21410 [2023-09-20T17:24:28.947Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-20T17:24:28.947Z] ---> Running in 45d01d119a94 [2023-09-20T17:24:28.947Z] Removing intermediate container 45d01d119a94 [2023-09-20T17:24:28.947Z] ---> 4becc05fdde4 [2023-09-20T17:24:28.947Z] 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-09-20T17:24:29.206Z] ---> Running in f6bfeacd2697 [2023-09-20T17:24:29.464Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-20T17:24:29.722Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:24:29.722Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:24:29.722Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:24:29.979Z] Removing intermediate container f6bfeacd2697 [2023-09-20T17:24:29.979Z] ---> 4a4cb9645547 [2023-09-20T17:24:29.979Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:24:29.979Z] ---> Running in c00196094e25 [2023-09-20T17:24:30.546Z] Removing intermediate container c00196094e25 [2023-09-20T17:24:30.546Z] ---> 376939ee78b2 [2023-09-20T17:24:30.547Z] 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-09-20T17:24:30.547Z] ---> Running in 5f2ac8c8ebe4 [2023-09-20T17:24:30.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:30.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:31.066Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:31.632Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:24:31.632Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:24:31.632Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:24:31.632Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T17:24:32.198Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T17:24:32.533Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-20T17:24:32.533Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T17:24:32.533Z] (7/11) Installing libblkid (2.38-r1) [2023-09-20T17:24:32.533Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-20T17:24:32.533Z] (9/11) Installing libmount (2.38-r1) [2023-09-20T17:24:32.533Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-20T17:24:32.533Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-20T17:24:32.533Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:24:32.533Z] OK: 281 MiB in 92 packages [2023-09-20T17:24:33.099Z] Removing intermediate container 5f2ac8c8ebe4 [2023-09-20T17:24:33.099Z] ---> 694000cab5bc [2023-09-20T17:24:33.099Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-20T17:24:33.357Z] ---> 1c997caced09 [2023-09-20T17:24:33.357Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-20T17:24:33.924Z] ---> dca1932e47ff [2023-09-20T17:24:33.924Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-20T17:24:34.185Z] ---> 8dfc2b939878 [2023-09-20T17:24:34.185Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-20T17:24:34.185Z] ---> 3e2e9f33cbbf [2023-09-20T17:24:34.185Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-20T17:24:34.442Z] ---> f3618cbadca1 [2023-09-20T17:24:34.442Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-20T17:24:34.701Z] ---> fc53d3f0216a [2023-09-20T17:24:34.701Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-20T17:24:34.701Z] ---> Running in ea4638aa3bf8 [2023-09-20T17:24:34.959Z] Removing intermediate container ea4638aa3bf8 [2023-09-20T17:24:34.959Z] ---> f9b961153ab3 [2023-09-20T17:24:34.959Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-20T17:24:35.217Z] ---> Running in 9c05e4a49fd4 [2023-09-20T17:24:35.217Z] Removing intermediate container 9c05e4a49fd4 [2023-09-20T17:24:35.217Z] ---> 987e7bccf787 [2023-09-20T17:24:35.217Z] Step 15/17 : LABEL arch=amd64 [2023-09-20T17:24:35.475Z] ---> Running in 50078ba71296 [2023-09-20T17:24:35.475Z] Removing intermediate container 50078ba71296 [2023-09-20T17:24:35.475Z] ---> 834ebfcd05fb [2023-09-20T17:24:35.475Z] Step 16/17 : LABEL git_sha=18b6c29ec549221dfc69d991ca1228da44bcacc1 [2023-09-20T17:24:35.475Z] ---> Running in 56ef3e063a0b [2023-09-20T17:24:35.475Z] Removing intermediate container 56ef3e063a0b [2023-09-20T17:24:35.475Z] ---> dee641098589 [2023-09-20T17:24:35.475Z] Step 17/17 : LABEL version=0.0.0 [2023-09-20T17:24:35.475Z] ---> Running in 067830fd100f [2023-09-20T17:24:35.732Z] Removing intermediate container 067830fd100f [2023-09-20T17:24:35.732Z] ---> bed220991bfd [2023-09-20T17:24:35.732Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-20T17:24:35.732Z] Successfully built bed220991bfd [2023-09-20T17:24:35.732Z] 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-09-20T17:24:36.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:36.669Z] [2023-09-20T17:24:36.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:37.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:37.048Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:24:37.048Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:24:37.048Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:24:37.048Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:24:37.048Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:24:37.048Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:24:37.048Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:24:37.048Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:24:37.048Z] 33b1e0a273af: Waiting [2023-09-20T17:24:37.048Z] 5d3b04190fa2: Waiting [2023-09-20T17:24:37.048Z] 2f39f015ded8: Waiting [2023-09-20T17:24:37.048Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:24:37.048Z] 5c69ac0246d0: Download complete [2023-09-20T17:24:37.048Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:24:37.048Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:24:37.306Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:24:37.306Z] 33b1e0a273af: Download complete [2023-09-20T17:24:37.306Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:24:37.306Z] 5d3b04190fa2: Download complete [2023-09-20T17:24:37.306Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:24:37.306Z] ec43610c2a17: Download complete [2023-09-20T17:24:37.306Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:24:37.306Z] 5eb5b503b376: Download complete [2023-09-20T17:24:38.239Z] 2f39f015ded8: Download complete [2023-09-20T17:24:38.498Z] 5eb5b503b376: Pull complete [2023-09-20T17:24:38.498Z] 5c69ac0246d0: Pull complete [2023-09-20T17:24:38.755Z] ec43610c2a17: Pull complete [2023-09-20T17:24:39.013Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:24:39.013Z] 33b1e0a273af: Pull complete [2023-09-20T17:24:39.270Z] 5d3b04190fa2: Pull complete [2023-09-20T17:24:43.457Z] 2f39f015ded8: Pull complete [2023-09-20T17:24:43.457Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:24:43.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:43.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:43.659Z] prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container [2023-09-20T17:24:43.686Z] $ 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-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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-09-20T17:24:46.880Z] $ docker top 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:24:47.307Z] ---> job-cost.sh [2023-09-20T17:24:47.307Z] lf-activate-venv: SKIPPING [2023-09-20T17:24:47.307Z] INFO: No Stack... [2023-09-20T17:24:47.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:24:47.827Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:24:48.142Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/cost.csv [2023-09-20T17:24:48.142Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:24:48.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [2023-09-20T17:24:48.182Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] did not exist. Created. [2023-09-20T17:24:48.182Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:24:48.563Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:24:48.634Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:24:48.652Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:24:48.721Z] $ docker stop --time=1 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab [2023-09-20T17:24:49.873Z] $ docker rm -f --volumes 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:27:06.654Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6755 in /w/workspace/edgexfoundry_device-sdk-c_PR-483 [Pipeline] { [Pipeline] ws [2023-09-20T17:27:06.717Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:27:06.829Z] Selected Git installation does not exist. Using Default [2023-09-20T17:27:06.829Z] The recommended git tool is: NONE [2023-09-20T17:27:17.057Z] using credential edgex-jenkins-ssh [2023-09-20T17:27:17.086Z] Cloning the remote Git repository [2023-09-20T17:27:17.157Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-09-20T17:27:17.296Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-09-20T17:27:17.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-20T17:27:17.512Z] > git --version # timeout=10 [2023-09-20T17:27:17.545Z] > git --version # 'git version 2.25.1' [2023-09-20T17:27:17.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:17.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:27:19.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-20T17:27:19.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:27:21.884Z] Merging remotes/origin/main commit b62e37af488d81aa36bc8e7f628d0bcafa679f3c into PR head commit 18b6c29ec549221dfc69d991ca1228da44bcacc1 [2023-09-20T17:27:21.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-20T17:27:21.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-20T17:27:21.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:21.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:27:21.913Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:27:22.056Z] > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 [2023-09-20T17:27:22.451Z] Merge succeeded, producing 18b6c29ec549221dfc69d991ca1228da44bcacc1 [2023-09-20T17:27:22.451Z] Checking out Revision 18b6c29ec549221dfc69d991ca1228da44bcacc1 (PR-483) [2023-09-20T17:27:22.230Z] > git remote # timeout=10 [2023-09-20T17:27:22.263Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:27:22.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:22.348Z] > git merge b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 [2023-09-20T17:27:22.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:27:22.463Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:27:22.497Z] > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 [2023-09-20T17:27:26.532Z] Commit message: "ci: add automated release workflow on tag creation" [2023-09-20T17:27:26.704Z] > git --version # timeout=10 [2023-09-20T17:27:26.757Z] > git --version # 'git version 2.25.1' [2023-09-20T17:27:26.843Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:27:28.159Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:27:28.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:27:28.159Z] Dload Upload Total Spent Left Speed [2023-09-20T17:27:28.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-09-20T17:27:29.209Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:27:29.654Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:27:29.654Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:27:29.943Z] { [2023-09-20T17:27:29.943Z] "registry-mirrors": [ [2023-09-20T17:27:29.943Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:27:29.943Z] ], [2023-09-20T17:27:29.943Z] "bip": "10.250.0.254/24", [2023-09-20T17:27:29.943Z] "hosts": [ [2023-09-20T17:27:29.943Z] "tcp://0.0.0.0:5555", [2023-09-20T17:27:29.943Z] "unix:///var/run/docker.sock" [2023-09-20T17:27:29.943Z] ], [2023-09-20T17:27:29.943Z] "mtu": 1458, [2023-09-20T17:27:29.943Z] "selinux-enabled": true, [2023-09-20T17:27:29.943Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:27:29.943Z] } [Pipeline] sh [2023-09-20T17:27:30.329Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:27:30.709Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:27:49.164Z] provisioning config files... [2023-09-20T17:27:49.200Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1335738535959319957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:27:49.879Z] ---> docker-login.sh [2023-09-20T17:27:49.879Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:27:50.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:50.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:50.426Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:50.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:50.426Z] [2023-09-20T17:27:50.426Z] Login Succeeded [2023-09-20T17:27:50.426Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:27:50.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:50.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:50.701Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:50.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:50.701Z] [2023-09-20T17:27:50.701Z] Login Succeeded [2023-09-20T17:27:50.701Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:27:50.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:51.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:51.251Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:51.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:51.251Z] [2023-09-20T17:27:51.251Z] Login Succeeded [2023-09-20T17:27:51.251Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:27:51.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:51.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:51.526Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:51.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:51.526Z] [2023-09-20T17:27:51.526Z] Login Succeeded [2023-09-20T17:27:51.526Z] docker.io [2023-09-20T17:27:52.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:52.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:52.393Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:52.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:52.393Z] [2023-09-20T17:27:52.393Z] Login Succeeded [2023-09-20T17:27:52.393Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:27:52.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:27:52.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:52.971Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-09-20T17:27:53.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:53.043Z] ========================================================= [2023-09-20T17:27:53.043Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-09-20T17:27:53.043Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:27:53.519Z] + 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-09-20T17:27:53.793Z] Sending build context to Docker daemon 2.937MB [2023-09-20T17:27:54.069Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-20T17:27:54.069Z] Step 2/21 : FROM ${BASE} as builder [2023-09-20T17:27:54.069Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-09-20T17:27:54.069Z] 547446be3368: Pulling fs layer [2023-09-20T17:27:54.069Z] 76bd08e1cacc: Pulling fs layer [2023-09-20T17:27:54.349Z] 547446be3368: Verifying Checksum [2023-09-20T17:27:54.349Z] 547446be3368: Download complete [2023-09-20T17:27:54.951Z] 547446be3368: Pull complete [2023-09-20T17:27:56.381Z] 76bd08e1cacc: Verifying Checksum [2023-09-20T17:27:56.382Z] 76bd08e1cacc: Download complete [2023-09-20T17:28:04.657Z] 76bd08e1cacc: Pull complete [2023-09-20T17:28:04.657Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-09-20T17:28:04.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-09-20T17:28:04.657Z] ---> 295cd00e64f4 [2023-09-20T17:28:04.657Z] 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-09-20T17:28:05.277Z] ---> Running in 9a078cb9e664 [2023-09-20T17:28:06.710Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T17:28:07.308Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:28:07.308Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:28:07.308Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:28:07.903Z] Removing intermediate container 9a078cb9e664 [2023-09-20T17:28:07.903Z] ---> f7e6b9e9e78c [2023-09-20T17:28:07.903Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:28:08.179Z] ---> Running in d6eea290b8be [2023-09-20T17:28:10.138Z] Removing intermediate container d6eea290b8be [2023-09-20T17:28:10.138Z] ---> 8515461c71f5 [2023-09-20T17:28:10.138Z] 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-09-20T17:28:10.138Z] ---> Running in 133db0ee2b84 [2023-09-20T17:28:11.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:28:11.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:28:12.311Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:28:13.741Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:28:13.741Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:28:13.741Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:28:13.741Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-20T17:28:13.741Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-20T17:28:13.741Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T17:28:14.332Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T17:28:14.638Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-20T17:28:14.638Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-20T17:28:14.638Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T17:28:14.638Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T17:28:15.230Z] (11/16) Installing libblkid (2.38-r1) [2023-09-20T17:28:15.230Z] (12/16) Installing libuuid (2.38-r1) [2023-09-20T17:28:15.230Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-20T17:28:15.503Z] (14/16) Installing libmount (2.38-r1) [2023-09-20T17:28:15.503Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-20T17:28:15.503Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-20T17:28:15.503Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:28:15.503Z] OK: 286 MiB in 90 packages [2023-09-20T17:28:17.474Z] Removing intermediate container 133db0ee2b84 [2023-09-20T17:28:17.474Z] ---> 6e629da87b95 [2023-09-20T17:28:17.474Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-20T17:28:17.474Z] ---> Running in 76fb43028bfc [2023-09-20T17:28:19.470Z] Removing intermediate container 76fb43028bfc [2023-09-20T17:28:19.470Z] ---> f004af868f3f [2023-09-20T17:28:19.470Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-20T17:28:19.741Z] ---> eaf79d1ff407 [2023-09-20T17:28:19.741Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-20T17:28:20.718Z] ---> 6702481d2c8a [2023-09-20T17:28:20.718Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-20T17:28:21.309Z] ---> ebd054a4ff7e [2023-09-20T17:28:21.309Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-20T17:28:21.907Z] ---> 4edf4e8a4357 [2023-09-20T17:28:21.907Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-20T17:28:22.503Z] ---> 64be566744e1 [2023-09-20T17:28:22.503Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-20T17:28:23.097Z] ---> 2c8edded6b96 [2023-09-20T17:28:23.097Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-20T17:28:23.097Z] ---> Running in 9b26d4b4fc19 [2023-09-20T17:28:24.534Z] + CPPCHECK=false [2023-09-20T17:28:24.534Z] + DOCGEN=false [2023-09-20T17:28:24.534Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-20T17:28:24.534Z] + '[' 0 -gt 0 ] [2023-09-20T17:28:24.534Z] + readlink -f ./scripts/build.sh [2023-09-20T17:28:24.534Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-20T17:28:24.534Z] + dirname /tmp/sdk/scripts [2023-09-20T17:28:24.534Z] + ROOT=/tmp/sdk [2023-09-20T17:28:24.534Z] + cd /tmp/sdk [2023-09-20T17:28:24.534Z] + mkdir -p /tmp/sdk/build/release [2023-09-20T17:28:24.534Z] + cd /tmp/sdk/build/release [2023-09-20T17:28:24.534Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-20T17:28:24.809Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T17:28:24.809Z] -- Detecting C compiler ABI info [2023-09-20T17:28:25.406Z] -- Detecting C compiler ABI info - done [2023-09-20T17:28:25.406Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T17:28:25.406Z] -- Detecting C compile features [2023-09-20T17:28:25.406Z] -- Detecting C compile features - done [2023-09-20T17:28:25.680Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T17:28:25.953Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T17:28:25.953Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T17:28:25.953Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T17:28:25.953Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T17:28:25.953Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T17:28:25.953Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T17:28:25.953Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T17:28:25.953Z] -- /opt/iotech/iot/1.5/include [2023-09-20T17:28:25.953Z] -- C SDK 0.0.0 for Linux [2023-09-20T17:28:25.953Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T17:28:26.546Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T17:28:26.546Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T17:28:26.817Z] -- Configuring done [2023-09-20T17:28:27.410Z] -- Generating done [2023-09-20T17:28:27.410Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-20T17:28:27.410Z] + make all package [2023-09-20T17:28:27.410Z] + tee release.log [2023-09-20T17:28:27.410Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T17:28:29.386Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T17:28:30.818Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T17:28:32.242Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T17:28:33.664Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T17:28:34.648Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T17:28:38.960Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T17:28:40.917Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T17:28:40.917Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T17:28:42.880Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T17:28:47.166Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T17:28:48.137Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T17:28:49.560Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T17:28:50.989Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T17:28:51.971Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T17:28:53.946Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T17:28:54.545Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T17:28:59.936Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T17:28:59.936Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T17:29:00.911Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T17:29:03.520Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T17:29:13.664Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T17:29:14.269Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T17:29:14.863Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T17:29:15.844Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T17:29:16.438Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T17:29:19.821Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T17:29:24.117Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T17:29:25.096Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T17:29:26.534Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T17:29:27.972Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T17:29:33.361Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T17:29:34.783Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T17:29:35.757Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T17:29:36.736Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T17:29:36.736Z] [ 68%] Built target csdk [2023-09-20T17:29:36.736Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T17:29:38.814Z] [ 72%] Linking C executable template [2023-09-20T17:29:39.088Z] [ 72%] Built target template [2023-09-20T17:29:39.363Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T17:29:40.367Z] [ 76%] Linking C executable device-counter [2023-09-20T17:29:40.644Z] [ 76%] Built target device-counter [2023-09-20T17:29:40.917Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T17:29:41.892Z] [ 80%] Linking C executable device-random [2023-09-20T17:29:42.164Z] [ 80%] Built target device-random [2023-09-20T17:29:42.164Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T17:29:43.142Z] [ 84%] Linking C executable device-gyro [2023-09-20T17:29:43.736Z] [ 84%] Built target device-gyro [2023-09-20T17:29:43.736Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T17:29:44.706Z] [ 88%] Linking C executable device-bitfields [2023-09-20T17:29:44.977Z] [ 88%] Built target device-bitfields [2023-09-20T17:29:45.249Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T17:29:46.672Z] [ 92%] Linking C executable template-discovery [2023-09-20T17:29:47.262Z] [ 92%] Built target template-discovery [2023-09-20T17:29:47.262Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T17:29:48.686Z] [ 96%] Linking C executable device-file [2023-09-20T17:29:48.955Z] [ 96%] Built target device-file [2023-09-20T17:29:49.228Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T17:29:50.195Z] [100%] Linking C executable device-terminal [2023-09-20T17:29:50.799Z] [100%] Built target device-terminal [2023-09-20T17:29:50.800Z] Run CPack packaging tool... [2023-09-20T17:29:51.070Z] CPack: Create package using TGZ [2023-09-20T17:29:51.070Z] CPack: Install projects [2023-09-20T17:29:51.070Z] CPack: - Run preinstall target for: Csdk [2023-09-20T17:29:52.036Z] CPack: - Install project: Csdk [] [2023-09-20T17:29:52.036Z] CPack: Create package [2023-09-20T17:29:52.036Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-20T17:29:52.036Z] + '[' false '=' true ] [2023-09-20T17:29:52.036Z] + '[' false '=' true ] [2023-09-20T17:29:52.036Z] + mkdir -p /tmp/sdk/build/debug [2023-09-20T17:29:52.036Z] + cd /tmp/sdk/build/debug [2023-09-20T17:29:52.036Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-20T17:29:52.625Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T17:29:52.625Z] -- Detecting C compiler ABI info [2023-09-20T17:29:52.894Z] -- Detecting C compiler ABI info - done [2023-09-20T17:29:53.164Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T17:29:53.164Z] -- Detecting C compile features [2023-09-20T17:29:53.164Z] -- Detecting C compile features - done [2023-09-20T17:29:53.164Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T17:29:53.434Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T17:29:53.434Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T17:29:53.434Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T17:29:53.434Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T17:29:53.434Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T17:29:53.434Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T17:29:53.434Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T17:29:53.434Z] -- /opt/iotech/iot/1.5/include [2023-09-20T17:29:53.434Z] -- C SDK 0.0.0 for Linux [2023-09-20T17:29:53.434Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T17:29:54.025Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T17:29:54.025Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T17:29:54.297Z] -- Configuring done [2023-09-20T17:29:54.566Z] -- Generating done [2023-09-20T17:29:54.566Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-20T17:29:54.566Z] + + maketee [2023-09-20T17:29:54.566Z] debug.log [2023-09-20T17:29:54.837Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T17:29:55.431Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T17:29:56.405Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T17:29:57.002Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T17:29:57.598Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T17:29:58.195Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T17:29:59.624Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T17:30:00.216Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T17:30:00.486Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T17:30:01.082Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T17:30:02.506Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T17:30:03.097Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T17:30:03.687Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T17:30:04.336Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T17:30:04.927Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T17:30:05.898Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T17:30:06.168Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T17:30:07.592Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T17:30:07.863Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T17:30:08.135Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T17:30:09.562Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T17:30:11.519Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T17:30:12.112Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T17:30:12.382Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T17:30:12.970Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T17:30:13.560Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T17:30:14.544Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T17:30:17.148Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T17:30:17.425Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T17:30:18.398Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T17:30:18.986Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T17:30:20.409Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T17:30:20.999Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T17:30:21.589Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T17:30:22.178Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T17:30:22.448Z] [ 68%] Built target csdk [2023-09-20T17:30:22.448Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T17:30:23.038Z] [ 72%] Linking C executable template [2023-09-20T17:30:23.625Z] [ 72%] Built target template [2023-09-20T17:30:23.625Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T17:30:24.212Z] [ 76%] Linking C executable device-counter [2023-09-20T17:30:24.808Z] [ 76%] Built target device-counter [2023-09-20T17:30:24.808Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T17:30:25.079Z] [ 80%] Linking C executable device-random [2023-09-20T17:30:25.667Z] [ 80%] Built target device-random [2023-09-20T17:30:25.667Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T17:30:26.257Z] [ 84%] Linking C executable device-gyro [2023-09-20T17:30:26.527Z] [ 84%] Built target device-gyro [2023-09-20T17:30:26.796Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T17:30:27.389Z] [ 88%] Linking C executable device-bitfields [2023-09-20T17:30:27.660Z] [ 88%] Built target device-bitfields [2023-09-20T17:30:27.660Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T17:30:28.639Z] [ 92%] Linking C executable template-discovery [2023-09-20T17:30:28.912Z] [ 92%] Built target template-discovery [2023-09-20T17:30:28.912Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T17:30:29.499Z] [ 96%] Linking C executable device-file [2023-09-20T17:30:30.086Z] [ 96%] Built target device-file [2023-09-20T17:30:30.086Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T17:30:31.056Z] [100%] Linking C executable device-terminal [2023-09-20T17:30:31.327Z] [100%] Built target device-terminal [2023-09-20T17:30:31.327Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] [ 68%] Built target csdk [2023-09-20T17:30:31.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] [ 72%] Built target template [2023-09-20T17:30:31.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] [ 76%] Built target device-counter [2023-09-20T17:30:31.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] [ 80%] Built target device-random [2023-09-20T17:30:31.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] [ 84%] Built target device-gyro [2023-09-20T17:30:31.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:31.871Z] [ 88%] Built target device-bitfields [2023-09-20T17:30:31.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.140Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] [ 92%] Built target template-discovery [2023-09-20T17:30:32.141Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] [ 96%] Built target device-file [2023-09-20T17:30:32.141Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] [100%] Built target device-terminal [2023-09-20T17:30:32.141Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:32.141Z] Install the project... [2023-09-20T17:30:32.141Z] -- Install configuration: "Release" [2023-09-20T17:30:32.141Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-20T17:30:32.413Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/devsdk [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-20T17:30:32.413Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-20T17:30:32.413Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-20T17:30:33.843Z] Removing intermediate container 9b26d4b4fc19 [2023-09-20T17:30:33.843Z] ---> ad4d4fba605c [2023-09-20T17:30:33.843Z] Step 14/21 : FROM ${BASE} [2023-09-20T17:30:33.843Z] ---> 295cd00e64f4 [2023-09-20T17:30:33.843Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-20T17:30:33.843Z] ---> Running in 3caf414b2998 [2023-09-20T17:30:34.435Z] Removing intermediate container 3caf414b2998 [2023-09-20T17:30:34.435Z] ---> bd4dba79310e [2023-09-20T17:30:34.435Z] 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-09-20T17:30:34.435Z] ---> Running in e3e8e5b4a760 [2023-09-20T17:30:35.409Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T17:30:36.001Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:30:36.001Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:30:36.001Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:30:36.981Z] Removing intermediate container e3e8e5b4a760 [2023-09-20T17:30:36.981Z] ---> 01a18fd6e60c [2023-09-20T17:30:36.981Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:30:36.981Z] ---> Running in 6157a9be50bf [2023-09-20T17:30:38.956Z] Removing intermediate container 6157a9be50bf [2023-09-20T17:30:38.956Z] ---> 7e88ca3d27c5 [2023-09-20T17:30:38.956Z] 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-09-20T17:30:38.956Z] ---> Running in e3057f8d7e43 [2023-09-20T17:30:39.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:30:40.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:30:41.131Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:30:42.109Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:30:42.380Z] (1/7) Installing curl (8.2.1-r0) [2023-09-20T17:30:42.380Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-20T17:30:42.380Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-20T17:30:42.380Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-20T17:30:42.976Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-20T17:30:42.976Z] (6/7) Installing libuuid (2.38-r1) [2023-09-20T17:30:42.976Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T17:30:43.955Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:30:43.955Z] OK: 281 MiB in 83 packages [2023-09-20T17:30:45.398Z] Removing intermediate container e3057f8d7e43 [2023-09-20T17:30:45.398Z] ---> c6277d83f900 [2023-09-20T17:30:45.398Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-20T17:30:45.671Z] ---> b6859289269b [2023-09-20T17:30:45.671Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-20T17:30:46.647Z] ---> 5871ba51282f [2023-09-20T17:30:46.647Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-20T17:30:46.917Z] ---> 238c6e35c4be [2023-09-20T17:30:47.187Z] Successfully built 238c6e35c4be [2023-09-20T17:30:47.187Z] 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-09-20T17:30:47.924Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:30:47.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:30:48.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-6755 does not seem to be running inside a container [2023-09-20T17:30:48.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:30:50.009Z] $ docker top 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:30:50.975Z] + make test [2023-09-20T17:30:50.975Z] echo "make test" [2023-09-20T17:30:50.975Z] make test [Pipeline] } [2023-09-20T17:30:51.014Z] $ docker stop --time=1 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 [2023-09-20T17:30:52.850Z] $ docker rm -f --volumes 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:30:53.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:30:54.094Z] + ls -al . [2023-09-20T17:30:54.094Z] total 208 [2023-09-20T17:30:54.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 . [2023-09-20T17:30:54.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 .. [2023-09-20T17:30:54.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 .git [2023-09-20T17:30:54.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 .github [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 17:27 .gitignore [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 17:27 Attribution.txt [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 17:27 CHANGES [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 17:27 Doxyfile [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:27 GOVERNANCE.md [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 17:27 Jenkinsfile [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:27 LICENSE [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 17:27 Makefile [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:27 OWNERS.md [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 17:27 README.IOT.md [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 17:27 README.md [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 17:27 README.v3.md [2023-09-20T17:30:54.094Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:30:54.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 docs [2023-09-20T17:30:54.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 include [2023-09-20T17:30:54.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 scripts [2023-09-20T17:30:54.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:30:54.532Z] + 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=18b6c29ec549221dfc69d991ca1228da44bcacc1 --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:30:55.126Z] Sending build context to Docker daemon 2.937MB [2023-09-20T17:30:55.126Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-20T17:30:55.126Z] Step 2/17 : FROM ${BASE} [2023-09-20T17:30:55.126Z] ---> 238c6e35c4be [2023-09-20T17:30:55.126Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-20T17:30:56.103Z] ---> Running in 57ef420c6630 [2023-09-20T17:30:56.381Z] Removing intermediate container 57ef420c6630 [2023-09-20T17:30:56.381Z] ---> 8ea8eee5142a [2023-09-20T17:30:56.381Z] 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-09-20T17:30:56.381Z] ---> Running in 57084e1a6ed9 [2023-09-20T17:30:57.816Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-20T17:30:58.090Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T17:30:58.091Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T17:30:58.091Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T17:30:59.083Z] Removing intermediate container 57084e1a6ed9 [2023-09-20T17:30:59.083Z] ---> 2a9ae961dc4a [2023-09-20T17:30:59.083Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T17:30:59.083Z] ---> Running in 5eb6ee2e50bc [2023-09-20T17:31:01.146Z] Removing intermediate container 5eb6ee2e50bc [2023-09-20T17:31:01.146Z] ---> 5c7fe950a622 [2023-09-20T17:31:01.146Z] 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-09-20T17:31:01.146Z] ---> Running in 8948993ca214 [2023-09-20T17:31:02.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:31:02.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:31:03.602Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:31:04.581Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T17:31:04.581Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:31:04.853Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T17:31:04.853Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T17:31:05.446Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T17:31:05.718Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-20T17:31:05.718Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T17:31:05.718Z] (7/11) Installing libblkid (2.38-r1) [2023-09-20T17:31:05.718Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-20T17:31:05.718Z] (9/11) Installing libmount (2.38-r1) [2023-09-20T17:31:05.718Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-20T17:31:05.718Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-20T17:31:05.718Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T17:31:05.990Z] OK: 287 MiB in 92 packages [2023-09-20T17:31:07.418Z] Removing intermediate container 8948993ca214 [2023-09-20T17:31:07.418Z] ---> 0ae704713b2d [2023-09-20T17:31:07.418Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-20T17:31:08.011Z] ---> 9711574873e4 [2023-09-20T17:31:08.011Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-20T17:31:08.988Z] ---> 60a0a5f32449 [2023-09-20T17:31:08.988Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-20T17:31:09.586Z] ---> d43070466097 [2023-09-20T17:31:09.586Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-20T17:31:10.188Z] ---> 095663c523ce [2023-09-20T17:31:10.188Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-20T17:31:10.782Z] ---> 7bf134bbe7d7 [2023-09-20T17:31:10.782Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-20T17:31:11.376Z] ---> a546c2b6ea86 [2023-09-20T17:31:11.376Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-20T17:31:11.648Z] ---> Running in a4918b39492e [2023-09-20T17:31:11.920Z] Removing intermediate container a4918b39492e [2023-09-20T17:31:11.920Z] ---> 6e23e305f566 [2023-09-20T17:31:11.920Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-20T17:31:12.202Z] ---> Running in 99868deb5148 [2023-09-20T17:31:12.473Z] Removing intermediate container 99868deb5148 [2023-09-20T17:31:12.473Z] ---> 62c35eb108c0 [2023-09-20T17:31:12.473Z] Step 15/17 : LABEL arch=arm64 [2023-09-20T17:31:12.744Z] ---> Running in 3db7731fd700 [2023-09-20T17:31:13.017Z] Removing intermediate container 3db7731fd700 [2023-09-20T17:31:13.017Z] ---> 811ca844e873 [2023-09-20T17:31:13.017Z] Step 16/17 : LABEL git_sha=18b6c29ec549221dfc69d991ca1228da44bcacc1 [2023-09-20T17:31:13.017Z] ---> Running in 9ef1fd0829b1 [2023-09-20T17:31:13.619Z] Removing intermediate container 9ef1fd0829b1 [2023-09-20T17:31:13.619Z] ---> 5abad06fb87d [2023-09-20T17:31:13.619Z] Step 17/17 : LABEL version=0.0.0 [2023-09-20T17:31:13.619Z] ---> Running in 071e09c68961 [2023-09-20T17:31:13.890Z] Removing intermediate container 071e09c68961 [2023-09-20T17:31:13.890Z] ---> c1d6282c4672 [2023-09-20T17:31:13.890Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-20T17:31:14.162Z] Successfully built c1d6282c4672 [2023-09-20T17:31:14.162Z] 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-09-20T17:31:14.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:31:14.949Z] [2023-09-20T17:31:14.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:31:15.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:31:15.654Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:31:15.654Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:31:15.654Z] 04944245beec: Pulling fs layer [2023-09-20T17:31:15.654Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:31:15.654Z] 765212b225bb: Pulling fs layer [2023-09-20T17:31:15.654Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:31:15.654Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:31:15.654Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:31:15.654Z] f23df028b6ca: Waiting [2023-09-20T17:31:15.654Z] d65c8cfc05b1: Waiting [2023-09-20T17:31:15.654Z] 2437ff75d9bd: Waiting [2023-09-20T17:31:15.654Z] 765212b225bb: Waiting [2023-09-20T17:31:15.654Z] 04944245beec: Verifying Checksum [2023-09-20T17:31:15.654Z] 04944245beec: Download complete [2023-09-20T17:31:15.654Z] 765212b225bb: Verifying Checksum [2023-09-20T17:31:15.654Z] 765212b225bb: Download complete [2023-09-20T17:31:15.928Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:31:15.928Z] f23df028b6ca: Download complete [2023-09-20T17:31:15.928Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:31:15.928Z] d65c8cfc05b1: Download complete [2023-09-20T17:31:15.928Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:31:15.928Z] 699f458cf7ca: Download complete [2023-09-20T17:31:16.526Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:31:16.526Z] 8998bd30e6a1: Download complete [2023-09-20T17:31:19.137Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:31:19.137Z] 2437ff75d9bd: Download complete [2023-09-20T17:31:21.105Z] 8998bd30e6a1: Pull complete [2023-09-20T17:31:21.697Z] 04944245beec: Pull complete [2023-09-20T17:31:23.122Z] 699f458cf7ca: Pull complete [2023-09-20T17:31:23.122Z] 765212b225bb: Pull complete [2023-09-20T17:31:24.094Z] f23df028b6ca: Pull complete [2023-09-20T17:31:24.366Z] d65c8cfc05b1: Pull complete [2023-09-20T17:31:39.420Z] 2437ff75d9bd: Pull complete [2023-09-20T17:31:39.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:31:39.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:31:39.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:31:39.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-6755 does not seem to be running inside a container [2023-09-20T17:31:39.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T17:31:43.149Z] $ docker top fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:44.111Z] ---> job-cost.sh [2023-09-20T17:31:44.111Z] lf-activate-venv: SKIPPING [2023-09-20T17:31:44.111Z] INFO: No Stack... [2023-09-20T17:31:44.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:31:45.352Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:31:46.038Z] + cut -d, -f6 [2023-09-20T17:31:46.038Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-09-20T17:31:46.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [2023-09-20T17:31:46.145Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] did not exist. Created. [2023-09-20T17:31:46.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:31:46.886Z] /w/workspace/device-sdk-c/1@tmp/durable-e2fa9c53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:31:47.605Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:31:47.640Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:31:48.373Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:31:48.387Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:31:48.474Z] $ docker stop --time=1 fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 [2023-09-20T17:31:50.181Z] $ docker rm -f --volumes fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 [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-09-20T17:31:51.946Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives ] [2023-09-20T17:31:51.946Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives [2023-09-20T17:31:51.946Z] total 16 [2023-09-20T17:31:51.946Z] drwxr-xr-x 3 root root 4096 Sep 20 17:24 . [2023-09-20T17:31:51.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. [2023-09-20T17:31:51.946Z] drwxr-xr-x 2 root root 4096 Sep 20 17:24 cost [2023-09-20T17:31:51.946Z] -rw-r--r-- 1 root root 84 Sep 20 17:24 cost.csv [2023-09-20T17:31:51.946Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives [2023-09-20T17:31:51.946Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives [2023-09-20T17:31:51.946Z] total 16 [2023-09-20T17:31:51.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:24 . [2023-09-20T17:31:51.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. [2023-09-20T17:31:51.946Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:24 cost [2023-09-20T17:31:51.946Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 20 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:52.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:53.166Z] ---> package-listing.sh [2023-09-20T17:31:53.166Z] ++ facter osfamily [2023-09-20T17:31:53.166Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:31:53.425Z] + OS_FAMILY=debian [2023-09-20T17:31:53.425Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-483 [2023-09-20T17:31:53.425Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:31:53.425Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:31:53.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:31:53.425Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:31:53.425Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-483 ']' [2023-09-20T17:31:53.425Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:31:53.425Z] + case "${OS_FAMILY}" in [2023-09-20T17:31:53.425Z] + dpkg -l [2023-09-20T17:31:53.425Z] + grep '^ii' [2023-09-20T17:31:53.425Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:31:53.425Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:31:53.425Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:31:53.425Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-483 ']' [2023-09-20T17:31:53.425Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/ [2023-09-20T17:31:53.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/ [Pipeline] echo [2023-09-20T17:31:53.460Z] 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-483/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T17:31:53.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:31:54.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:31:54.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:31:54.515Z] prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container [2023-09-20T17:31:54.548Z] $ 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-483/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-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:31:54.725Z] $ docker top 152c1e19590d49c8d77cedcb9ca84b8d306773287212a9970a2c8d3f523598d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:31:55.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:31:55.407Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:31:55.717Z] + ls /var/log/sa-host [2023-09-20T17:31:55.717Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:31:55.849Z] provisioning config files... [2023-09-20T17:31:55.857Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config1614979669207635360tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:31:55.911Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:56.227Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:31:56.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:56.664Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:31:56.695Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:57.002Z] ---> sudo-logs.sh [2023-09-20T17:31:57.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:31:57.086Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:57.397Z] ---> job-cost.sh [2023-09-20T17:31:57.397Z] lf-activate-venv: SKIPPING [2023-09-20T17:31:57.397Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:31:57.397Z] INFO: Retrieving Stack Cost... [2023-09-20T17:31:57.655Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:31:57.914Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:31:57.947Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:58.258Z] ---> logs-deploy.sh [2023-09-20T17:31:58.258Z] lf-activate-venv: SKIPPING [2023-09-20T17:31:58.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-483/1 [2023-09-20T17:31:58.258Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:31:59.197Z] Archives upload complete. [2023-09-20T17:31:59.197Z] INFO: archiving logs to Nexus