Pull request #458 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31+ad65e45309f8995a17d27a3f59962ea35e988788 (3d30732d741887d353d316bcaa1cd53a2e3d7f32) 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-ssh13369711204488959329.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18025814865758250042.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3797855796347882246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6279484358545981694.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5409702728837247891.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17288’ Running on prd-ubuntu20.04-docker-8c-8g-17292 in /w/workspace/edgexfoundry_device-sdk-c_PR-458 [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-458 # 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/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad65e45309f8995a17d27a3f59962ea35e988788 into PR head commit 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 Merge succeeded, producing 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 Checking out Revision 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 (PR-458) > git config core.sparsecheckout # timeout=10 > git checkout -f 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 # 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 ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 # timeout=10 Commit message: "fix: loading insecure secrets from config" First time build. Skipping changelog. > git rev-list --no-walk cc08ab0a351fe58074ebdc2c4307268c963f0ed6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T11:08:54.772Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T11:08:54.823Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T11:08:54.835Z] ========================================================= [2023-05-30T11:08:54.835Z] EdgeX Global Pipelines Version Info [2023-05-30T11:08:54.835Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:08:55.529Z] ------------------- [2023-05-30T11:08:55.529Z] stable info: [2023-05-30T11:08:55.529Z] ------------------- [2023-05-30T11:08:55.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T11:08:55.529Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T11:08:55.529Z] Message: update stable to v1.0.249 [2023-05-30T11:08:56.099Z] ------------------- [2023-05-30T11:08:56.099Z] experimental info: [2023-05-30T11:08:56.099Z] ------------------- [2023-05-30T11:08:56.099Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T11:08:56.099Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T11:08:56.099Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T11:08:56.256Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-30T11:08:56.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-30T11:08:56.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T11:08:56.295Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T11:08:56.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T11:08:56.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-30T11:08:56.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-30T11:08:56.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T11:08:56.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T11:08:56.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-30T11:08:56.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T11:08:56.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T11:08:56.395Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T11:08:56.407Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T11:08:56.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T11:08:56.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T11:08:56.452Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T11:08:56.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-458 [Pipeline] echo [2023-05-30T11:08:56.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-458 [Pipeline] echo [2023-05-30T11:08:56.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-458 [Pipeline] echo [2023-05-30T11:08:56.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [Pipeline] echo [2023-05-30T11:08:56.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a98d0d [Pipeline] echo [2023-05-30T11:08:56.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T11:08:56.566Z] provisioning config files... [2023-05-30T11:08:56.580Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config12033631713459024113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:08:56.889Z] ---> docker-login.sh [2023-05-30T11:08:56.889Z] nexus3.edgexfoundry.org:10001 [2023-05-30T11:08:56.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:08:57.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:08:57.153Z] Configure a credential helper to remove this warning. See [2023-05-30T11:08:57.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:08:57.153Z] [2023-05-30T11:08:57.153Z] Login Succeeded [2023-05-30T11:08:57.153Z] nexus3.edgexfoundry.org:10002 [2023-05-30T11:08:57.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:08:57.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:08:57.153Z] Configure a credential helper to remove this warning. See [2023-05-30T11:08:57.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:08:57.153Z] [2023-05-30T11:08:57.153Z] Login Succeeded [2023-05-30T11:08:57.153Z] nexus3.edgexfoundry.org:10003 [2023-05-30T11:08:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:08:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:08:57.414Z] Configure a credential helper to remove this warning. See [2023-05-30T11:08:57.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:08:57.414Z] [2023-05-30T11:08:57.414Z] Login Succeeded [2023-05-30T11:08:57.414Z] nexus3.edgexfoundry.org:10004 [2023-05-30T11:08:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:08:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:08:57.414Z] Configure a credential helper to remove this warning. See [2023-05-30T11:08:57.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:08:57.414Z] [2023-05-30T11:08:57.414Z] Login Succeeded [2023-05-30T11:08:57.414Z] docker.io [2023-05-30T11:08:57.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:08:57.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:08:57.674Z] Configure a credential helper to remove this warning. See [2023-05-30T11:08:57.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:08:57.674Z] [2023-05-30T11:08:57.674Z] Login Succeeded [2023-05-30T11:08:57.674Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T11:08:57.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-05-30T11:08:58.031Z] + git rev-list -1 --merges 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31~1..2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [Pipeline] echo [2023-05-30T11:08:58.080Z] -----------> git rev-list -1 --merges 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31~1..2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [false] [Pipeline] sh [2023-05-30T11:08:58.365Z] + git log --format=format:%s -1 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [Pipeline] echo [2023-05-30T11:08:58.377Z] ========================================================= [2023-05-30T11:08:58.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T11:08:58.377Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-30T11:08:58.758Z] + git rev-list -1 --merges 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31~1..2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [Pipeline] echo [2023-05-30T11:08:58.768Z] -----------> git rev-list -1 --merges 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31~1..2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [false] [Pipeline] sh [2023-05-30T11:08:59.058Z] + git log --format=format:%s -1 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [Pipeline] echo [2023-05-30T11:08:59.073Z] ========================================================= [2023-05-30T11:08:59.073Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T11:08:59.073Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-30T11:08:59.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T11:08:59.447Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T11:08:59.447Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T11:08:59.447Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T11:08:59.447Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T11:08:59.447Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T11:08:59.447Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:08:59.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T11:08:59.801Z] [2023-05-30T11:08:59.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:00.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T11:09:00.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T11:09:00.109Z] b85a868b505f: Pulling fs layer [2023-05-30T11:09:00.109Z] e2be974225ed: Pulling fs layer [2023-05-30T11:09:00.109Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T11:09:00.109Z] 988bab9f4d93: Pulling fs layer [2023-05-30T11:09:00.109Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T11:09:00.109Z] eaf3925da568: Pulling fs layer [2023-05-30T11:09:00.109Z] bab4dde63d76: Pulling fs layer [2023-05-30T11:09:00.109Z] bde34c3a00c8: Pulling fs layer [2023-05-30T11:09:00.109Z] b352a97aabf1: Pulling fs layer [2023-05-30T11:09:00.109Z] 4872d77fe225: Pulling fs layer [2023-05-30T11:09:00.109Z] 5851b861e8e6: Pulling fs layer [2023-05-30T11:09:00.109Z] 1469e6f7b9e6: Waiting [2023-05-30T11:09:00.109Z] 5851b861e8e6: Waiting [2023-05-30T11:09:00.109Z] eaf3925da568: Waiting [2023-05-30T11:09:00.109Z] 4872d77fe225: Waiting [2023-05-30T11:09:00.109Z] b352a97aabf1: Waiting [2023-05-30T11:09:00.109Z] bde34c3a00c8: Waiting [2023-05-30T11:09:00.109Z] bab4dde63d76: Waiting [2023-05-30T11:09:00.109Z] e2be974225ed: Verifying Checksum [2023-05-30T11:09:00.109Z] e2be974225ed: Download complete [2023-05-30T11:09:00.109Z] 988bab9f4d93: Verifying Checksum [2023-05-30T11:09:00.109Z] 988bab9f4d93: Download complete [2023-05-30T11:09:00.370Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T11:09:00.370Z] 1469e6f7b9e6: Download complete [2023-05-30T11:09:00.370Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T11:09:00.370Z] 339a4e72a1f5: Download complete [2023-05-30T11:09:00.370Z] eaf3925da568: Verifying Checksum [2023-05-30T11:09:00.370Z] eaf3925da568: Download complete [2023-05-30T11:09:00.370Z] bde34c3a00c8: Download complete [2023-05-30T11:09:00.370Z] b352a97aabf1: Download complete [2023-05-30T11:09:00.370Z] 4872d77fe225: Download complete [2023-05-30T11:09:00.370Z] 5851b861e8e6: Download complete [2023-05-30T11:09:00.370Z] b85a868b505f: Verifying Checksum [2023-05-30T11:09:00.370Z] b85a868b505f: Download complete [2023-05-30T11:09:00.630Z] bab4dde63d76: Verifying Checksum [2023-05-30T11:09:00.630Z] bab4dde63d76: Download complete [2023-05-30T11:09:01.568Z] b85a868b505f: Pull complete [2023-05-30T11:09:01.829Z] e2be974225ed: Pull complete [2023-05-30T11:09:02.428Z] 339a4e72a1f5: Pull complete [2023-05-30T11:09:02.428Z] 988bab9f4d93: Pull complete [2023-05-30T11:09:02.701Z] 1469e6f7b9e6: Pull complete [2023-05-30T11:09:02.701Z] eaf3925da568: Pull complete [2023-05-30T11:09:04.606Z] bab4dde63d76: Pull complete [2023-05-30T11:09:04.606Z] bde34c3a00c8: Pull complete [2023-05-30T11:09:04.865Z] b352a97aabf1: Pull complete [2023-05-30T11:09:04.865Z] 4872d77fe225: Pull complete [2023-05-30T11:09:05.125Z] 5851b861e8e6: Pull complete [2023-05-30T11:09:05.125Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T11:09:05.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T11:09:05.125Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:09:05.214Z] prd-ubuntu20.04-docker-8c-8g-17292 does not seem to be running inside a container [2023-05-30T11:09:05.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@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-devops/py-git-semver:0.1.4 cat [2023-05-30T11:09:08.438Z] $ docker top f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 -eo pid,comm [2023-05-30T11:09:08.488Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-30T11:09:08.488Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T11:09:08.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T11:09:08.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T11:09:08.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T11:09:08.636Z] $ docker exec f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 ssh-agent [2023-05-30T11:09:08.749Z] SSH_AUTH_SOCK=/tmp/ssh-aUo52mnj7B4P/agent.32 [2023-05-30T11:09:08.749Z] SSH_AGENT_PID=38 [2023-05-30T11:09:08.757Z] Running ssh-add (command line suppressed) [2023-05-30T11:09:08.863Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_3543259154701456085.key (/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_3543259154701456085.key) [2023-05-30T11:09:08.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T11:09:09.159Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T11:09:09.176Z] $ docker exec --env ******** --env ******** f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 ssh-agent -k [2023-05-30T11:09:09.280Z] unset SSH_AUTH_SOCK; [2023-05-30T11:09:09.281Z] unset SSH_AGENT_PID; [2023-05-30T11:09:09.281Z] echo Agent pid 38 killed; [2023-05-30T11:09:09.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T11:09:09.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T11:09:09.315Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T11:09:09.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T11:09:09.435Z] $ docker exec f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 ssh-agent [2023-05-30T11:09:09.554Z] SSH_AUTH_SOCK=/tmp/ssh-Qizt7Un4z1Kj/agent.71 [2023-05-30T11:09:09.554Z] SSH_AGENT_PID=77 [2023-05-30T11:09:09.559Z] Running ssh-add (command line suppressed) [2023-05-30T11:09:09.672Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_11431447579081153112.key (/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_11431447579081153112.key) [2023-05-30T11:09:09.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T11:09:09.976Z] + git semver init [2023-05-30T11:09:10.240Z] 2023-05-30 11:09:10,162 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T11:09:10.240Z] 2023-05-30 11:09:10,162 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver [2023-05-30T11:09:10.240Z] 2023-05-30 11:09:10,163 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver [2023-05-30T11:09:10.240Z] 2023-05-30 11:09:10,163 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458, universal_newlines=False, shell=None, istream=None) [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,001 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.git/info/exclude [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,001 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 with force:False [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,001 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,005 [execute] INFO git cat-file --batch-check [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,011 [execute] INFO git cat-file --batch [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T11:09:11.179Z] 2023-05-30 11:09:11,016 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 [2023-05-30T11:09:11.179Z] 0.0.0 [Pipeline] } [2023-05-30T11:09:11.197Z] $ docker exec --env ******** --env ******** f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 ssh-agent -k [2023-05-30T11:09:11.281Z] unset SSH_AUTH_SOCK; [2023-05-30T11:09:11.282Z] unset SSH_AGENT_PID; [2023-05-30T11:09:11.282Z] echo Agent pid 77 killed; [2023-05-30T11:09:11.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T11:09:11.596Z] + git semver [Pipeline] } [2023-05-30T11:09:11.875Z] $ docker stop --time=1 f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 [2023-05-30T11:09:13.204Z] $ docker rm -f --volumes f26487b73c9f84457cb1480cce2d7accf097c9c236e21896641f5537c82e6b85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T11:09:13.556Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T11:09:13.788Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T11:09:13.791Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T11:09:13.913Z] provisioning config files... [2023-05-30T11:09:13.922Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config647667000845716205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:09:14.218Z] ---> docker-login.sh [2023-05-30T11:09:14.218Z] nexus3.edgexfoundry.org:10001 [2023-05-30T11:09:14.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:09:14.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:09:14.218Z] Configure a credential helper to remove this warning. See [2023-05-30T11:09:14.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:09:14.218Z] [2023-05-30T11:09:14.218Z] Login Succeeded [2023-05-30T11:09:14.218Z] nexus3.edgexfoundry.org:10002 [2023-05-30T11:09:14.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:09:14.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:09:14.477Z] Configure a credential helper to remove this warning. See [2023-05-30T11:09:14.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:09:14.477Z] [2023-05-30T11:09:14.477Z] Login Succeeded [2023-05-30T11:09:14.477Z] nexus3.edgexfoundry.org:10003 [2023-05-30T11:09:14.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:09:14.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:09:14.477Z] Configure a credential helper to remove this warning. See [2023-05-30T11:09:14.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:09:14.477Z] [2023-05-30T11:09:14.477Z] Login Succeeded [2023-05-30T11:09:14.477Z] nexus3.edgexfoundry.org:10004 [2023-05-30T11:09:14.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:09:14.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:09:14.477Z] Configure a credential helper to remove this warning. See [2023-05-30T11:09:14.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:09:14.477Z] [2023-05-30T11:09:14.477Z] Login Succeeded [2023-05-30T11:09:14.477Z] docker.io [2023-05-30T11:09:14.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:09:14.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:09:14.735Z] Configure a credential helper to remove this warning. See [2023-05-30T11:09:14.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:09:14.735Z] [2023-05-30T11:09:14.735Z] Login Succeeded [2023-05-30T11:09:14.735Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T11:09:14.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T11:09:14.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T11:09:14.803Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-30T11:09:14.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T11:09:14.815Z] ========================================================= [2023-05-30T11:09:14.815Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-30T11:09:14.815Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:15.106Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-05-30T11:09:15.106Z] Sending build context to Docker daemon 4.877MB [2023-05-30T11:09:15.106Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T11:09:15.106Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T11:09:15.106Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-30T11:09:15.106Z] 91d30c5bc195: Pulling fs layer [2023-05-30T11:09:15.106Z] 316e5a4585fb: Pulling fs layer [2023-05-30T11:09:15.366Z] 91d30c5bc195: Verifying Checksum [2023-05-30T11:09:15.366Z] 91d30c5bc195: Download complete [2023-05-30T11:09:15.366Z] 91d30c5bc195: Pull complete [2023-05-30T11:09:15.933Z] 316e5a4585fb: Verifying Checksum [2023-05-30T11:09:15.933Z] 316e5a4585fb: Download complete [2023-05-30T11:09:18.464Z] 316e5a4585fb: Pull complete [2023-05-30T11:09:18.464Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-30T11:09:18.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-30T11:09:18.724Z] ---> e83ffa357ff4 [2023-05-30T11:09:18.724Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:09:21.430Z] ---> Running in 87f8650a7ace [2023-05-30T11:09:21.430Z] Connecting to iotech.jfrog.io (54.76.112.37:443) [2023-05-30T11:09:21.999Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:09:21.999Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:09:21.999Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:09:22.259Z] Removing intermediate container 87f8650a7ace [2023-05-30T11:09:22.259Z] ---> 752ac02cb34d [2023-05-30T11:09:22.259Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:09:22.259Z] ---> Running in f6939d8bfba7 [2023-05-30T11:09:22.827Z] Removing intermediate container f6939d8bfba7 [2023-05-30T11:09:22.827Z] ---> 3aab06f311c1 [2023-05-30T11:09:22.827Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-30T11:09:22.827Z] ---> Running in 3020157423c6 [2023-05-30T11:09:23.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:23.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:23.607Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:24.178Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:09:24.178Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:09:24.178Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:09:24.178Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T11:09:24.178Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T11:09:24.178Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T11:09:24.748Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T11:09:24.748Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T11:09:24.748Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T11:09:24.748Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T11:09:24.748Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T11:09:25.777Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T11:09:25.777Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T11:09:25.777Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T11:09:25.777Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T11:09:25.777Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T11:09:25.777Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T11:09:25.777Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:09:25.777Z] OK: 280 MiB in 90 packages [2023-05-30T11:09:26.347Z] Removing intermediate container 3020157423c6 [2023-05-30T11:09:26.347Z] ---> 02f8e98040f5 [2023-05-30T11:09:26.347Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T11:09:26.347Z] ---> Running in 54739b7b0474 [2023-05-30T11:09:26.916Z] Removing intermediate container 54739b7b0474 [2023-05-30T11:09:26.916Z] ---> d846dd8728b6 [2023-05-30T11:09:26.916Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T11:09:26.916Z] ---> bd818b5d3607 [2023-05-30T11:09:26.916Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T11:09:27.175Z] ---> a7c6fbd37bc3 [2023-05-30T11:09:27.175Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T11:09:27.435Z] ---> 1dc4b3a07783 [2023-05-30T11:09:27.435Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T11:09:27.435Z] ---> ee54d228259b [2023-05-30T11:09:27.435Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T11:09:27.695Z] ---> b2c993fca719 [2023-05-30T11:09:27.695Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T11:09:27.695Z] ---> 95c0baba372e [2023-05-30T11:09:27.695Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T11:09:27.695Z] ---> Running in 7aba23e343a3 [2023-05-30T11:09:27.953Z] + CPPCHECK=false [2023-05-30T11:09:27.953Z] + DOCGEN=false [2023-05-30T11:09:27.953Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T11:09:27.953Z] + '[' 0 -gt 0 ] [2023-05-30T11:09:27.953Z] + readlink -f ./scripts/build.sh [2023-05-30T11:09:27.953Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T11:09:27.953Z] + dirname /tmp/sdk/scripts [2023-05-30T11:09:27.953Z] + ROOT=/tmp/sdk [2023-05-30T11:09:27.953Z] + cd /tmp/sdk [2023-05-30T11:09:27.953Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T11:09:27.953Z] + cd /tmp/sdk/build/release [2023-05-30T11:09:27.953Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T11:09:28.213Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T11:09:28.214Z] -- Detecting C compiler ABI info [2023-05-30T11:09:28.214Z] -- Detecting C compiler ABI info - done [2023-05-30T11:09:28.214Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T11:09:28.214Z] -- Detecting C compile features [2023-05-30T11:09:28.214Z] -- Detecting C compile features - done [2023-05-30T11:09:28.214Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T11:09:28.214Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T11:09:28.214Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T11:09:28.214Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T11:09:28.214Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T11:09:28.214Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T11:09:28.214Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T11:09:28.214Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T11:09:28.214Z] -- /opt/iotech/iot/1.5/include [2023-05-30T11:09:28.214Z] -- C SDK 0.0.0 for Linux [2023-05-30T11:09:28.214Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T11:09:28.475Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T11:09:28.476Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T11:09:28.476Z] -- Configuring done [2023-05-30T11:09:28.476Z] -- Generating done [2023-05-30T11:09:28.476Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T11:09:28.476Z] + make all package [2023-05-30T11:09:28.476Z] + tee release.log [2023-05-30T11:09:28.476Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T11:09:28.734Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T11:09:28.871Z] Still waiting to schedule task [2023-05-30T11:09:28.872Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17289’ [2023-05-30T11:09:28.993Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T11:09:28.993Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T11:09:29.252Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T11:09:29.252Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T11:09:29.510Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T11:09:29.769Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T11:09:29.769Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T11:09:30.028Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T11:09:30.288Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T11:09:30.547Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T11:09:30.547Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T11:09:30.807Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T11:09:30.807Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T11:09:31.069Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T11:09:31.069Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T11:09:31.638Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T11:09:31.638Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T11:09:31.638Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T11:09:31.898Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T11:09:32.834Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T11:09:32.834Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T11:09:33.093Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T11:09:33.093Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T11:09:33.093Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T11:09:33.352Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T11:09:33.919Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T11:09:33.919Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T11:09:34.178Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T11:09:34.178Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T11:09:34.743Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T11:09:34.743Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T11:09:34.743Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T11:09:35.002Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T11:09:35.002Z] [ 68%] Built target csdk [2023-05-30T11:09:35.002Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T11:09:35.261Z] [ 72%] Linking C executable template [2023-05-30T11:09:35.261Z] [ 72%] Built target template [2023-05-30T11:09:35.261Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T11:09:35.261Z] [ 76%] Linking C executable device-counter [2023-05-30T11:09:35.526Z] [ 76%] Built target device-counter [2023-05-30T11:09:35.526Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T11:09:35.526Z] [ 80%] Linking C executable device-random [2023-05-30T11:09:35.526Z] [ 80%] Built target device-random [2023-05-30T11:09:35.526Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T11:09:35.784Z] [ 84%] Linking C executable device-gyro [2023-05-30T11:09:35.784Z] [ 84%] Built target device-gyro [2023-05-30T11:09:35.784Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T11:09:36.044Z] [ 88%] Linking C executable device-bitfields [2023-05-30T11:09:36.044Z] [ 88%] Built target device-bitfields [2023-05-30T11:09:36.044Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T11:09:36.044Z] [ 92%] Linking C executable template-discovery [2023-05-30T11:09:36.303Z] [ 92%] Built target template-discovery [2023-05-30T11:09:36.303Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T11:09:36.303Z] [ 96%] Linking C executable device-file [2023-05-30T11:09:36.303Z] [ 96%] Built target device-file [2023-05-30T11:09:36.564Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T11:09:36.564Z] [100%] Linking C executable device-terminal [2023-05-30T11:09:36.564Z] [100%] Built target device-terminal [2023-05-30T11:09:36.564Z] Run CPack packaging tool... [2023-05-30T11:09:36.564Z] CPack: Create package using TGZ [2023-05-30T11:09:36.564Z] CPack: Install projects [2023-05-30T11:09:36.564Z] CPack: - Run preinstall target for: Csdk [2023-05-30T11:09:36.823Z] CPack: - Install project: Csdk [] [2023-05-30T11:09:36.823Z] CPack: Create package [2023-05-30T11:09:36.823Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-30T11:09:36.823Z] + '[' false '=' true ] [2023-05-30T11:09:36.823Z] + '[' false '=' true ] [2023-05-30T11:09:36.823Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T11:09:36.823Z] + cd /tmp/sdk/build/debug [2023-05-30T11:09:36.823Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T11:09:37.083Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T11:09:37.083Z] -- Detecting C compiler ABI info [2023-05-30T11:09:37.083Z] -- Detecting C compiler ABI info - done [2023-05-30T11:09:37.083Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T11:09:37.083Z] -- Detecting C compile features [2023-05-30T11:09:37.083Z] -- Detecting C compile features - done [2023-05-30T11:09:37.083Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T11:09:37.083Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T11:09:37.083Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T11:09:37.083Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T11:09:37.083Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T11:09:37.083Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T11:09:37.083Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T11:09:37.083Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T11:09:37.083Z] -- /opt/iotech/iot/1.5/include [2023-05-30T11:09:37.083Z] -- C SDK 0.0.0 for Linux [2023-05-30T11:09:37.083Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T11:09:37.343Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T11:09:37.343Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T11:09:37.343Z] -- Configuring done [2023-05-30T11:09:37.343Z] -- Generating done [2023-05-30T11:09:37.343Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T11:09:37.343Z] + + teemake debug.log [2023-05-30T11:09:37.343Z] [2023-05-30T11:09:37.343Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T11:09:37.343Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T11:09:37.602Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T11:09:37.602Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T11:09:37.602Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T11:09:37.860Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T11:09:37.860Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T11:09:37.860Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T11:09:38.119Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T11:09:38.119Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T11:09:38.119Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T11:09:38.379Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T11:09:38.379Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T11:09:38.379Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T11:09:38.639Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T11:09:38.639Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T11:09:38.639Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T11:09:38.898Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T11:09:38.898Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T11:09:38.898Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T11:09:39.157Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T11:09:39.157Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T11:09:39.415Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T11:09:39.415Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T11:09:39.415Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T11:09:39.415Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T11:09:39.673Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T11:09:39.932Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T11:09:39.932Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T11:09:39.932Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T11:09:40.191Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T11:09:40.191Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T11:09:40.450Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T11:09:40.450Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T11:09:40.450Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T11:09:40.450Z] [ 68%] Built target csdk [2023-05-30T11:09:40.450Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T11:09:40.709Z] [ 72%] Linking C executable template [2023-05-30T11:09:40.709Z] [ 72%] Built target template [2023-05-30T11:09:40.709Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T11:09:40.709Z] [ 76%] Linking C executable device-counter [2023-05-30T11:09:40.709Z] [ 76%] Built target device-counter [2023-05-30T11:09:40.709Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T11:09:40.969Z] [ 80%] Linking C executable device-random [2023-05-30T11:09:40.969Z] [ 80%] Built target device-random [2023-05-30T11:09:40.969Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T11:09:40.969Z] [ 84%] Linking C executable device-gyro [2023-05-30T11:09:40.969Z] [ 84%] Built target device-gyro [2023-05-30T11:09:41.228Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T11:09:41.228Z] [ 88%] Linking C executable device-bitfields [2023-05-30T11:09:41.228Z] [ 88%] Built target device-bitfields [2023-05-30T11:09:41.228Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T11:09:41.228Z] [ 92%] Linking C executable template-discovery [2023-05-30T11:09:41.484Z] [ 92%] Built target template-discovery [2023-05-30T11:09:41.484Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T11:09:41.484Z] [ 96%] Linking C executable device-file [2023-05-30T11:09:41.484Z] [ 96%] Built target device-file [2023-05-30T11:09:41.484Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T11:09:41.743Z] [100%] Linking C executable device-terminal [2023-05-30T11:09:41.743Z] [100%] Built target device-terminal [2023-05-30T11:09:41.743Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 68%] Built target csdk [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 72%] Built target template [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 76%] Built target device-counter [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 80%] Built target device-random [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 84%] Built target device-gyro [2023-05-30T11:09:41.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:41.743Z] [ 88%] Built target device-bitfields [2023-05-30T11:09:42.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] [ 92%] Built target template-discovery [2023-05-30T11:09:42.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] [ 96%] Built target device-file [2023-05-30T11:09:42.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] [100%] Built target device-terminal [2023-05-30T11:09:42.001Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.001Z] Install the project... [2023-05-30T11:09:42.001Z] -- Install configuration: "Release" [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T11:09:42.001Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/devsdk [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T11:09:42.001Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T11:09:42.001Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:09:42.936Z] Removing intermediate container 7aba23e343a3 [2023-05-30T11:09:42.936Z] ---> bc5c79fd7fa4 [2023-05-30T11:09:42.936Z] Step 14/21 : FROM ${BASE} [2023-05-30T11:09:42.936Z] ---> e83ffa357ff4 [2023-05-30T11:09:42.936Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T11:09:42.936Z] ---> Running in 9c2862814623 [2023-05-30T11:09:42.936Z] Removing intermediate container 9c2862814623 [2023-05-30T11:09:42.936Z] ---> cfb246e88426 [2023-05-30T11:09:42.936Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:09:42.936Z] ---> Running in 77b399e60667 [2023-05-30T11:09:43.194Z] Connecting to iotech.jfrog.io (34.252.101.44:443) [2023-05-30T11:09:43.454Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:09:43.454Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:09:43.454Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:09:43.714Z] Removing intermediate container 77b399e60667 [2023-05-30T11:09:43.714Z] ---> 9697e6cd5e0b [2023-05-30T11:09:43.714Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:09:43.714Z] ---> Running in 3f763d8d2560 [2023-05-30T11:09:44.281Z] Removing intermediate container 3f763d8d2560 [2023-05-30T11:09:44.281Z] ---> 3581b9be2846 [2023-05-30T11:09:44.281Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-30T11:09:44.281Z] ---> Running in 1dfe31d4c4f1 [2023-05-30T11:09:44.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:44.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:45.058Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:45.625Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:09:45.625Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T11:09:45.625Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T11:09:45.625Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T11:09:45.625Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T11:09:46.194Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T11:09:46.194Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T11:09:46.194Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T11:09:47.133Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:09:47.133Z] OK: 276 MiB in 83 packages [2023-05-30T11:09:47.701Z] Removing intermediate container 1dfe31d4c4f1 [2023-05-30T11:09:47.701Z] ---> e4b4b1783785 [2023-05-30T11:09:47.701Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T11:09:47.701Z] ---> b80ddbbb6c79 [2023-05-30T11:09:47.701Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T11:09:47.701Z] ---> 69ff4c28fcc0 [2023-05-30T11:09:47.701Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T11:09:47.962Z] ---> da8e8a798cec [2023-05-30T11:09:47.962Z] Successfully built da8e8a798cec [2023-05-30T11:09:47.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:48.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T11:09:48.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:09:48.402Z] prd-ubuntu20.04-docker-8c-8g-17292 does not seem to be running inside a container [2023-05-30T11:09:48.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-30T11:09:48.872Z] $ docker top d34a78386e2585f53d694c934f74200e98c9f92f9b1561cbf9616ef905766bfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T11:09:49.222Z] + make test [2023-05-30T11:09:49.222Z] echo "make test" [2023-05-30T11:09:49.222Z] make test [Pipeline] } [2023-05-30T11:09:49.236Z] $ docker stop --time=1 d34a78386e2585f53d694c934f74200e98c9f92f9b1561cbf9616ef905766bfc [2023-05-30T11:09:50.524Z] $ docker rm -f --volumes d34a78386e2585f53d694c934f74200e98c9f92f9b1561cbf9616ef905766bfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T11:09:51.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T11:09:51.303Z] + ls -al . [2023-05-30T11:09:51.303Z] total 212 [2023-05-30T11:09:51.303Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 11:09 . [2023-05-30T11:09:51.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:08 .. [2023-05-30T11:09:51.303Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 11:09 .git [2023-05-30T11:09:51.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:08 .github [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 11:08 .gitignore [2023-05-30T11:09:51.303Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 11:09 .semver [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 11:08 Attribution.txt [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 11:08 CHANGES [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 11:08 Doxyfile [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 11:08 GOVERNANCE.md [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 11:08 Jenkinsfile [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 11:08 LICENSE [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 11:08 Makefile [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 11:08 OWNERS.md [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 11:08 README.IOT.md [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 11:08 README.md [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 11:08 README.v3.md [2023-05-30T11:09:51.303Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 11:09 VERSION [2023-05-30T11:09:51.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:08 docs [2023-05-30T11:09:51.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:08 include [2023-05-30T11:09:51.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:08 scripts [2023-05-30T11:09:51.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:51.602Z] + 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=2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 --label arch=amd64 --label version=0.0.0 . [2023-05-30T11:09:51.603Z] Sending build context to Docker daemon 4.877MB [2023-05-30T11:09:51.603Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T11:09:51.603Z] Step 2/17 : FROM ${BASE} [2023-05-30T11:09:51.603Z] ---> da8e8a798cec [2023-05-30T11:09:51.603Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T11:09:51.603Z] ---> Running in 0abcd5956bd2 [2023-05-30T11:09:51.861Z] Removing intermediate container 0abcd5956bd2 [2023-05-30T11:09:51.861Z] ---> 7b3e95c8aabe [2023-05-30T11:09:51.861Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:09:51.861Z] ---> Running in fbf74b0abb21 [2023-05-30T11:09:52.120Z] Connecting to iotech.jfrog.io (52.210.182.164:443) [2023-05-30T11:09:52.379Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:09:52.379Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:09:52.379Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:09:52.637Z] Removing intermediate container fbf74b0abb21 [2023-05-30T11:09:52.637Z] ---> c37b0508bdaf [2023-05-30T11:09:52.637Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:09:52.637Z] ---> Running in 97251ba39ae2 [2023-05-30T11:09:53.205Z] Removing intermediate container 97251ba39ae2 [2023-05-30T11:09:53.205Z] ---> 42da704bfd65 [2023-05-30T11:09:53.205Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-30T11:09:53.465Z] ---> Running in 3d3f574afae3 [2023-05-30T11:09:53.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:53.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:53.724Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T11:09:54.291Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:09:54.291Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:09:54.291Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:09:54.291Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T11:09:54.859Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T11:09:55.117Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T11:09:55.117Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T11:09:55.117Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T11:09:55.117Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T11:09:55.117Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T11:09:55.117Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T11:09:55.117Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T11:09:55.117Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:09:55.117Z] OK: 281 MiB in 92 packages [2023-05-30T11:09:55.683Z] Removing intermediate container 3d3f574afae3 [2023-05-30T11:09:55.683Z] ---> 34ffc9b84f0a [2023-05-30T11:09:55.683Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T11:09:55.944Z] ---> 7da9e0a97b9c [2023-05-30T11:09:55.944Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T11:09:56.204Z] ---> b9d4ba9def39 [2023-05-30T11:09:56.204Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T11:09:56.204Z] ---> 9d054a13eedd [2023-05-30T11:09:56.204Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T11:09:56.204Z] ---> 8f231e5b181d [2023-05-30T11:09:56.204Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T11:09:56.464Z] ---> 10f3fe8ca6fd [2023-05-30T11:09:56.464Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T11:09:56.464Z] ---> c94167f9aaa2 [2023-05-30T11:09:56.464Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T11:09:56.464Z] ---> Running in 620d29652016 [2023-05-30T11:09:56.724Z] Removing intermediate container 620d29652016 [2023-05-30T11:09:56.724Z] ---> 8a3acca8b0db [2023-05-30T11:09:56.724Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T11:09:56.724Z] ---> Running in 81d8e60bb3bd [2023-05-30T11:09:56.724Z] Removing intermediate container 81d8e60bb3bd [2023-05-30T11:09:56.724Z] ---> f983c82ba73c [2023-05-30T11:09:56.724Z] Step 15/17 : LABEL arch=amd64 [2023-05-30T11:09:56.724Z] ---> Running in 9dcab00d5579 [2023-05-30T11:09:56.983Z] Removing intermediate container 9dcab00d5579 [2023-05-30T11:09:56.983Z] ---> 5d8248f80f79 [2023-05-30T11:09:56.983Z] Step 16/17 : LABEL git_sha=2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [2023-05-30T11:09:56.983Z] ---> Running in 7281a2084c5e [2023-05-30T11:09:56.983Z] Removing intermediate container 7281a2084c5e [2023-05-30T11:09:56.983Z] ---> c59f421f467a [2023-05-30T11:09:56.983Z] Step 17/17 : LABEL version=0.0.0 [2023-05-30T11:09:56.983Z] ---> Running in 0fee562f385a [2023-05-30T11:09:56.983Z] Removing intermediate container 0fee562f385a [2023-05-30T11:09:56.983Z] ---> edae3236338b [2023-05-30T11:09:56.984Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-05-30T11:09:56.984Z] Successfully built edae3236338b [2023-05-30T11:09:56.984Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:57.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T11:09:57.437Z] [2023-05-30T11:09:57.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:09:57.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T11:09:57.729Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T11:09:57.729Z] 5eb5b503b376: Pulling fs layer [2023-05-30T11:09:57.729Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T11:09:57.729Z] ec43610c2a17: Pulling fs layer [2023-05-30T11:09:57.729Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T11:09:57.729Z] 33b1e0a273af: Pulling fs layer [2023-05-30T11:09:57.729Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T11:09:57.729Z] 2f39f015ded8: Pulling fs layer [2023-05-30T11:09:57.729Z] 3a2ae6a8a46f: Waiting [2023-05-30T11:09:57.729Z] 5d3b04190fa2: Waiting [2023-05-30T11:09:57.729Z] 5c69ac0246d0: Download complete [2023-05-30T11:09:57.729Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T11:09:57.729Z] 3a2ae6a8a46f: Download complete [2023-05-30T11:09:57.729Z] ec43610c2a17: Verifying Checksum [2023-05-30T11:09:57.729Z] ec43610c2a17: Download complete [2023-05-30T11:09:57.729Z] 5d3b04190fa2: Verifying Checksum [2023-05-30T11:09:57.729Z] 5d3b04190fa2: Download complete [2023-05-30T11:09:57.729Z] 33b1e0a273af: Verifying Checksum [2023-05-30T11:09:57.729Z] 33b1e0a273af: Download complete [2023-05-30T11:09:57.987Z] 5eb5b503b376: Verifying Checksum [2023-05-30T11:09:57.987Z] 5eb5b503b376: Download complete [2023-05-30T11:09:58.554Z] 2f39f015ded8: Download complete [2023-05-30T11:09:59.120Z] 5eb5b503b376: Pull complete [2023-05-30T11:09:59.378Z] 5c69ac0246d0: Pull complete [2023-05-30T11:09:59.637Z] ec43610c2a17: Pull complete [2023-05-30T11:09:59.637Z] 3a2ae6a8a46f: Pull complete [2023-05-30T11:09:59.897Z] 33b1e0a273af: Pull complete [2023-05-30T11:09:59.897Z] 5d3b04190fa2: Pull complete [2023-05-30T11:10:04.096Z] 2f39f015ded8: Pull complete [2023-05-30T11:10:04.096Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T11:10:04.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T11:10:04.096Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:10:04.171Z] prd-ubuntu20.04-docker-8c-8g-17292 does not seem to be running inside a container [2023-05-30T11:10:04.206Z] $ 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-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T11:10:10.203Z] $ docker top fdd0ddbeeb7861f263d1d901108bd1fe2a9eddd880ab93ea3ae0e7664b0f4a16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:10:10.570Z] ---> job-cost.sh [2023-05-30T11:10:10.570Z] lf-activate-venv: SKIPPING [2023-05-30T11:10:10.570Z] INFO: No Stack... [2023-05-30T11:10:11.136Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T11:10:11.396Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T11:10:11.684Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/cost.csv [2023-05-30T11:10:11.684Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T11:10:11.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [2023-05-30T11:10:11.703Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] did not exist. Created. [2023-05-30T11:10:11.703Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T11:10:12.001Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-30T11:10:12.033Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T11:10:12.040Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T11:10:12.061Z] $ docker stop --time=1 fdd0ddbeeb7861f263d1d901108bd1fe2a9eddd880ab93ea3ae0e7664b0f4a16 [2023-05-30T11:10:13.267Z] $ docker rm -f --volumes fdd0ddbeeb7861f263d1d901108bd1fe2a9eddd880ab93ea3ae0e7664b0f4a16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-30T11:12:17.583Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17293 in /w/workspace/edgexfoundry_device-sdk-c_PR-458 [Pipeline] { [Pipeline] ws [2023-05-30T11:12:17.595Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-05-30T11:12:17.635Z] Selected Git installation does not exist. Using Default [2023-05-30T11:12:17.635Z] The recommended git tool is: NONE [2023-05-30T11:12:22.369Z] using credential edgex-jenkins-ssh [2023-05-30T11:12:22.383Z] Cloning the remote Git repository [2023-05-30T11:12:22.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T11:12:22.510Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-05-30T11:12:22.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T11:12:22.678Z] > git --version # timeout=10 [2023-05-30T11:12:22.701Z] > git --version # 'git version 2.25.1' [2023-05-30T11:12:22.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T11:12:22.868Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T11:12:25.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-30T11:12:25.033Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T11:12:25.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-30T11:12:25.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T11:12:25.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T11:12:25.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-30T11:12:26.399Z] Merging remotes/origin/main commit ad65e45309f8995a17d27a3f59962ea35e988788 into PR head commit 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [2023-05-30T11:12:26.687Z] Merge succeeded, producing 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [2023-05-30T11:12:26.688Z] Checking out Revision 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 (PR-458) [2023-05-30T11:12:26.413Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T11:12:26.476Z] > git checkout -f 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 # timeout=10 [2023-05-30T11:12:26.580Z] > git remote # timeout=10 [2023-05-30T11:12:26.601Z] > git config --get remote.origin.url # timeout=10 [2023-05-30T11:12:26.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T11:12:26.641Z] > git merge ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [2023-05-30T11:12:26.664Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-30T11:12:26.690Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T11:12:26.704Z] > git checkout -f 2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 # timeout=10 [2023-05-30T11:12:30.189Z] Commit message: "fix: loading insecure secrets from config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T11:12:31.186Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T11:12:31.186Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T11:12:31.186Z] Dload Upload Total Spent Left Speed [2023-05-30T11:12:31.186Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-05-30T11:12:31.840Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T11:12:32.166Z] + sudo tee /etc/docker/daemon.new [2023-05-30T11:12:32.166Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T11:12:32.166Z] { [2023-05-30T11:12:32.166Z] "registry-mirrors": [ [2023-05-30T11:12:32.166Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T11:12:32.166Z] ], [2023-05-30T11:12:32.166Z] "bip": "10.250.0.254/24", [2023-05-30T11:12:32.166Z] "hosts": [ [2023-05-30T11:12:32.166Z] "tcp://0.0.0.0:5555", [2023-05-30T11:12:32.166Z] "unix:///var/run/docker.sock" [2023-05-30T11:12:32.166Z] ], [2023-05-30T11:12:32.166Z] "mtu": 1458, [2023-05-30T11:12:32.166Z] "selinux-enabled": true, [2023-05-30T11:12:32.166Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T11:12:32.166Z] } [Pipeline] sh [2023-05-30T11:12:32.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T11:12:32.814Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T11:12:51.082Z] provisioning config files... [2023-05-30T11:12:51.108Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config258825148425875278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:12:51.455Z] ---> docker-login.sh [2023-05-30T11:12:51.455Z] nexus3.edgexfoundry.org:10001 [2023-05-30T11:12:51.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:12:51.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:12:51.997Z] Configure a credential helper to remove this warning. See [2023-05-30T11:12:51.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:12:51.997Z] [2023-05-30T11:12:51.997Z] Login Succeeded [2023-05-30T11:12:51.997Z] nexus3.edgexfoundry.org:10002 [2023-05-30T11:12:52.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:12:52.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:12:52.540Z] Configure a credential helper to remove this warning. See [2023-05-30T11:12:52.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:12:52.540Z] [2023-05-30T11:12:52.540Z] Login Succeeded [2023-05-30T11:12:52.540Z] nexus3.edgexfoundry.org:10003 [2023-05-30T11:12:52.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:12:52.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:12:52.809Z] Configure a credential helper to remove this warning. See [2023-05-30T11:12:52.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:12:52.809Z] [2023-05-30T11:12:52.809Z] Login Succeeded [2023-05-30T11:12:52.809Z] nexus3.edgexfoundry.org:10004 [2023-05-30T11:12:53.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:12:53.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:12:53.080Z] Configure a credential helper to remove this warning. See [2023-05-30T11:12:53.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:12:53.080Z] [2023-05-30T11:12:53.080Z] Login Succeeded [2023-05-30T11:12:53.080Z] docker.io [2023-05-30T11:12:53.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T11:12:53.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T11:12:53.618Z] Configure a credential helper to remove this warning. See [2023-05-30T11:12:53.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T11:12:53.618Z] [2023-05-30T11:12:53.618Z] Login Succeeded [2023-05-30T11:12:53.618Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T11:12:53.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T11:12:53.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T11:12:53.883Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-30T11:12:53.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T11:12:53.910Z] ========================================================= [2023-05-30T11:12:53.910Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-30T11:12:53.910Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:12:54.249Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-05-30T11:12:54.527Z] Sending build context to Docker daemon 2.933MB [2023-05-30T11:12:54.527Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T11:12:54.527Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T11:12:54.797Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-30T11:12:54.797Z] 547446be3368: Pulling fs layer [2023-05-30T11:12:54.797Z] 76bd08e1cacc: Pulling fs layer [2023-05-30T11:12:54.797Z] 547446be3368: Verifying Checksum [2023-05-30T11:12:54.797Z] 547446be3368: Download complete [2023-05-30T11:12:55.387Z] 547446be3368: Pull complete [2023-05-30T11:12:56.805Z] 76bd08e1cacc: Verifying Checksum [2023-05-30T11:12:56.805Z] 76bd08e1cacc: Download complete [2023-05-30T11:13:05.050Z] 76bd08e1cacc: Pull complete [2023-05-30T11:13:05.050Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-30T11:13:05.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-30T11:13:05.050Z] ---> 295cd00e64f4 [2023-05-30T11:13:05.050Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:13:05.318Z] ---> Running in 75f7b016a237 [2023-05-30T11:13:06.279Z] Connecting to iotech.jfrog.io (34.252.101.44:443) [2023-05-30T11:13:06.860Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:13:06.860Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:13:06.860Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:13:07.445Z] Removing intermediate container 75f7b016a237 [2023-05-30T11:13:07.446Z] ---> df072c97c3f3 [2023-05-30T11:13:07.446Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:13:07.446Z] ---> Running in 7a0ed298d964 [2023-05-30T11:13:09.396Z] Removing intermediate container 7a0ed298d964 [2023-05-30T11:13:09.396Z] ---> 73b20c090c05 [2023-05-30T11:13:09.396Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-30T11:13:09.396Z] ---> Running in 5d094ae712e1 [2023-05-30T11:13:09.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:13:10.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T11:13:10.831Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:13:11.794Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:13:11.794Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:13:11.794Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:13:11.794Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T11:13:11.794Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T11:13:11.794Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T11:13:12.378Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T11:13:12.378Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T11:13:12.378Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T11:13:12.378Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T11:13:12.644Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T11:13:13.231Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T11:13:13.231Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T11:13:13.231Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T11:13:13.499Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T11:13:13.499Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T11:13:13.499Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T11:13:13.499Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:13:13.499Z] OK: 286 MiB in 90 packages [2023-05-30T11:13:14.921Z] Removing intermediate container 5d094ae712e1 [2023-05-30T11:13:14.921Z] ---> f5e97628cc21 [2023-05-30T11:13:14.921Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T11:13:14.921Z] ---> Running in 32e5d24d9acc [2023-05-30T11:13:16.333Z] Removing intermediate container 32e5d24d9acc [2023-05-30T11:13:16.333Z] ---> 6fa1590d4196 [2023-05-30T11:13:16.333Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T11:13:19.667Z] ---> 2fbab9983120 [2023-05-30T11:13:19.667Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T11:13:20.249Z] ---> 5d51100a7ca8 [2023-05-30T11:13:20.249Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T11:13:20.518Z] ---> 76bbb2d4258b [2023-05-30T11:13:20.518Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T11:13:21.103Z] ---> f6b91ba48f7e [2023-05-30T11:13:21.103Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T11:13:21.373Z] ---> 75136a29c6f8 [2023-05-30T11:13:21.373Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T11:13:21.962Z] ---> 028632828710 [2023-05-30T11:13:21.962Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T11:13:21.962Z] ---> Running in 6210cc3a7d18 [2023-05-30T11:13:22.927Z] + CPPCHECK=false [2023-05-30T11:13:22.927Z] + DOCGEN=false [2023-05-30T11:13:22.927Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T11:13:22.927Z] + '[' 0 -gt 0 ] [2023-05-30T11:13:22.927Z] + readlink -f ./scripts/build.sh [2023-05-30T11:13:22.927Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T11:13:22.927Z] + dirname /tmp/sdk/scripts [2023-05-30T11:13:22.927Z] + ROOT=/tmp/sdk [2023-05-30T11:13:22.927Z] + cd /tmp/sdk [2023-05-30T11:13:22.927Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T11:13:22.927Z] + cd /tmp/sdk/build/release [2023-05-30T11:13:22.927Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T11:13:23.194Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T11:13:23.194Z] -- Detecting C compiler ABI info [2023-05-30T11:13:23.460Z] -- Detecting C compiler ABI info - done [2023-05-30T11:13:23.460Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T11:13:23.460Z] -- Detecting C compile features [2023-05-30T11:13:23.460Z] -- Detecting C compile features - done [2023-05-30T11:13:23.725Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T11:13:23.725Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T11:13:23.725Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T11:13:23.725Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T11:13:23.725Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T11:13:23.991Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T11:13:23.991Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T11:13:23.991Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T11:13:23.991Z] -- /opt/iotech/iot/1.5/include [2023-05-30T11:13:23.991Z] -- C SDK 0.0.0 for Linux [2023-05-30T11:13:23.991Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T11:13:24.259Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T11:13:24.259Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T11:13:24.526Z] -- Configuring done [2023-05-30T11:13:24.793Z] -- Generating done [2023-05-30T11:13:24.793Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T11:13:24.793Z] + make all package [2023-05-30T11:13:24.793Z] + tee release.log [2023-05-30T11:13:25.059Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T11:13:25.641Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T11:13:26.597Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T11:13:27.551Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T11:13:28.503Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T11:13:29.084Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T11:13:31.658Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T11:13:32.616Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T11:13:32.616Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T11:13:34.018Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T11:13:36.591Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T11:13:37.177Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T11:13:38.136Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T11:13:39.096Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T11:13:40.055Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T11:13:41.015Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T11:13:41.294Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T11:13:43.866Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T11:13:44.131Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T11:13:45.087Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T11:13:46.490Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T11:13:53.124Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T11:13:53.124Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T11:13:53.707Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T11:13:54.287Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T11:13:54.552Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T11:13:56.488Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T11:13:59.074Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T11:13:59.654Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T11:14:00.609Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T11:14:01.191Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T11:14:04.529Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T11:14:05.110Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T11:14:05.694Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T11:14:06.275Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T11:14:06.541Z] [ 68%] Built target csdk [2023-05-30T11:14:06.541Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T11:14:07.500Z] [ 72%] Linking C executable template [2023-05-30T11:14:07.765Z] [ 72%] Built target template [2023-05-30T11:14:07.765Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T11:14:08.347Z] [ 76%] Linking C executable device-counter [2023-05-30T11:14:08.613Z] [ 76%] Built target device-counter [2023-05-30T11:14:08.613Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T11:14:09.195Z] [ 80%] Linking C executable device-random [2023-05-30T11:14:09.473Z] [ 80%] Built target device-random [2023-05-30T11:14:09.473Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T11:14:10.060Z] [ 84%] Linking C executable device-gyro [2023-05-30T11:14:10.327Z] [ 84%] Built target device-gyro [2023-05-30T11:14:10.327Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T11:14:11.288Z] [ 88%] Linking C executable device-bitfields [2023-05-30T11:14:11.288Z] [ 88%] Built target device-bitfields [2023-05-30T11:14:11.288Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T11:14:12.695Z] [ 92%] Linking C executable template-discovery [2023-05-30T11:14:12.695Z] [ 92%] Built target template-discovery [2023-05-30T11:14:12.961Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T11:14:13.544Z] [ 96%] Linking C executable device-file [2023-05-30T11:14:13.811Z] [ 96%] Built target device-file [2023-05-30T11:14:14.080Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T11:14:15.042Z] [100%] Linking C executable device-terminal [2023-05-30T11:14:15.042Z] [100%] Built target device-terminal [2023-05-30T11:14:15.042Z] Run CPack packaging tool... [2023-05-30T11:14:15.309Z] CPack: Create package using TGZ [2023-05-30T11:14:15.309Z] CPack: Install projects [2023-05-30T11:14:15.309Z] CPack: - Run preinstall target for: Csdk [2023-05-30T11:14:15.892Z] CPack: - Install project: Csdk [] [2023-05-30T11:14:15.892Z] CPack: Create package [2023-05-30T11:14:16.160Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-30T11:14:16.160Z] + '[' false '=' true ] [2023-05-30T11:14:16.160Z] + '[' false '=' true ] [2023-05-30T11:14:16.160Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T11:14:16.160Z] + cd /tmp/sdk/build/debug [2023-05-30T11:14:16.160Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T11:14:16.427Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T11:14:16.427Z] -- Detecting C compiler ABI info [2023-05-30T11:14:16.693Z] -- Detecting C compiler ABI info - done [2023-05-30T11:14:16.962Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T11:14:16.962Z] -- Detecting C compile features [2023-05-30T11:14:16.962Z] -- Detecting C compile features - done [2023-05-30T11:14:16.962Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T11:14:16.962Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T11:14:16.962Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T11:14:17.227Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T11:14:17.227Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T11:14:17.227Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T11:14:17.227Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T11:14:17.227Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T11:14:17.227Z] -- /opt/iotech/iot/1.5/include [2023-05-30T11:14:17.227Z] -- C SDK 0.0.0 for Linux [2023-05-30T11:14:17.227Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T11:14:17.493Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T11:14:17.760Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T11:14:17.760Z] -- Configuring done [2023-05-30T11:14:18.027Z] -- Generating done [2023-05-30T11:14:18.027Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T11:14:18.027Z] + make [2023-05-30T11:14:18.027Z] + tee debug.log [2023-05-30T11:14:18.293Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T11:14:18.876Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T11:14:19.145Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T11:14:19.729Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T11:14:19.997Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T11:14:20.580Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T11:14:21.163Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T11:14:21.748Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T11:14:21.748Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T11:14:22.334Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T11:14:23.292Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T11:14:23.558Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T11:14:24.140Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T11:14:24.406Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T11:14:24.672Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T11:14:25.253Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T11:14:25.520Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T11:14:26.484Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T11:14:26.484Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T11:14:26.750Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T11:14:27.331Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T11:14:28.746Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T11:14:29.330Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T11:14:29.596Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T11:14:29.862Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T11:14:30.127Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T11:14:30.709Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T11:14:32.653Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T11:14:32.919Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T11:14:33.185Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T11:14:33.768Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T11:14:34.729Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T11:14:34.997Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T11:14:35.576Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T11:14:35.841Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T11:14:36.106Z] [ 68%] Built target csdk [2023-05-30T11:14:36.106Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T11:14:36.689Z] [ 72%] Linking C executable template [2023-05-30T11:14:36.689Z] [ 72%] Built target template [2023-05-30T11:14:36.954Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T11:14:37.218Z] [ 76%] Linking C executable device-counter [2023-05-30T11:14:37.484Z] [ 76%] Built target device-counter [2023-05-30T11:14:37.484Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T11:14:37.749Z] [ 80%] Linking C executable device-random [2023-05-30T11:14:38.014Z] [ 80%] Built target device-random [2023-05-30T11:14:38.279Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T11:14:38.544Z] [ 84%] Linking C executable device-gyro [2023-05-30T11:14:38.810Z] [ 84%] Built target device-gyro [2023-05-30T11:14:38.810Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T11:14:39.075Z] [ 88%] Linking C executable device-bitfields [2023-05-30T11:14:39.343Z] [ 88%] Built target device-bitfields [2023-05-30T11:14:39.343Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T11:14:39.921Z] [ 92%] Linking C executable template-discovery [2023-05-30T11:14:40.188Z] [ 92%] Built target template-discovery [2023-05-30T11:14:40.188Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T11:14:40.454Z] [ 96%] Linking C executable device-file [2023-05-30T11:14:40.719Z] [ 96%] Built target device-file [2023-05-30T11:14:40.983Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T11:14:41.249Z] [100%] Linking C executable device-terminal [2023-05-30T11:14:41.834Z] [100%] Built target device-terminal [2023-05-30T11:14:41.834Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] [ 68%] Built target csdk [2023-05-30T11:14:41.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] [ 72%] Built target template [2023-05-30T11:14:41.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] [ 76%] Built target device-counter [2023-05-30T11:14:41.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:41.834Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [ 80%] Built target device-random [2023-05-30T11:14:42.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [ 84%] Built target device-gyro [2023-05-30T11:14:42.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [ 88%] Built target device-bitfields [2023-05-30T11:14:42.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [ 92%] Built target template-discovery [2023-05-30T11:14:42.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [ 96%] Built target device-file [2023-05-30T11:14:42.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.100Z] [100%] Built target device-terminal [2023-05-30T11:14:42.100Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:42.368Z] Install the project... [2023-05-30T11:14:42.368Z] -- Install configuration: "Release" [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T11:14:42.368Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/devsdk [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T11:14:42.368Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T11:14:42.368Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T11:14:43.866Z] Removing intermediate container 6210cc3a7d18 [2023-05-30T11:14:43.866Z] ---> 93bbdd53567c [2023-05-30T11:14:43.866Z] Step 14/21 : FROM ${BASE} [2023-05-30T11:14:43.866Z] ---> 295cd00e64f4 [2023-05-30T11:14:43.866Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T11:14:43.866Z] ---> Running in df1e7d7fe879 [2023-05-30T11:14:44.136Z] Removing intermediate container df1e7d7fe879 [2023-05-30T11:14:44.136Z] ---> 76b4f9f43851 [2023-05-30T11:14:44.136Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:14:44.136Z] ---> Running in f9c0fad06208 [2023-05-30T11:14:45.123Z] Connecting to iotech.jfrog.io (54.217.183.140:443) [2023-05-30T11:14:45.401Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:14:45.401Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:14:45.401Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:14:45.991Z] Removing intermediate container f9c0fad06208 [2023-05-30T11:14:45.991Z] ---> 7cd3642bd0fa [2023-05-30T11:14:45.991Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:14:46.268Z] ---> Running in b6527da5db19 [2023-05-30T11:14:47.715Z] Removing intermediate container b6527da5db19 [2023-05-30T11:14:47.715Z] ---> 22c641e42e25 [2023-05-30T11:14:47.715Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-30T11:14:47.715Z] ---> Running in 7d0137d2943d [2023-05-30T11:14:48.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:14:49.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T11:14:49.523Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:14:50.482Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:14:50.482Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T11:14:50.482Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T11:14:50.482Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T11:14:50.482Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T11:14:51.068Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T11:14:51.332Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T11:14:51.332Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T11:14:52.291Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:14:52.291Z] OK: 281 MiB in 83 packages [2023-05-30T11:14:53.249Z] Removing intermediate container 7d0137d2943d [2023-05-30T11:14:53.249Z] ---> 29c4ca6715e3 [2023-05-30T11:14:53.249Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T11:14:53.516Z] ---> 4caafb50ee7b [2023-05-30T11:14:53.516Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T11:14:54.099Z] ---> 26a7cca4c5f8 [2023-05-30T11:14:54.099Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T11:14:54.685Z] ---> fcb69affe3a4 [2023-05-30T11:14:54.685Z] Successfully built fcb69affe3a4 [2023-05-30T11:14:54.685Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:14:55.098Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T11:14:55.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:14:55.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-17293 does not seem to be running inside a container [2023-05-30T11:14:55.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-30T11:14:56.478Z] $ docker top 0012e83880b27e3b880a9f8f14f464258d4dfa62f436d8fb718af9c1d38afe00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T11:14:57.286Z] + make test [2023-05-30T11:14:57.286Z] echo "make test" [2023-05-30T11:14:57.286Z] make test [Pipeline] } [2023-05-30T11:14:57.311Z] $ docker stop --time=1 0012e83880b27e3b880a9f8f14f464258d4dfa62f436d8fb718af9c1d38afe00 [2023-05-30T11:14:58.910Z] $ docker rm -f --volumes 0012e83880b27e3b880a9f8f14f464258d4dfa62f436d8fb718af9c1d38afe00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T11:14:59.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T11:14:59.713Z] + ls -al . [2023-05-30T11:14:59.713Z] total 208 [2023-05-30T11:14:59.713Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 11:12 . [2023-05-30T11:14:59.713Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:12 .. [2023-05-30T11:14:59.713Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 11:12 .git [2023-05-30T11:14:59.713Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:12 .github [2023-05-30T11:14:59.713Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 11:12 .gitignore [2023-05-30T11:14:59.713Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 11:12 Attribution.txt [2023-05-30T11:14:59.713Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 11:12 CHANGES [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 11:12 Doxyfile [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 11:12 GOVERNANCE.md [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 11:12 Jenkinsfile [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 11:12 LICENSE [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 11:12 Makefile [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 11:12 OWNERS.md [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 11:12 README.IOT.md [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 11:12 README.md [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 11:12 README.v3.md [2023-05-30T11:14:59.714Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 11:09 VERSION [2023-05-30T11:14:59.714Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:12 docs [2023-05-30T11:14:59.714Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:12 include [2023-05-30T11:14:59.714Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 11:12 scripts [2023-05-30T11:14:59.714Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 11:12 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:15:00.047Z] + 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=2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 --label arch=arm64 --label version=0.0.0 . [2023-05-30T11:15:00.313Z] Sending build context to Docker daemon 2.933MB [2023-05-30T11:15:00.313Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T11:15:00.313Z] Step 2/17 : FROM ${BASE} [2023-05-30T11:15:00.313Z] ---> fcb69affe3a4 [2023-05-30T11:15:00.313Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T11:15:00.586Z] ---> Running in b1c50b98dcd3 [2023-05-30T11:15:00.854Z] Removing intermediate container b1c50b98dcd3 [2023-05-30T11:15:00.854Z] ---> a50e280c7577 [2023-05-30T11:15:00.854Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-30T11:15:00.854Z] ---> Running in e8be9089abaa [2023-05-30T11:15:01.822Z] Connecting to iotech.jfrog.io (52.50.209.154:443) [2023-05-30T11:15:02.086Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T11:15:02.086Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T11:15:02.086Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T11:15:02.670Z] Removing intermediate container e8be9089abaa [2023-05-30T11:15:02.670Z] ---> 2066408adc6a [2023-05-30T11:15:02.670Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T11:15:02.936Z] ---> Running in 805439aa3e18 [2023-05-30T11:15:05.508Z] Removing intermediate container 805439aa3e18 [2023-05-30T11:15:05.508Z] ---> ce6279b061be [2023-05-30T11:15:05.508Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-30T11:15:05.508Z] ---> Running in 1baf94f23dbe [2023-05-30T11:15:06.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:15:06.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T11:15:07.046Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T11:15:07.998Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T11:15:07.998Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:15:07.998Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T11:15:07.998Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T11:15:08.578Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T11:15:08.578Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T11:15:08.578Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T11:15:08.844Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T11:15:08.844Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T11:15:08.844Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T11:15:08.844Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T11:15:08.844Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T11:15:08.844Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T11:15:08.844Z] OK: 287 MiB in 92 packages [2023-05-30T11:15:10.249Z] Removing intermediate container 1baf94f23dbe [2023-05-30T11:15:10.249Z] ---> c77396945ecd [2023-05-30T11:15:10.249Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T11:15:10.516Z] ---> cccd6810368c [2023-05-30T11:15:10.516Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T11:15:11.477Z] ---> 4a21bf9f2849 [2023-05-30T11:15:11.477Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T11:15:11.747Z] ---> 56f30841622f [2023-05-30T11:15:11.747Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T11:15:12.329Z] ---> 363d4873f7ad [2023-05-30T11:15:12.329Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T11:15:12.911Z] ---> 519a26064bee [2023-05-30T11:15:12.911Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T11:15:13.178Z] ---> 8997d01268e2 [2023-05-30T11:15:13.178Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T11:15:13.178Z] ---> Running in 1194f3937801 [2023-05-30T11:15:13.761Z] Removing intermediate container 1194f3937801 [2023-05-30T11:15:13.761Z] ---> 53322c3cdf41 [2023-05-30T11:15:13.761Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T11:15:13.761Z] ---> Running in 56fe128ca3ec [2023-05-30T11:15:14.028Z] Removing intermediate container 56fe128ca3ec [2023-05-30T11:15:14.028Z] ---> 1f8b12a81a69 [2023-05-30T11:15:14.028Z] Step 15/17 : LABEL arch=arm64 [2023-05-30T11:15:14.028Z] ---> Running in 9edaa391e1b2 [2023-05-30T11:15:14.296Z] Removing intermediate container 9edaa391e1b2 [2023-05-30T11:15:14.296Z] ---> 32f88ec6b9ae [2023-05-30T11:15:14.296Z] Step 16/17 : LABEL git_sha=2a98d0d425599aa7d9bdcc53bc7f9390b3a05b31 [2023-05-30T11:15:14.296Z] ---> Running in 874ed4095af8 [2023-05-30T11:15:14.562Z] Removing intermediate container 874ed4095af8 [2023-05-30T11:15:14.562Z] ---> db2b7ad1895a [2023-05-30T11:15:14.562Z] Step 17/17 : LABEL version=0.0.0 [2023-05-30T11:15:14.839Z] ---> Running in 82c768c4f0e9 [2023-05-30T11:15:15.105Z] Removing intermediate container 82c768c4f0e9 [2023-05-30T11:15:15.106Z] ---> 641fff90a116 [2023-05-30T11:15:15.106Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-30T11:15:15.106Z] Successfully built 641fff90a116 [2023-05-30T11:15:15.106Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:15:15.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T11:15:15.530Z] [2023-05-30T11:15:15.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:15:15.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T11:15:16.121Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T11:15:16.121Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T11:15:16.122Z] 04944245beec: Pulling fs layer [2023-05-30T11:15:16.122Z] 699f458cf7ca: Pulling fs layer [2023-05-30T11:15:16.122Z] 765212b225bb: Pulling fs layer [2023-05-30T11:15:16.122Z] f23df028b6ca: Pulling fs layer [2023-05-30T11:15:16.122Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T11:15:16.122Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T11:15:16.122Z] f23df028b6ca: Waiting [2023-05-30T11:15:16.122Z] d65c8cfc05b1: Waiting [2023-05-30T11:15:16.122Z] 2437ff75d9bd: Waiting [2023-05-30T11:15:16.122Z] 765212b225bb: Waiting [2023-05-30T11:15:16.122Z] 04944245beec: Verifying Checksum [2023-05-30T11:15:16.122Z] 04944245beec: Download complete [2023-05-30T11:15:16.122Z] 765212b225bb: Verifying Checksum [2023-05-30T11:15:16.122Z] 765212b225bb: Download complete [2023-05-30T11:15:16.122Z] f23df028b6ca: Verifying Checksum [2023-05-30T11:15:16.122Z] f23df028b6ca: Download complete [2023-05-30T11:15:16.391Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T11:15:16.391Z] d65c8cfc05b1: Download complete [2023-05-30T11:15:16.391Z] 699f458cf7ca: Verifying Checksum [2023-05-30T11:15:16.391Z] 699f458cf7ca: Download complete [2023-05-30T11:15:16.660Z] 8998bd30e6a1: Verifying Checksum [2023-05-30T11:15:16.660Z] 8998bd30e6a1: Download complete [2023-05-30T11:15:19.253Z] 2437ff75d9bd: Verifying Checksum [2023-05-30T11:15:19.253Z] 2437ff75d9bd: Download complete [2023-05-30T11:15:20.660Z] 8998bd30e6a1: Pull complete [2023-05-30T11:15:21.242Z] 04944245beec: Pull complete [2023-05-30T11:15:22.649Z] 699f458cf7ca: Pull complete [2023-05-30T11:15:22.649Z] 765212b225bb: Pull complete [2023-05-30T11:15:23.618Z] f23df028b6ca: Pull complete [2023-05-30T11:15:23.618Z] d65c8cfc05b1: Pull complete [2023-05-30T11:15:38.605Z] 2437ff75d9bd: Pull complete [2023-05-30T11:15:38.605Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T11:15:38.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T11:15:38.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:15:38.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-17293 does not seem to be running inside a container [2023-05-30T11:15:38.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-30T11:15:43.677Z] $ docker top 3cefcb8305aa63765f3889120694a14f5a4428e2f26320fe80d48fba70ad5fa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:44.182Z] ---> job-cost.sh [2023-05-30T11:15:44.448Z] lf-activate-venv: SKIPPING [2023-05-30T11:15:44.448Z] INFO: No Stack... [2023-05-30T11:15:44.713Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T11:15:45.666Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T11:15:46.307Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-05-30T11:15:46.307Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T11:15:46.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [2023-05-30T11:15:46.374Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] did not exist. Created. [2023-05-30T11:15:46.374Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T11:15:47.022Z] /w/workspace/device-sdk-c/2@tmp/durable-d62a80fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T11:15:47.353Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T11:15:47.377Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T11:15:47.799Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T11:15:47.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-458-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T11:15:47.837Z] $ docker stop --time=1 3cefcb8305aa63765f3889120694a14f5a4428e2f26320fe80d48fba70ad5fa2 [2023-05-30T11:15:49.338Z] $ docker rm -f --volumes 3cefcb8305aa63765f3889120694a14f5a4428e2f26320fe80d48fba70ad5fa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-30T11:15:50.089Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives ] [2023-05-30T11:15:50.090Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T11:15:50.090Z] total 16 [2023-05-30T11:15:50.090Z] drwxr-xr-x 3 root root 4096 May 30 11:10 . [2023-05-30T11:15:50.090Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 11:10 .. [2023-05-30T11:15:50.090Z] drwxr-xr-x 2 root root 4096 May 30 11:10 cost [2023-05-30T11:15:50.090Z] -rw-r--r-- 1 root root 84 May 30 11:10 cost.csv [2023-05-30T11:15:50.090Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T11:15:50.090Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T11:15:50.090Z] total 16 [2023-05-30T11:15:50.090Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 11:10 . [2023-05-30T11:15:50.090Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 11:10 .. [2023-05-30T11:15:50.090Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 11:10 cost [2023-05-30T11:15:50.090Z] -rw-r--r-- 1 jenkins jenkins 84 May 30 11:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:50.381Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:51.240Z] ---> package-listing.sh [2023-05-30T11:15:51.240Z] ++ facter osfamily [2023-05-30T11:15:51.240Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T11:15:51.500Z] + OS_FAMILY=debian [2023-05-30T11:15:51.500Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-458 [2023-05-30T11:15:51.500Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T11:15:51.500Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T11:15:51.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T11:15:51.500Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T11:15:51.500Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-458 ']' [2023-05-30T11:15:51.500Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T11:15:51.500Z] + case "${OS_FAMILY}" in [2023-05-30T11:15:51.500Z] + dpkg -l [2023-05-30T11:15:51.500Z] + grep '^ii' [2023-05-30T11:15:51.500Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T11:15:51.500Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T11:15:51.500Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T11:15:51.500Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-458 ']' [2023-05-30T11:15:51.500Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/ [2023-05-30T11:15:51.500Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/ [Pipeline] echo [2023-05-30T11:15:51.511Z] 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-458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-30T11:15:51.798Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T11:15:52.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T11:15:52.091Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T11:15:52.166Z] prd-ubuntu20.04-docker-8c-8g-17292 does not seem to be running inside a container [2023-05-30T11:15:52.199Z] $ 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-458/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-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T11:15:52.394Z] $ docker top d5c7db4a6f3fd0e3ec4017eed3b97f5449d740ffa6cc4ebf980ce42443ba59b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T11:15:52.735Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T11:15:53.028Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T11:15:53.313Z] + ls /var/log/sa-host [2023-05-30T11:15:53.313Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T11:15:53.385Z] provisioning config files... [2023-05-30T11:15:53.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config8620074466519045308tmp [Pipeline] { [Pipeline] echo [2023-05-30T11:15:53.407Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:53.691Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T11:15:53.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:54.019Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T11:15:54.028Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:54.311Z] ---> sudo-logs.sh [2023-05-30T11:15:54.312Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T11:15:54.345Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:54.628Z] ---> job-cost.sh [2023-05-30T11:15:54.628Z] lf-activate-venv: SKIPPING [2023-05-30T11:15:54.628Z] DEBUG: total: 0.2199999988079071 [2023-05-30T11:15:54.628Z] INFO: Retrieving Stack Cost... [2023-05-30T11:15:54.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T11:15:55.148Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T11:15:55.160Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T11:15:55.446Z] ---> logs-deploy.sh [2023-05-30T11:15:55.446Z] lf-activate-venv: SKIPPING [2023-05-30T11:15:55.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-458/2 [2023-05-30T11:15:55.446Z] INFO: archiving workspace using pattern(s): [2023-05-30T11:15:56.384Z] Archives upload complete. [2023-05-30T11:15:56.384Z] INFO: archiving logs to Nexus