Pull request #425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e+1086c909c01125341e32c6ebb8870b6cabe987d5 (52cd6055910a479d7809ece90294d50ed40f8b8d) 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-ssh5005445371242194558.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh8509268891812731018.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15146667311156946168.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3618791345731546597.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5715469748182908695.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2765788520111775275.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19530 in /w/workspace/edgexfoundry_device-sdk-c_PR-425 [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-425 # 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 Merging remotes/origin/main commit 1086c909c01125341e32c6ebb8870b6cabe987d5 into PR head commit fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e Merge succeeded, producing fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e Checking out Revision fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e (PR-425) > 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/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e # 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 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e # timeout=10 Commit message: "fix: profile information was being purged on certain device updates (#424)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T10:03:39.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T10:03:39.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T10:03:39.287Z] ========================================================= [2022-07-12T10:03:39.287Z] EdgeX Global Pipelines Version Info [2022-07-12T10:03:39.287Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:03:40.097Z] ------------------- [2022-07-12T10:03:40.097Z] stable info: [2022-07-12T10:03:40.097Z] ------------------- [2022-07-12T10:03:40.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T10:03:40.097Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T10:03:40.097Z] Message: update stable to v1.0.237 [2022-07-12T10:03:40.671Z] ------------------- [2022-07-12T10:03:40.671Z] experimental info: [2022-07-12T10:03:40.671Z] ------------------- [2022-07-12T10:03:40.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T10:03:40.671Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T10:03:40.671Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T10:03:41.020Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-12T10:03:41.054Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-12T10:03:41.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T10:03:41.126Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T10:03:41.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T10:03:41.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-12T10:03:41.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-12T10:03:41.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T10:03:41.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T10:03:41.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-12T10:03:41.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T10:03:41.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T10:03:41.484Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T10:03:41.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T10:03:41.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T10:03:41.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T10:03:41.637Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T10:03:41.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo [2022-07-12T10:03:41.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo [2022-07-12T10:03:41.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo [2022-07-12T10:03:41.794Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [Pipeline] echo [2022-07-12T10:03:41.836Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb20eec [Pipeline] echo [2022-07-12T10:03:41.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T10:03:41.995Z] provisioning config files... [2022-07-12T10:03:42.008Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config1323341012561678301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:03:42.365Z] ---> docker-login.sh [2022-07-12T10:03:42.365Z] nexus3.edgexfoundry.org:10001 [2022-07-12T10:03:42.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:03:42.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:03:42.891Z] Configure a credential helper to remove this warning. See [2022-07-12T10:03:42.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:03:42.891Z] [2022-07-12T10:03:42.891Z] Login Succeeded [2022-07-12T10:03:42.891Z] nexus3.edgexfoundry.org:10002 [2022-07-12T10:03:42.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:03:42.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:03:42.891Z] Configure a credential helper to remove this warning. See [2022-07-12T10:03:42.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:03:42.891Z] [2022-07-12T10:03:42.891Z] Login Succeeded [2022-07-12T10:03:42.891Z] nexus3.edgexfoundry.org:10003 [2022-07-12T10:03:43.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:03:43.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:03:43.155Z] Configure a credential helper to remove this warning. See [2022-07-12T10:03:43.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:03:43.155Z] [2022-07-12T10:03:43.155Z] Login Succeeded [2022-07-12T10:03:43.155Z] nexus3.edgexfoundry.org:10004 [2022-07-12T10:03:43.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:03:43.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:03:43.417Z] Configure a credential helper to remove this warning. See [2022-07-12T10:03:43.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:03:43.417Z] [2022-07-12T10:03:43.417Z] Login Succeeded [2022-07-12T10:03:43.417Z] docker.io [2022-07-12T10:03:43.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:03:43.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:03:43.679Z] Configure a credential helper to remove this warning. See [2022-07-12T10:03:43.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:03:43.679Z] [2022-07-12T10:03:43.679Z] Login Succeeded [2022-07-12T10:03:43.679Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T10:03:43.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-07-12T10:03:44.339Z] + git rev-list -1 --merges fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e~1..fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [Pipeline] echo [2022-07-12T10:03:44.393Z] -----------> git rev-list -1 --merges fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e~1..fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [false] [Pipeline] sh [2022-07-12T10:03:44.708Z] + git log --format=format:%s -1 fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [Pipeline] echo [2022-07-12T10:03:44.743Z] ========================================================= [2022-07-12T10:03:44.743Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T10:03:44.743Z] ========================================================= 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 [2022-07-12T10:03:45.543Z] + git rev-list -1 --merges fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e~1..fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [Pipeline] echo [2022-07-12T10:03:45.574Z] -----------> git rev-list -1 --merges fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e~1..fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [false] [Pipeline] sh [2022-07-12T10:03:45.883Z] + git log --format=format:%s -1 fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [Pipeline] echo [2022-07-12T10:03:45.918Z] ========================================================= [2022-07-12T10:03:45.918Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T10:03:45.918Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-12T10:03:46.527Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T10:03:46.527Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T10:03:46.527Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T10:03:46.527Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T10:03:46.527Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T10:03:46.527Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T10:03:46.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:03:47.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T10:03:47.030Z] [2022-07-12T10:03:47.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:03:47.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T10:03:47.421Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T10:03:47.421Z] b85a868b505f: Pulling fs layer [2022-07-12T10:03:47.421Z] e2be974225ed: Pulling fs layer [2022-07-12T10:03:47.421Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T10:03:47.421Z] 988bab9f4d93: Pulling fs layer [2022-07-12T10:03:47.421Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T10:03:47.421Z] eaf3925da568: Pulling fs layer [2022-07-12T10:03:47.421Z] bab4dde63d76: Pulling fs layer [2022-07-12T10:03:47.421Z] bde34c3a00c8: Pulling fs layer [2022-07-12T10:03:47.421Z] b352a97aabf1: Pulling fs layer [2022-07-12T10:03:47.421Z] 4872d77fe225: Pulling fs layer [2022-07-12T10:03:47.421Z] 5851b861e8e6: Pulling fs layer [2022-07-12T10:03:47.421Z] 988bab9f4d93: Waiting [2022-07-12T10:03:47.421Z] 1469e6f7b9e6: Waiting [2022-07-12T10:03:47.421Z] bde34c3a00c8: Waiting [2022-07-12T10:03:47.421Z] eaf3925da568: Waiting [2022-07-12T10:03:47.421Z] bab4dde63d76: Waiting [2022-07-12T10:03:47.421Z] b352a97aabf1: Waiting [2022-07-12T10:03:47.421Z] 5851b861e8e6: Waiting [2022-07-12T10:03:47.421Z] 4872d77fe225: Waiting [2022-07-12T10:03:47.421Z] e2be974225ed: Download complete [2022-07-12T10:03:47.421Z] 988bab9f4d93: Verifying Checksum [2022-07-12T10:03:47.421Z] 988bab9f4d93: Download complete [2022-07-12T10:03:47.682Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T10:03:47.682Z] 1469e6f7b9e6: Download complete [2022-07-12T10:03:47.682Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T10:03:47.682Z] 339a4e72a1f5: Download complete [2022-07-12T10:03:47.682Z] eaf3925da568: Download complete [2022-07-12T10:03:47.682Z] bde34c3a00c8: Verifying Checksum [2022-07-12T10:03:47.682Z] bde34c3a00c8: Download complete [2022-07-12T10:03:47.682Z] b352a97aabf1: Download complete [2022-07-12T10:03:47.682Z] 4872d77fe225: Verifying Checksum [2022-07-12T10:03:47.682Z] 4872d77fe225: Download complete [2022-07-12T10:03:47.682Z] 5851b861e8e6: Download complete [2022-07-12T10:03:47.682Z] b85a868b505f: Verifying Checksum [2022-07-12T10:03:47.682Z] b85a868b505f: Download complete [2022-07-12T10:03:47.943Z] bab4dde63d76: Verifying Checksum [2022-07-12T10:03:47.943Z] bab4dde63d76: Download complete [2022-07-12T10:03:49.326Z] b85a868b505f: Pull complete [2022-07-12T10:03:49.326Z] e2be974225ed: Pull complete [2022-07-12T10:03:49.586Z] 339a4e72a1f5: Pull complete [2022-07-12T10:03:49.847Z] 988bab9f4d93: Pull complete [2022-07-12T10:03:50.111Z] 1469e6f7b9e6: Pull complete [2022-07-12T10:03:50.111Z] eaf3925da568: Pull complete [2022-07-12T10:03:52.660Z] bab4dde63d76: Pull complete [2022-07-12T10:03:52.660Z] bde34c3a00c8: Pull complete [2022-07-12T10:03:52.660Z] b352a97aabf1: Pull complete [2022-07-12T10:03:52.660Z] 4872d77fe225: Pull complete [2022-07-12T10:03:52.660Z] 5851b861e8e6: Pull complete [2022-07-12T10:03:52.660Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T10:03:52.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T10:03:52.660Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T10:03:52.874Z] prd-ubuntu20.04-docker-8c-8g-19530 does not seem to be running inside a container [2022-07-12T10:03:52.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T10:03:54.240Z] $ docker top d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 -eo pid,comm [2022-07-12T10:03:54.304Z] 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). [2022-07-12T10:03:54.304Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T10:03:54.427Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T10:03:54.427Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T10:03:54.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T10:03:54.557Z] $ docker exec d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 ssh-agent [2022-07-12T10:03:54.688Z] SSH_AUTH_SOCK=/tmp/ssh-o7cQnFwJYxWg/agent.32 [2022-07-12T10:03:54.688Z] SSH_AGENT_PID=38 [2022-07-12T10:03:54.695Z] Running ssh-add (command line suppressed) [2022-07-12T10:03:54.822Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_4417340067251181681.key (/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_4417340067251181681.key) [2022-07-12T10:03:54.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T10:03:55.165Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T10:03:55.194Z] $ docker exec --env ******** --env ******** d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 ssh-agent -k [2022-07-12T10:03:55.307Z] unset SSH_AUTH_SOCK; [2022-07-12T10:03:55.307Z] unset SSH_AGENT_PID; [2022-07-12T10:03:55.308Z] echo Agent pid 38 killed; [2022-07-12T10:03:55.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T10:03:55.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T10:03:55.402Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T10:03:55.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T10:03:55.539Z] $ docker exec d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 ssh-agent [2022-07-12T10:03:55.653Z] SSH_AUTH_SOCK=/tmp/ssh-ldABebR0bEWA/agent.70 [2022-07-12T10:03:55.653Z] SSH_AGENT_PID=76 [2022-07-12T10:03:55.659Z] Running ssh-add (command line suppressed) [2022-07-12T10:03:55.782Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_6272552916933123711.key (/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_6272552916933123711.key) [2022-07-12T10:03:55.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T10:03:56.117Z] + git semver init [2022-07-12T10:03:56.377Z] 2022-07-12 10:03:56,323 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T10:03:56.377Z] 2022-07-12 10:03:56,323 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver [2022-07-12T10:03:56.377Z] 2022-07-12 10:03:56,324 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver [2022-07-12T10:03:56.377Z] 2022-07-12 10:03:56,324 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425, universal_newlines=False, shell=None, istream=None) [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,045 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.git/info/exclude [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,046 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 with force:False [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,046 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,049 [execute] INFO git cat-file --batch-check [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,056 [execute] INFO git cat-file --batch [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T10:03:57.322Z] 2022-07-12 10:03:57,062 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 [2022-07-12T10:03:57.322Z] 0.0.0 [Pipeline] } [2022-07-12T10:03:57.348Z] $ docker exec --env ******** --env ******** d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 ssh-agent -k [2022-07-12T10:03:57.446Z] unset SSH_AUTH_SOCK; [2022-07-12T10:03:57.446Z] unset SSH_AGENT_PID; [2022-07-12T10:03:57.447Z] echo Agent pid 76 killed; [2022-07-12T10:03:57.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T10:03:57.870Z] + git semver [Pipeline] } [2022-07-12T10:03:58.161Z] $ docker stop --time=1 d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 [2022-07-12T10:03:59.476Z] $ docker rm -f d8e16813384b3735cb212f0cb50db512e38f308de906cb4866711f5c5fa0a332 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T10:03:59.891Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T10:04:00.187Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T10:04:00.204Z] [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 [2022-07-12T10:04:00.694Z] provisioning config files... [2022-07-12T10:04:00.707Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config8680688089702570729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:04:01.053Z] ---> docker-login.sh [2022-07-12T10:04:01.054Z] nexus3.edgexfoundry.org:10001 [2022-07-12T10:04:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:04:01.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:04:01.054Z] Configure a credential helper to remove this warning. See [2022-07-12T10:04:01.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:04:01.054Z] [2022-07-12T10:04:01.054Z] Login Succeeded [2022-07-12T10:04:01.054Z] nexus3.edgexfoundry.org:10002 [2022-07-12T10:04:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:04:01.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:04:01.316Z] Configure a credential helper to remove this warning. See [2022-07-12T10:04:01.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:04:01.316Z] [2022-07-12T10:04:01.316Z] Login Succeeded [2022-07-12T10:04:01.316Z] nexus3.edgexfoundry.org:10003 [2022-07-12T10:04:01.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:04:01.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:04:01.316Z] Configure a credential helper to remove this warning. See [2022-07-12T10:04:01.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:04:01.316Z] [2022-07-12T10:04:01.316Z] Login Succeeded [2022-07-12T10:04:01.316Z] nexus3.edgexfoundry.org:10004 [2022-07-12T10:04:01.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:04:01.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:04:01.578Z] Configure a credential helper to remove this warning. See [2022-07-12T10:04:01.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:04:01.578Z] [2022-07-12T10:04:01.578Z] Login Succeeded [2022-07-12T10:04:01.578Z] docker.io [2022-07-12T10:04:01.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:04:01.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:04:01.839Z] Configure a credential helper to remove this warning. See [2022-07-12T10:04:01.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:04:01.839Z] [2022-07-12T10:04:01.839Z] Login Succeeded [2022-07-12T10:04:01.839Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T10:04:01.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T10:04:02.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T10:04:02.093Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-12T10:04:02.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T10:04:02.154Z] ========================================================= [2022-07-12T10:04:02.154Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-12T10:04:02.154Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:04:02.567Z] + 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 . [2022-07-12T10:04:02.567Z] Sending build context to Docker daemon 4.601MB [2022-07-12T10:04:02.567Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T10:04:02.567Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T10:04:02.567Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-12T10:04:02.567Z] df9b9388f04a: Pulling fs layer [2022-07-12T10:04:02.567Z] 37ea90d01205: Pulling fs layer [2022-07-12T10:04:02.567Z] c88372d24652: Pulling fs layer [2022-07-12T10:04:02.828Z] 37ea90d01205: Download complete [2022-07-12T10:04:02.828Z] df9b9388f04a: Download complete [2022-07-12T10:04:02.828Z] df9b9388f04a: Pull complete [2022-07-12T10:04:03.089Z] 37ea90d01205: Pull complete [2022-07-12T10:04:03.348Z] c88372d24652: Verifying Checksum [2022-07-12T10:04:03.348Z] c88372d24652: Download complete [2022-07-12T10:04:05.887Z] c88372d24652: Pull complete [2022-07-12T10:04:05.887Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-07-12T10:04:05.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-12T10:04:05.887Z] ---> 95f6e8fcc511 [2022-07-12T10:04:05.887Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T10:04:06.457Z] ---> Running in 777e87016dbe [2022-07-12T10:04:07.032Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-07-12T10:04:07.292Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T10:04:07.292Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T10:04:07.292Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T10:04:07.553Z] Removing intermediate container 777e87016dbe [2022-07-12T10:04:07.553Z] ---> 3283b8f46897 [2022-07-12T10:04:07.553Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T10:04:07.553Z] ---> Running in 97d1952bc50b [2022-07-12T10:04:08.125Z] Removing intermediate container 97d1952bc50b [2022-07-12T10:04:08.125Z] ---> ec45e50a67fe [2022-07-12T10:04:08.125Z] Step 5/22 : 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 [2022-07-12T10:04:08.125Z] ---> Running in 2460aaf28208 [2022-07-12T10:04:08.695Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T10:04:13.978Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/main: temporary error (try again later) [2022-07-12T10:04:13.978Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T10:04:15.526Z] Still waiting to schedule task [2022-07-12T10:04:15.526Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-12T10:04:19.283Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T10:04:19.283Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/community: temporary error (try again later) [2022-07-12T10:04:19.283Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T10:04:19.283Z] ERROR: unable to select packages: [2022-07-12T10:04:19.283Z]  hiredis-dev (no such package): [2022-07-12T10:04:19.283Z] required by: world[hiredis-dev] [2022-07-12T10:04:19.283Z] libcbor-dev (no such package): [2022-07-12T10:04:19.283Z] required by: world[libcbor-dev] [2022-07-12T10:04:19.283Z] ncurses-dev (no such package): [2022-07-12T10:04:19.283Z] required by: world[ncurses-dev] [2022-07-12T10:04:19.283Z] util-linux-dev (no such package): [2022-07-12T10:04:19.283Z] required by: world[util-linux-dev] [2022-07-12T10:04:19.283Z] The command '/bin/sh -c 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' returned a non-zero code: 4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:04:20.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T10:04:20.470Z] [2022-07-12T10:04:20.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:04:20.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T10:04:20.856Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T10:04:20.856Z] 5eb5b503b376: Pulling fs layer [2022-07-12T10:04:20.856Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T10:04:20.856Z] ec43610c2a17: Pulling fs layer [2022-07-12T10:04:20.856Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T10:04:20.856Z] 33b1e0a273af: Pulling fs layer [2022-07-12T10:04:20.856Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T10:04:20.856Z] 3a2ae6a8a46f: Waiting [2022-07-12T10:04:20.856Z] 33b1e0a273af: Waiting [2022-07-12T10:04:20.856Z] 5d3b04190fa2: Waiting [2022-07-12T10:04:20.856Z] 2f39f015ded8: Pulling fs layer [2022-07-12T10:04:20.856Z] 2f39f015ded8: Waiting [2022-07-12T10:04:20.856Z] 5c69ac0246d0: Download complete [2022-07-12T10:04:20.856Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T10:04:20.856Z] 3a2ae6a8a46f: Download complete [2022-07-12T10:04:20.856Z] 33b1e0a273af: Verifying Checksum [2022-07-12T10:04:20.856Z] 33b1e0a273af: Download complete [2022-07-12T10:04:20.856Z] ec43610c2a17: Verifying Checksum [2022-07-12T10:04:20.856Z] ec43610c2a17: Download complete [2022-07-12T10:04:21.116Z] 5d3b04190fa2: Download complete [2022-07-12T10:04:21.116Z] 5eb5b503b376: Verifying Checksum [2022-07-12T10:04:21.116Z] 5eb5b503b376: Download complete [2022-07-12T10:04:21.684Z] 2f39f015ded8: Download complete [2022-07-12T10:04:22.253Z] 5eb5b503b376: Pull complete [2022-07-12T10:04:22.512Z] 5c69ac0246d0: Pull complete [2022-07-12T10:04:23.083Z] ec43610c2a17: Pull complete [2022-07-12T10:04:23.083Z] 3a2ae6a8a46f: Pull complete [2022-07-12T10:04:23.341Z] 33b1e0a273af: Pull complete [2022-07-12T10:04:23.342Z] 5d3b04190fa2: Pull complete [2022-07-12T10:04:27.539Z] 2f39f015ded8: Pull complete [2022-07-12T10:04:27.539Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T10:04:27.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T10:04:27.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T10:04:27.760Z] prd-ubuntu20.04-docker-8c-8g-19530 does not seem to be running inside a container [2022-07-12T10:04:27.830Z] $ 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-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T10:04:29.669Z] $ docker top 672e70363e2ddf8f2f970736fb3becec9980eb567ea4c70569dee0a4fabf27dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:04:30.194Z] ---> job-cost.sh [2022-07-12T10:04:30.194Z] lf-activate-venv: SKIPPING [2022-07-12T10:04:30.194Z] INFO: No Stack... [2022-07-12T10:04:30.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T10:04:31.029Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T10:04:31.345Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/cost.csv [2022-07-12T10:04:31.345Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T10:04:31.385Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [2022-07-12T10:04:31.390Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] did not exist. Created. [2022-07-12T10:04:31.391Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T10:04:31.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T10:04:31.839Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T10:04:31.853Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T10:04:31.932Z] $ docker stop --time=1 672e70363e2ddf8f2f970736fb3becec9980eb567ea4c70569dee0a4fabf27dc [2022-07-12T10:04:33.095Z] $ docker rm -f 672e70363e2ddf8f2f970736fb3becec9980eb567ea4c70569dee0a4fabf27dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T10:04:33.424Z] Failed in branch amd64 [2022-07-12T10:05:51.944Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19532 in /w/workspace/edgexfoundry_device-sdk-c_PR-425 [Pipeline] { [Pipeline] ws [2022-07-12T10:05:51.985Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-07-12T10:05:52.067Z] Selected Git installation does not exist. Using Default [2022-07-12T10:05:52.068Z] The recommended git tool is: NONE [2022-07-12T10:05:56.960Z] using credential edgex-jenkins-ssh [2022-07-12T10:05:56.977Z] Cloning the remote Git repository [2022-07-12T10:05:57.036Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T10:05:57.191Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-07-12T10:05:57.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T10:05:57.270Z] > git --version # timeout=10 [2022-07-12T10:05:57.290Z] > git --version # 'git version 2.25.1' [2022-07-12T10:05:57.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T10:05:57.340Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T10:05:58.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-12T10:05:58.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T10:05:58.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-12T10:05:58.352Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T10:05:58.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T10:05:58.366Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T10:05:58.890Z] Merging remotes/origin/main commit 1086c909c01125341e32c6ebb8870b6cabe987d5 into PR head commit fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [2022-07-12T10:05:59.135Z] Merge succeeded, producing fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e [2022-07-12T10:05:59.136Z] Checking out Revision fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e (PR-425) [2022-07-12T10:05:58.912Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T10:05:58.937Z] > git checkout -f fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e # timeout=10 [2022-07-12T10:05:59.054Z] > git remote # timeout=10 [2022-07-12T10:05:59.075Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T10:05:59.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T10:05:59.100Z] > git merge 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 [2022-07-12T10:05:59.124Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T10:05:59.147Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T10:05:59.164Z] > git checkout -f fb20eecceb2b540568cd2c0c3eda3a5cbc79c34e # timeout=10 [2022-07-12T10:06:03.344Z] Commit message: "fix: profile information was being purged on certain device updates (#424)" [2022-07-12T10:06:03.402Z] > git --version # timeout=10 [2022-07-12T10:06:03.414Z] > git --version # 'git version 2.25.1' [2022-07-12T10:06:03.427Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T10:06:04.491Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T10:06:04.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T10:06:04.491Z] Dload Upload Total Spent Left Speed [2022-07-12T10:06:04.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 87063 0 --:--:-- --:--:-- --:--:-- 87063 [Pipeline] sh [2022-07-12T10:06:05.292Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T10:06:05.647Z] + + sudo tee /etc/docker/daemon.new [2022-07-12T10:06:05.647Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T10:06:05.647Z] { [2022-07-12T10:06:05.647Z] "registry-mirrors": [ [2022-07-12T10:06:05.647Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T10:06:05.647Z] ], [2022-07-12T10:06:05.647Z] "bip": "10.250.0.254/24", [2022-07-12T10:06:05.647Z] "hosts": [ [2022-07-12T10:06:05.647Z] "tcp://0.0.0.0:5555", [2022-07-12T10:06:05.647Z] "unix:///var/run/docker.sock" [2022-07-12T10:06:05.647Z] ], [2022-07-12T10:06:05.647Z] "mtu": 1458, [2022-07-12T10:06:05.647Z] "selinux-enabled": true, [2022-07-12T10:06:05.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T10:06:05.647Z] } [Pipeline] sh [2022-07-12T10:06:06.010Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T10:06:06.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T10:06:24.918Z] provisioning config files... [2022-07-12T10:06:24.943Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2870116151740022261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:06:25.342Z] ---> docker-login.sh [2022-07-12T10:06:25.342Z] nexus3.edgexfoundry.org:10001 [2022-07-12T10:06:25.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:06:26.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:06:26.219Z] Configure a credential helper to remove this warning. See [2022-07-12T10:06:26.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:06:26.219Z] [2022-07-12T10:06:26.219Z] Login Succeeded [2022-07-12T10:06:26.219Z] nexus3.edgexfoundry.org:10002 [2022-07-12T10:06:26.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:06:26.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:06:26.504Z] Configure a credential helper to remove this warning. See [2022-07-12T10:06:26.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:06:26.504Z] [2022-07-12T10:06:26.504Z] Login Succeeded [2022-07-12T10:06:26.504Z] nexus3.edgexfoundry.org:10003 [2022-07-12T10:06:26.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:06:27.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:06:27.058Z] Configure a credential helper to remove this warning. See [2022-07-12T10:06:27.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:06:27.058Z] [2022-07-12T10:06:27.058Z] Login Succeeded [2022-07-12T10:06:27.058Z] nexus3.edgexfoundry.org:10004 [2022-07-12T10:06:27.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:06:27.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:06:27.622Z] Configure a credential helper to remove this warning. See [2022-07-12T10:06:27.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:06:27.622Z] [2022-07-12T10:06:27.622Z] Login Succeeded [2022-07-12T10:06:27.622Z] docker.io [2022-07-12T10:06:27.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T10:06:28.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T10:06:28.166Z] Configure a credential helper to remove this warning. See [2022-07-12T10:06:28.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T10:06:28.167Z] [2022-07-12T10:06:28.167Z] Login Succeeded [2022-07-12T10:06:28.167Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T10:06:28.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T10:06:28.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T10:06:28.616Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-12T10:06:28.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T10:06:28.687Z] ========================================================= [2022-07-12T10:06:28.687Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-12T10:06:28.687Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:06:29.152Z] + 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 . [2022-07-12T10:06:29.427Z] Sending build context to Docker daemon 2.791MB [2022-07-12T10:06:29.719Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T10:06:29.719Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T10:06:29.719Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-12T10:06:29.719Z] 9981e73032c8: Pulling fs layer [2022-07-12T10:06:29.719Z] 2a34a092ebf8: Pulling fs layer [2022-07-12T10:06:29.719Z] 1928f2f5eed1: Pulling fs layer [2022-07-12T10:06:29.719Z] 2a34a092ebf8: Download complete [2022-07-12T10:06:29.719Z] 9981e73032c8: Verifying Checksum [2022-07-12T10:06:29.719Z] 9981e73032c8: Download complete [2022-07-12T10:06:30.323Z] 9981e73032c8: Pull complete [2022-07-12T10:06:30.598Z] 2a34a092ebf8: Pull complete [2022-07-12T10:06:32.043Z] 1928f2f5eed1: Verifying Checksum [2022-07-12T10:06:32.043Z] 1928f2f5eed1: Download complete [2022-07-12T10:06:40.333Z] 1928f2f5eed1: Pull complete [2022-07-12T10:06:40.333Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-07-12T10:06:40.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-12T10:06:40.333Z] ---> cad489bbaf40 [2022-07-12T10:06:40.333Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T10:06:41.325Z] ---> Running in 734cef1013b9 [2022-07-12T10:06:42.313Z] Connecting to iotech.jfrog.io (52.209.16.248:443) [2022-07-12T10:06:42.586Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T10:06:42.586Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T10:06:42.586Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T10:06:43.193Z] Removing intermediate container 734cef1013b9 [2022-07-12T10:06:43.193Z] ---> 7629059ca599 [2022-07-12T10:06:43.193Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T10:06:43.193Z] ---> Running in ed9b26aa1523 [2022-07-12T10:06:45.176Z] Removing intermediate container ed9b26aa1523 [2022-07-12T10:06:45.176Z] ---> 87def4c6fbf4 [2022-07-12T10:06:45.176Z] Step 5/22 : 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 [2022-07-12T10:06:45.176Z] ---> Running in 8d0329d77678 [2022-07-12T10:06:45.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T10:06:46.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T10:06:47.347Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T10:06:47.944Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T10:06:47.944Z] (1/31) Installing hiredis (1.0.2-r0) [2022-07-12T10:06:48.217Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-07-12T10:06:48.217Z] (3/31) Installing libcbor (0.8.0-r0) [2022-07-12T10:06:48.217Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-07-12T10:06:48.493Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T10:06:48.493Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T10:06:49.473Z] (7/31) Installing util-linux (2.37.4-r0) [2022-07-12T10:06:49.473Z] (8/31) Installing libblkid (2.37.4-r0) [2022-07-12T10:06:49.745Z] (9/31) Installing libeconf (0.4.2-r0) [2022-07-12T10:06:49.745Z] (10/31) Installing libuuid (2.37.4-r0) [2022-07-12T10:06:49.745Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-07-12T10:06:50.017Z] (12/31) Installing libmount (2.37.4-r0) [2022-07-12T10:06:50.017Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-07-12T10:06:50.017Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-07-12T10:06:50.612Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-07-12T10:06:50.612Z] (16/31) Installing runuser (2.37.4-r0) [2022-07-12T10:06:50.612Z] (17/31) Installing hexdump (2.37.4-r0) [2022-07-12T10:06:50.884Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-07-12T10:06:50.884Z] (19/31) Installing blkid (2.37.4-r0) [2022-07-12T10:06:50.884Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-07-12T10:06:51.156Z] (21/31) Installing mcookie (2.37.4-r0) [2022-07-12T10:06:51.156Z] (22/31) Installing wipefs (2.37.4-r0) [2022-07-12T10:06:51.156Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-07-12T10:06:51.429Z] (24/31) Installing flock (2.37.4-r0) [2022-07-12T10:06:51.429Z] (25/31) Installing lsblk (2.37.4-r0) [2022-07-12T10:06:51.429Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-07-12T10:06:51.702Z] (27/31) Installing setpriv (2.37.4-r0) [2022-07-12T10:06:51.702Z] (28/31) Installing logger (2.37.4-r0) [2022-07-12T10:06:51.702Z] (29/31) Installing partx (2.37.4-r0) [2022-07-12T10:06:51.977Z] (30/31) Installing findmnt (2.37.4-r0) [2022-07-12T10:06:51.977Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-07-12T10:06:51.977Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T10:06:52.259Z] OK: 289 MiB in 108 packages [2022-07-12T10:06:53.704Z] Removing intermediate container 8d0329d77678 [2022-07-12T10:06:53.704Z] ---> 89188f209eb5 [2022-07-12T10:06:53.704Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-12T10:06:53.704Z] ---> Running in 5b5dfaf73c58 [2022-07-12T10:06:55.149Z] Removing intermediate container 5b5dfaf73c58 [2022-07-12T10:06:55.149Z] ---> 5a850208a5c3 [2022-07-12T10:06:55.149Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-12T10:06:55.747Z] ---> 78678543be88 [2022-07-12T10:06:55.747Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-12T10:06:56.726Z] ---> ae740a47da27 [2022-07-12T10:06:56.726Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-12T10:06:56.997Z] ---> 2d7171ce79e4 [2022-07-12T10:06:56.997Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-12T10:06:57.597Z] ---> b1a4acf137e9 [2022-07-12T10:06:57.597Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-12T10:06:58.192Z] ---> d197c10d2c96 [2022-07-12T10:06:58.192Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-12T10:06:58.786Z] ---> e867716525a4 [2022-07-12T10:06:58.786Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-12T10:06:58.786Z] ---> Running in c1ce2b0e8f2b [2022-07-12T10:06:59.765Z] + CPPCHECK=false [2022-07-12T10:06:59.765Z] + DOCGEN=false [2022-07-12T10:06:59.765Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-12T10:06:59.765Z] + TOMLVER=SDK-0.2 [2022-07-12T10:06:59.765Z] + CUTILVER=1.2.2 [2022-07-12T10:06:59.765Z] + '[' 0 -gt 0 ] [2022-07-12T10:06:59.765Z] + readlink -f ./scripts/build.sh [2022-07-12T10:06:59.765Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-12T10:06:59.765Z] + dirname /tmp/sdk/scripts [2022-07-12T10:06:59.765Z] + ROOT=/tmp/sdk [2022-07-12T10:06:59.765Z] + cd /tmp/sdk [2022-07-12T10:06:59.765Z] + '[' '!' -d deps ] [2022-07-12T10:06:59.765Z] + mkdir deps [2022-07-12T10:06:59.765Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-12T10:06:59.765Z] + tar -C deps -z -x -f - [2022-07-12T10:06:59.765Z] Connecting to github.com (140.82.113.4:443) [2022-07-12T10:07:00.038Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-12T10:07:00.311Z] writing to stdout [2022-07-12T10:07:00.311Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-12T10:07:00.311Z] written to stdout [2022-07-12T10:07:00.311Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-12T10:07:00.311Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-12T10:07:00.311Z] + tar -C deps -z -x -f - [2022-07-12T10:07:00.311Z] Connecting to github.com (140.82.113.4:443) [2022-07-12T10:07:00.585Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-12T10:07:00.858Z] writing to stdout [2022-07-12T10:07:00.858Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-12T10:07:00.858Z] written to stdout [2022-07-12T10:07:00.858Z] + mkdir -p src/c/iot [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-12T10:07:00.858Z] + mkdir -p include/iot [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-07-12T10:07:00.858Z] + mkdir -p include/iot/os [2022-07-12T10:07:00.858Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-07-12T10:07:00.858Z] + mkdir -p /tmp/sdk/build/release [2022-07-12T10:07:00.858Z] + cd /tmp/sdk/build/release [2022-07-12T10:07:00.858Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-12T10:07:01.130Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T10:07:01.130Z] -- Detecting C compiler ABI info [2022-07-12T10:07:01.403Z] -- Detecting C compiler ABI info - done [2022-07-12T10:07:01.679Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T10:07:01.679Z] -- Detecting C compile features [2022-07-12T10:07:01.679Z] -- Detecting C compile features - done [2022-07-12T10:07:01.679Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T10:07:01.679Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T10:07:01.954Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T10:07:01.954Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T10:07:01.954Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T10:07:01.954Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T10:07:01.954Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T10:07:01.954Z] -- C SDK 0.0.0 for Linux [2022-07-12T10:07:01.954Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T10:07:02.227Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T10:07:02.227Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T10:07:02.503Z] -- Configuring done [2022-07-12T10:07:02.777Z] -- Generating done [2022-07-12T10:07:02.777Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-12T10:07:02.777Z] + make all package [2022-07-12T10:07:02.777Z] + tee release.log [2022-07-12T10:07:02.777Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T10:07:03.758Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T10:07:04.355Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T10:07:06.993Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T10:07:07.588Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T10:07:07.863Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T10:07:08.843Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T10:07:09.438Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T10:07:09.711Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T10:07:11.147Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T10:07:13.127Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T10:07:13.722Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T10:07:14.709Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T10:07:15.688Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T10:07:15.965Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T10:07:16.241Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T10:07:16.515Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T10:07:19.915Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T10:07:19.915Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T10:07:20.188Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T10:07:20.788Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T10:07:21.384Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T10:07:21.657Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T10:07:21.658Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T10:07:21.658Z] 275 | const iot_component_factory_t * factory; [2022-07-12T10:07:21.658Z] | ^~~~~~~ [2022-07-12T10:07:22.256Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T10:07:27.646Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T10:07:27.646Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T10:07:27.646Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T10:07:28.241Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T10:07:29.215Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T10:07:29.215Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T10:07:30.654Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T10:07:30.928Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T10:07:31.906Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T10:07:32.185Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T10:07:32.461Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T10:07:35.080Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T10:07:35.351Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T10:07:36.782Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T10:07:36.782Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T10:07:42.183Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T10:07:42.184Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T10:07:42.461Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T10:07:43.055Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T10:07:44.489Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T10:07:47.111Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T10:07:47.111Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T10:07:47.707Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T10:07:48.305Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T10:07:50.921Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T10:07:55.221Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T10:07:55.818Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T10:07:56.416Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T10:07:56.689Z] [ 76%] Built target csdk [2022-07-12T10:07:56.689Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T10:07:57.284Z] [ 79%] Linking C executable template [2022-07-12T10:07:57.558Z] [ 79%] Built target template [2022-07-12T10:07:57.833Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T10:07:58.428Z] [ 82%] Linking C executable device-counter [2022-07-12T10:07:58.428Z] [ 82%] Built target device-counter [2022-07-12T10:07:58.700Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T10:07:58.975Z] [ 85%] Linking C executable device-random [2022-07-12T10:07:59.250Z] [ 85%] Built target device-random [2022-07-12T10:07:59.523Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T10:07:59.797Z] [ 88%] Linking C executable device-gyro [2022-07-12T10:08:00.069Z] [ 88%] Built target device-gyro [2022-07-12T10:08:00.069Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T10:08:00.665Z] [ 91%] Linking C executable device-bitfields [2022-07-12T10:08:00.938Z] [ 91%] Built target device-bitfields [2022-07-12T10:08:00.938Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T10:08:01.916Z] [ 94%] Linking C executable template-discovery [2022-07-12T10:08:02.191Z] [ 94%] Built target template-discovery [2022-07-12T10:08:02.191Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T10:08:02.788Z] [ 97%] Linking C executable device-file [2022-07-12T10:08:03.061Z] [ 97%] Built target device-file [2022-07-12T10:08:03.333Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T10:08:03.930Z] [100%] Linking C executable device-terminal [2022-07-12T10:08:04.206Z] [100%] Built target device-terminal [2022-07-12T10:08:04.206Z] Run CPack packaging tool... [2022-07-12T10:08:04.206Z] CPack: Create package using TGZ [2022-07-12T10:08:04.206Z] CPack: Install projects [2022-07-12T10:08:04.206Z] CPack: - Run preinstall target for: Csdk [2022-07-12T10:08:05.189Z] CPack: - Install project: Csdk [] [2022-07-12T10:08:05.189Z] CPack: Create package [2022-07-12T10:08:05.189Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-12T10:08:05.189Z] + '[' false '=' true ] [2022-07-12T10:08:05.189Z] + '[' false '=' true ] [2022-07-12T10:08:05.189Z] + mkdir -p /tmp/sdk/build/debug [2022-07-12T10:08:05.189Z] + cd /tmp/sdk/build/debug [2022-07-12T10:08:05.189Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-12T10:08:05.464Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T10:08:05.464Z] -- Detecting C compiler ABI info [2022-07-12T10:08:05.739Z] -- Detecting C compiler ABI info - done [2022-07-12T10:08:06.015Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T10:08:06.015Z] -- Detecting C compile features [2022-07-12T10:08:06.015Z] -- Detecting C compile features - done [2022-07-12T10:08:06.015Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T10:08:06.015Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T10:08:06.015Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T10:08:06.015Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T10:08:06.015Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T10:08:06.292Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T10:08:06.292Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T10:08:06.292Z] -- C SDK 0.0.0 for Linux [2022-07-12T10:08:06.292Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T10:08:06.566Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T10:08:06.566Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T10:08:06.840Z] -- Configuring done [2022-07-12T10:08:07.121Z] -- Generating done [2022-07-12T10:08:07.121Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-12T10:08:07.121Z] + make [2022-07-12T10:08:07.121Z] + tee debug.log [2022-07-12T10:08:07.121Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T10:08:07.396Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T10:08:07.994Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T10:08:08.588Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T10:08:08.863Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T10:08:09.135Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T10:08:09.731Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T10:08:10.003Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T10:08:10.278Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T10:08:10.555Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T10:08:11.544Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T10:08:11.544Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T10:08:12.139Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T10:08:12.412Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T10:08:12.686Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T10:08:12.958Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T10:08:13.230Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T10:08:14.206Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T10:08:14.206Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T10:08:14.480Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T10:08:14.751Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T10:08:15.024Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T10:08:15.299Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T10:08:15.299Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T10:08:15.299Z] 275 | const iot_component_factory_t * factory; [2022-07-12T10:08:15.299Z] | ^~~~~~~ [2022-07-12T10:08:15.299Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T10:08:16.733Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T10:08:16.733Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T10:08:17.007Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T10:08:17.278Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T10:08:17.550Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T10:08:17.825Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T10:08:18.101Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T10:08:18.374Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T10:08:18.647Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T10:08:18.924Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T10:08:19.198Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T10:08:19.795Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T10:08:19.795Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T10:08:20.392Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T10:08:20.665Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T10:08:22.107Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T10:08:22.107Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T10:08:22.380Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T10:08:22.654Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T10:08:23.250Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T10:08:24.688Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T10:08:24.962Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T10:08:25.234Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T10:08:25.510Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T10:08:26.489Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T10:08:27.087Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T10:08:27.361Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T10:08:27.959Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T10:08:27.959Z] [ 76%] Built target csdk [2022-07-12T10:08:28.235Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T10:08:28.509Z] [ 79%] Linking C executable template [2022-07-12T10:08:28.782Z] [ 79%] Built target template [2022-07-12T10:08:28.782Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T10:08:29.058Z] [ 82%] Linking C executable device-counter [2022-07-12T10:08:29.330Z] [ 82%] Built target device-counter [2022-07-12T10:08:29.330Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T10:08:29.606Z] [ 85%] Linking C executable device-random [2022-07-12T10:08:29.881Z] [ 85%] Built target device-random [2022-07-12T10:08:29.881Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T10:08:30.156Z] [ 88%] Linking C executable device-gyro [2022-07-12T10:08:30.430Z] [ 88%] Built target device-gyro [2022-07-12T10:08:30.430Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T10:08:30.703Z] [ 91%] Linking C executable device-bitfields [2022-07-12T10:08:30.976Z] [ 91%] Built target device-bitfields [2022-07-12T10:08:30.976Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T10:08:31.577Z] [ 94%] Linking C executable template-discovery [2022-07-12T10:08:31.853Z] [ 94%] Built target template-discovery [2022-07-12T10:08:31.853Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T10:08:32.128Z] [ 97%] Linking C executable device-file [2022-07-12T10:08:32.402Z] [ 97%] Built target device-file [2022-07-12T10:08:32.402Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T10:08:32.678Z] [100%] Linking C executable device-terminal [2022-07-12T10:08:32.957Z] [100%] Built target device-terminal [2022-07-12T10:08:33.237Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] [ 76%] Built target csdk [2022-07-12T10:08:33.237Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] [ 79%] Built target template [2022-07-12T10:08:33.237Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.237Z] [ 82%] Built target device-counter [2022-07-12T10:08:33.237Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] [ 85%] Built target device-random [2022-07-12T10:08:33.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] [ 88%] Built target device-gyro [2022-07-12T10:08:33.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] [ 91%] Built target device-bitfields [2022-07-12T10:08:33.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] [ 94%] Built target template-discovery [2022-07-12T10:08:33.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] [ 97%] Built target device-file [2022-07-12T10:08:33.511Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.511Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.794Z] [100%] Built target device-terminal [2022-07-12T10:08:33.794Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:33.794Z] Install the project... [2022-07-12T10:08:33.794Z] -- Install configuration: "Release" [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/devsdk [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/time.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/component.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/config.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/container.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/os.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/data.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/os [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/json.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-12T10:08:33.794Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-12T10:08:33.794Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-12T10:08:35.776Z] Removing intermediate container c1ce2b0e8f2b [2022-07-12T10:08:35.776Z] ---> c77b69b98036 [2022-07-12T10:08:35.776Z] Step 14/22 : FROM ${BASE} [2022-07-12T10:08:35.776Z] ---> cad489bbaf40 [2022-07-12T10:08:35.776Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-12T10:08:35.776Z] ---> Running in 49cdc23bc023 [2022-07-12T10:08:35.776Z] Removing intermediate container 49cdc23bc023 [2022-07-12T10:08:35.776Z] ---> 045b9da7b0c0 [2022-07-12T10:08:35.776Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T10:08:35.776Z] ---> Running in aaa86aec170b [2022-07-12T10:08:36.752Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-07-12T10:08:37.023Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T10:08:37.023Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T10:08:37.023Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T10:08:37.621Z] Removing intermediate container aaa86aec170b [2022-07-12T10:08:37.621Z] ---> 3015832ca8c0 [2022-07-12T10:08:37.621Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T10:08:37.906Z] ---> Running in 12b364698d58 [2022-07-12T10:08:39.364Z] Removing intermediate container 12b364698d58 [2022-07-12T10:08:39.364Z] ---> 47af7bc07963 [2022-07-12T10:08:39.364Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-07-12T10:08:39.364Z] ---> Running in 6a919022aa6b [2022-07-12T10:08:40.356Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T10:08:41.336Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T10:08:41.612Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T10:08:42.589Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T10:08:42.589Z] (1/6) Installing curl (7.80.0-r1) [2022-07-12T10:08:42.589Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-12T10:08:42.589Z] ERROR: curl-7.80.0-r1: package mentioned in index not found (try 'apk update') [2022-07-12T10:08:42.860Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-12T10:08:43.133Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-12T10:08:43.406Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-12T10:08:43.406Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T10:08:44.386Z] 1 error; 278 MiB in 82 packages [2022-07-12T10:08:44.660Z] The command '/bin/sh -c apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:08:45.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T10:08:45.756Z] [2022-07-12T10:08:45.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:08:46.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T10:08:46.448Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T10:08:46.448Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T10:08:46.448Z] 04944245beec: Pulling fs layer [2022-07-12T10:08:46.448Z] 699f458cf7ca: Pulling fs layer [2022-07-12T10:08:46.448Z] 765212b225bb: Pulling fs layer [2022-07-12T10:08:46.448Z] f23df028b6ca: Pulling fs layer [2022-07-12T10:08:46.448Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T10:08:46.448Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T10:08:46.448Z] f23df028b6ca: Waiting [2022-07-12T10:08:46.448Z] d65c8cfc05b1: Waiting [2022-07-12T10:08:46.448Z] 2437ff75d9bd: Waiting [2022-07-12T10:08:46.448Z] 765212b225bb: Waiting [2022-07-12T10:08:46.448Z] 04944245beec: Verifying Checksum [2022-07-12T10:08:46.448Z] 04944245beec: Download complete [2022-07-12T10:08:46.724Z] 765212b225bb: Verifying Checksum [2022-07-12T10:08:46.724Z] 765212b225bb: Download complete [2022-07-12T10:08:46.724Z] f23df028b6ca: Verifying Checksum [2022-07-12T10:08:46.724Z] f23df028b6ca: Download complete [2022-07-12T10:08:46.724Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T10:08:46.724Z] d65c8cfc05b1: Download complete [2022-07-12T10:08:46.724Z] 699f458cf7ca: Verifying Checksum [2022-07-12T10:08:46.724Z] 699f458cf7ca: Download complete [2022-07-12T10:08:47.320Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T10:08:47.320Z] 8998bd30e6a1: Download complete [2022-07-12T10:08:49.301Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T10:08:49.301Z] 2437ff75d9bd: Download complete [2022-07-12T10:08:51.935Z] 8998bd30e6a1: Pull complete [2022-07-12T10:08:51.935Z] 04944245beec: Pull complete [2022-07-12T10:08:53.375Z] 699f458cf7ca: Pull complete [2022-07-12T10:08:53.648Z] 765212b225bb: Pull complete [2022-07-12T10:08:54.628Z] f23df028b6ca: Pull complete [2022-07-12T10:08:54.628Z] d65c8cfc05b1: Pull complete [2022-07-12T10:09:09.721Z] 2437ff75d9bd: Pull complete [2022-07-12T10:09:09.721Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T10:09:09.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T10:09:09.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T10:09:10.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-19532 does not seem to be running inside a container [2022-07-12T10:09:10.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T10:09:12.631Z] $ docker top 61964d21c946e638631da55b857008a03b74c57e7809a7e2dbf451d245bac10a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:13.621Z] ---> job-cost.sh [2022-07-12T10:09:13.621Z] lf-activate-venv: SKIPPING [2022-07-12T10:09:13.621Z] INFO: No Stack... [2022-07-12T10:09:13.895Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T10:09:14.868Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T10:09:15.548Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-07-12T10:09:15.548Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T10:09:15.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [2022-07-12T10:09:15.629Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] did not exist. Created. [2022-07-12T10:09:15.629Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T10:09:16.377Z] /w/workspace/device-sdk-c/1@tmp/durable-0cbed4c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T10:09:17.072Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T10:09:17.105Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T10:09:17.583Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T10:09:17.602Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T10:09:17.680Z] $ docker stop --time=1 61964d21c946e638631da55b857008a03b74c57e7809a7e2dbf451d245bac10a [2022-07-12T10:09:19.141Z] $ docker rm -f 61964d21c946e638631da55b857008a03b74c57e7809a7e2dbf451d245bac10a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T10:09:19.859Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T10:09:20.948Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives ] [2022-07-12T10:09:20.948Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T10:09:20.948Z] total 16 [2022-07-12T10:09:20.948Z] drwxr-xr-x 3 root root 4096 Jul 12 10:04 . [2022-07-12T10:09:20.948Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 10:04 .. [2022-07-12T10:09:20.948Z] drwxr-xr-x 2 root root 4096 Jul 12 10:04 cost [2022-07-12T10:09:20.948Z] -rw-r--r-- 1 root root 83 Jul 12 10:04 cost.csv [2022-07-12T10:09:20.948Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T10:09:20.948Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T10:09:20.948Z] total 16 [2022-07-12T10:09:20.948Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 10:04 . [2022-07-12T10:09:20.948Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 10:04 .. [2022-07-12T10:09:20.948Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 10:04 cost [2022-07-12T10:09:20.948Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 12 10:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:21.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:22.172Z] ---> package-listing.sh [2022-07-12T10:09:22.172Z] ++ facter osfamily [2022-07-12T10:09:22.172Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T10:09:22.435Z] + OS_FAMILY=debian [2022-07-12T10:09:22.435Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-425 [2022-07-12T10:09:22.435Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T10:09:22.435Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T10:09:22.435Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T10:09:22.435Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T10:09:22.435Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-425 ']' [2022-07-12T10:09:22.435Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T10:09:22.435Z] + case "${OS_FAMILY}" in [2022-07-12T10:09:22.435Z] + dpkg -l [2022-07-12T10:09:22.435Z] + grep '^ii' [2022-07-12T10:09:22.435Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T10:09:22.435Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T10:09:22.435Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T10:09:22.435Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-425 ']' [2022-07-12T10:09:22.435Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/ [2022-07-12T10:09:22.435Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/ [Pipeline] echo [2022-07-12T10:09:22.467Z] 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-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T10:09:22.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T10:09:23.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T10:09:23.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T10:09:23.534Z] prd-ubuntu20.04-docker-8c-8g-19530 does not seem to be running inside a container [2022-07-12T10:09:23.572Z] $ 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-425/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-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T10:09:23.852Z] $ docker top b94cab97a37ca51a688fbe94bc7086dd2fb4c918069d051942725d42b3ed340b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T10:09:24.263Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T10:09:24.572Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T10:09:24.884Z] + ls /var/log/sa-host [2022-07-12T10:09:24.884Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T10:09:25.080Z] provisioning config files... [2022-07-12T10:09:25.090Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config2914543165218465196tmp [Pipeline] { [Pipeline] echo [2022-07-12T10:09:25.139Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:25.453Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T10:09:25.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:25.883Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T10:09:25.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:26.230Z] ---> sudo-logs.sh [2022-07-12T10:09:26.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T10:09:26.312Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:26.625Z] ---> job-cost.sh [2022-07-12T10:09:26.626Z] lf-activate-venv: SKIPPING [2022-07-12T10:09:26.626Z] DEBUG: total: 0.2199999988079071 [2022-07-12T10:09:26.626Z] INFO: Retrieving Stack Cost... [2022-07-12T10:09:26.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T10:09:27.455Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T10:09:27.488Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T10:09:27.803Z] ---> logs-deploy.sh [2022-07-12T10:09:27.803Z] lf-activate-venv: SKIPPING [2022-07-12T10:09:27.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-425/1 [2022-07-12T10:09:27.803Z] INFO: archiving workspace using pattern(s): [2022-07-12T10:09:28.744Z] Archives upload complete. [2022-07-12T10:09:28.744Z] INFO: archiving logs to Nexus