Pull request #399 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 246f55d6fe08234d66b53513a81d98e74fb8f307+14d3a6bdd029748f665c10001c42d1af5d609c98 (a3cf96636d372c9ed69556f63ef943fb174adff1) 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-ssh1940026367612098726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh15785670549731323563.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-399/workspace@libs/edgex-global-pipelines # 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-399/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13542316920312790024.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-399/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6301601984579502162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh15575013028804856357.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-399/workspace@libs/lf-pipelines # 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-399/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7968734635652979911.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4995 in /w/workspace/edgexfoundry_device-sdk-c_PR-399 [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-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh5334703468018187715.key > 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 14d3a6bdd029748f665c10001c42d1af5d609c98 into PR head commit 246f55d6fe08234d66b53513a81d98e74fb8f307 Merge succeeded, producing 246f55d6fe08234d66b53513a81d98e74fb8f307 Checking out Revision 246f55d6fe08234d66b53513a81d98e74fb8f307 (PR-399) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh5874907081159820656.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 246f55d6fe08234d66b53513a81d98e74fb8f307 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/jenkins-gitclient-ssh2152419074588409195.key > git merge 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 246f55d6fe08234d66b53513a81d98e74fb8f307 # timeout=10 Commit message: "fix: Dont stringify array elements in readings Closes: #397 BREAKING CHANGE: Format of array readings is changed to match device-sdk-go. The SDK may be built to stringify array elements as was previously specified, by using the -legacyv2 flag when running scripts/build.sh" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-10T16:25:31.380Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T16:25:31.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T16:25:31.647Z] ========================================================= [2022-02-10T16:25:31.647Z] EdgeX Global Pipelines Version Info [2022-02-10T16:25:31.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:25:32.808Z] ------------------- [2022-02-10T16:25:32.808Z] stable info: [2022-02-10T16:25:32.808Z] ------------------- [2022-02-10T16:25:32.808Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T16:25:32.808Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T16:25:32.808Z] Message: update stable to v1.0.220 [2022-02-10T16:25:33.382Z] ------------------- [2022-02-10T16:25:33.382Z] experimental info: [2022-02-10T16:25:33.382Z] ------------------- [2022-02-10T16:25:33.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T16:25:33.382Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T16:25:33.382Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T16:25:33.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-10T16:25:33.668Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-10T16:25:33.708Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T16:25:33.746Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T16:25:33.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T16:25:33.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-10T16:25:33.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-10T16:25:33.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T16:25:33.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T16:25:33.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-10T16:25:34.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T16:25:34.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T16:25:34.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T16:25:34.149Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T16:25:34.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T16:25:34.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-10T16:25:34.263Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T16:25:34.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2022-02-10T16:25:34.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2022-02-10T16:25:34.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2022-02-10T16:25:34.425Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 246f55d6fe08234d66b53513a81d98e74fb8f307 [Pipeline] echo [2022-02-10T16:25:34.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 246f55d [Pipeline] echo [2022-02-10T16:25:34.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T16:25:34.616Z] provisioning config files... [2022-02-10T16:25:34.629Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config8236311665121419809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:25:34.975Z] ---> docker-login.sh [2022-02-10T16:25:34.976Z] nexus3.edgexfoundry.org:10001 [2022-02-10T16:25:34.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:35.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:35.241Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:35.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:35.241Z] [2022-02-10T16:25:35.241Z] Login Succeeded [2022-02-10T16:25:35.241Z] nexus3.edgexfoundry.org:10002 [2022-02-10T16:25:35.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:35.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:35.241Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:35.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:35.241Z] [2022-02-10T16:25:35.241Z] Login Succeeded [2022-02-10T16:25:35.242Z] nexus3.edgexfoundry.org:10003 [2022-02-10T16:25:35.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:35.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:35.509Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:35.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:35.509Z] [2022-02-10T16:25:35.509Z] Login Succeeded [2022-02-10T16:25:35.509Z] nexus3.edgexfoundry.org:10004 [2022-02-10T16:25:35.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:35.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:35.509Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:35.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:35.509Z] [2022-02-10T16:25:35.509Z] Login Succeeded [2022-02-10T16:25:35.509Z] docker.io [2022-02-10T16:25:35.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:35.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:35.769Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:35.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:35.769Z] [2022-02-10T16:25:35.769Z] Login Succeeded [2022-02-10T16:25:35.769Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T16:25:35.793Z] 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-02-10T16:25:36.388Z] + git rev-list -1 --merges 246f55d6fe08234d66b53513a81d98e74fb8f307~1..246f55d6fe08234d66b53513a81d98e74fb8f307 [Pipeline] echo [2022-02-10T16:25:36.438Z] -----------> git rev-list -1 --merges 246f55d6fe08234d66b53513a81d98e74fb8f307~1..246f55d6fe08234d66b53513a81d98e74fb8f307 246f55d6fe08234d66b53513a81d98e74fb8f307 [false] [Pipeline] sh [2022-02-10T16:25:36.754Z] + git log --format=format:%s -1 246f55d6fe08234d66b53513a81d98e74fb8f307 [Pipeline] echo [2022-02-10T16:25:36.792Z] ========================================================= [2022-02-10T16:25:36.792Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T16:25:36.792Z] ========================================================= 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-02-10T16:25:37.597Z] + git rev-list -1 --merges 246f55d6fe08234d66b53513a81d98e74fb8f307~1..246f55d6fe08234d66b53513a81d98e74fb8f307 [Pipeline] echo [2022-02-10T16:25:37.630Z] -----------> git rev-list -1 --merges 246f55d6fe08234d66b53513a81d98e74fb8f307~1..246f55d6fe08234d66b53513a81d98e74fb8f307 246f55d6fe08234d66b53513a81d98e74fb8f307 [false] [Pipeline] sh [2022-02-10T16:25:37.952Z] + git log --format=format:%s -1 246f55d6fe08234d66b53513a81d98e74fb8f307 [Pipeline] echo [2022-02-10T16:25:37.991Z] ========================================================= [2022-02-10T16:25:37.991Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T16:25:37.991Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-10T16:25:38.615Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T16:25:38.615Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T16:25:38.615Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T16:25:38.615Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T16:25:38.615Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T16:25:38.615Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T16:25:38.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:25:39.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T16:25:39.069Z] [2022-02-10T16:25:39.069Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:25:39.420Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T16:25:39.420Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T16:25:39.420Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T16:25:39.420Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T16:25:39.420Z] 4c7163046ea9: Pulling fs layer [2022-02-10T16:25:39.420Z] 0c2d73faf560: Pulling fs layer [2022-02-10T16:25:39.420Z] 0c2d73faf560: Waiting [2022-02-10T16:25:39.420Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T16:25:39.420Z] 3e5f54012d9b: Download complete [2022-02-10T16:25:39.420Z] a0d0a0d46f8b: Verifying Checksum [2022-02-10T16:25:39.420Z] a0d0a0d46f8b: Download complete [2022-02-10T16:25:39.420Z] 0c2d73faf560: Verifying Checksum [2022-02-10T16:25:39.420Z] 0c2d73faf560: Download complete [2022-02-10T16:25:39.420Z] 4c7163046ea9: Verifying Checksum [2022-02-10T16:25:39.420Z] 4c7163046ea9: Download complete [2022-02-10T16:25:39.681Z] a0d0a0d46f8b: Pull complete [2022-02-10T16:25:39.681Z] 3e5f54012d9b: Pull complete [2022-02-10T16:25:39.943Z] 4c7163046ea9: Pull complete [2022-02-10T16:25:40.204Z] 0c2d73faf560: Pull complete [2022-02-10T16:25:40.204Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T16:25:40.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T16:25:40.204Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T16:25:40.301Z] prd-centos7-docker-4c-2g-4995 does not seem to be running inside a container [2022-02-10T16:25:40.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@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:10004/edgex-devops/git-semver:latest cat [2022-02-10T16:25:40.931Z] $ docker top 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T16:25:41.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T16:25:41.125Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T16:25:41.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T16:25:41.227Z] $ docker exec 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e ssh-agent [2022-02-10T16:25:41.319Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXahPaPl/agent.14 [2022-02-10T16:25:41.319Z] SSH_AGENT_PID=20 [2022-02-10T16:25:41.330Z] Running ssh-add (command line suppressed) [2022-02-10T16:25:41.438Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_3085663866942560415.key (/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_3085663866942560415.key) [2022-02-10T16:25:41.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T16:25:41.789Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T16:25:41.822Z] $ docker exec --env ******** --env ******** 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e ssh-agent -k [2022-02-10T16:25:41.901Z] unset SSH_AUTH_SOCK; [2022-02-10T16:25:41.902Z] unset SSH_AGENT_PID; [2022-02-10T16:25:41.902Z] echo Agent pid 20 killed; [2022-02-10T16:25:41.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T16:25:41.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T16:25:41.990Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T16:25:42.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T16:25:42.085Z] $ docker exec 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e ssh-agent [2022-02-10T16:25:42.179Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkbibjF/agent.53 [2022-02-10T16:25:42.179Z] SSH_AGENT_PID=59 [2022-02-10T16:25:42.184Z] Running ssh-add (command line suppressed) [2022-02-10T16:25:42.282Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_5515851253363842951.key (/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/private_key_5515851253363842951.key) [2022-02-10T16:25:42.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T16:25:42.626Z] + git semver init [2022-02-10T16:25:42.627Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T16:25:42.627Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-399/.git [2022-02-10T16:25:42.627Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-399 [2022-02-10T16:25:42.627Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T16:25:42.627Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T16:25:42.627Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T16:25:42.627Z] # $SEMVER_BRANCH = PR-399 [2022-02-10T16:25:42.627Z] # $SEMVER_TEMP = /tmp/semver-187288513 [2022-02-10T16:25:42.627Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-10T16:25:43.573Z] # '/tmp/semver-187288513' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-399/.semver' [2022-02-10T16:25:43.573Z] # -> Force: false [2022-02-10T16:25:43.573Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-399/.semver [Pipeline] } [2022-02-10T16:25:43.594Z] $ docker exec --env ******** --env ******** 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e ssh-agent -k [2022-02-10T16:25:43.679Z] unset SSH_AUTH_SOCK; [2022-02-10T16:25:43.680Z] unset SSH_AGENT_PID; [2022-02-10T16:25:43.680Z] echo Agent pid 59 killed; [2022-02-10T16:25:43.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T16:25:44.121Z] + git semver [Pipeline] } [2022-02-10T16:25:44.150Z] $ docker stop --time=1 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e [2022-02-10T16:25:45.379Z] $ docker rm -f 991efc161635bb1ae809ed72af3b8c85a8a020ae98d3ee5c204d2d833650cf6e [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T16:25:45.811Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T16:25:46.167Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T16:25:46.187Z] [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-02-10T16:25:46.677Z] provisioning config files... [2022-02-10T16:25:46.688Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config8375823999150637529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:25:47.042Z] ---> docker-login.sh [2022-02-10T16:25:47.042Z] nexus3.edgexfoundry.org:10001 [2022-02-10T16:25:47.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:47.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:47.042Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:47.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:47.042Z] [2022-02-10T16:25:47.042Z] Login Succeeded [2022-02-10T16:25:47.042Z] nexus3.edgexfoundry.org:10002 [2022-02-10T16:25:47.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:47.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:47.042Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:47.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:47.042Z] [2022-02-10T16:25:47.042Z] Login Succeeded [2022-02-10T16:25:47.042Z] nexus3.edgexfoundry.org:10003 [2022-02-10T16:25:47.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:47.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:47.304Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:47.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:47.304Z] [2022-02-10T16:25:47.304Z] Login Succeeded [2022-02-10T16:25:47.304Z] nexus3.edgexfoundry.org:10004 [2022-02-10T16:25:47.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:47.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:47.304Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:47.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:47.304Z] [2022-02-10T16:25:47.304Z] Login Succeeded [2022-02-10T16:25:47.304Z] docker.io [2022-02-10T16:25:47.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:25:47.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:25:47.830Z] Configure a credential helper to remove this warning. See [2022-02-10T16:25:47.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:25:47.830Z] [2022-02-10T16:25:47.830Z] Login Succeeded [2022-02-10T16:25:47.830Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T16:25:47.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T16:25:48.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T16:25:48.100Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-10T16:25:48.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T16:25:48.171Z] ========================================================= [2022-02-10T16:25:48.171Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-10T16:25:48.171Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:25:48.529Z] + 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-02-10T16:25:48.529Z] Sending build context to Docker daemon 4.53MB [2022-02-10T16:25:48.529Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-10T16:25:48.529Z] Step 2/22 : FROM ${BASE} as builder [2022-02-10T16:25:48.529Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-10T16:25:48.529Z] 97518928ae5f: Pulling fs layer [2022-02-10T16:25:48.529Z] 7363053e1ea0: Pulling fs layer [2022-02-10T16:25:48.529Z] 51a0b06becb3: Pulling fs layer [2022-02-10T16:25:48.529Z] 7363053e1ea0: Verifying Checksum [2022-02-10T16:25:48.529Z] 7363053e1ea0: Download complete [2022-02-10T16:25:48.791Z] 97518928ae5f: Verifying Checksum [2022-02-10T16:25:48.791Z] 97518928ae5f: Download complete [2022-02-10T16:25:48.791Z] 97518928ae5f: Pull complete [2022-02-10T16:25:49.052Z] 7363053e1ea0: Pull complete [2022-02-10T16:25:49.052Z] 51a0b06becb3: Verifying Checksum [2022-02-10T16:25:49.052Z] 51a0b06becb3: Download complete [2022-02-10T16:25:52.398Z] 51a0b06becb3: Pull complete [2022-02-10T16:25:52.398Z] Digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c [2022-02-10T16:25:52.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-10T16:25:52.398Z] ---> 621855499e4c [2022-02-10T16:25:52.398Z] 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-02-10T16:25:52.971Z] ---> Running in 59a14fd32720 [2022-02-10T16:25:53.234Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2022-02-10T16:25:53.808Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T16:25:53.808Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T16:25:53.808Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T16:25:53.808Z] Removing intermediate container 59a14fd32720 [2022-02-10T16:25:53.808Z] ---> 032dadc46918 [2022-02-10T16:25:53.808Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T16:25:53.808Z] ---> Running in 2da7db75dfd8 [2022-02-10T16:25:54.383Z] Removing intermediate container 2da7db75dfd8 [2022-02-10T16:25:54.383Z] ---> 9f2553df9e14 [2022-02-10T16:25:54.383Z] Step 5/22 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T16:25:54.383Z] ---> Running in e764dce09c85 [2022-02-10T16:25:54.646Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T16:25:55.590Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T16:25:55.855Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T16:25:56.426Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T16:25:56.426Z] ERROR: unable to select packages: [2022-02-10T16:25:56.426Z]  libcbor-dev (no such package): [2022-02-10T16:25:56.426Z] required by: world[libcbor-dev] [2022-02-10T16:25:56.426Z] The command '/bin/sh -c apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev' returned a non-zero code: 1 [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] sh [2022-02-10T16:25:57.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T16:25:57.500Z] [2022-02-10T16:25:57.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:25:57.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T16:25:57.857Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T16:25:57.857Z] b4d181a07f80: Pulling fs layer [2022-02-10T16:25:57.857Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T16:25:57.857Z] ed53099fbce6: Pulling fs layer [2022-02-10T16:25:57.857Z] dc539afda2c1: Pulling fs layer [2022-02-10T16:25:57.857Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T16:25:57.857Z] 9065ff56babe: Pulling fs layer [2022-02-10T16:25:57.857Z] d287ab97295c: Pulling fs layer [2022-02-10T16:25:57.857Z] 77bc0d833cb6: Waiting [2022-02-10T16:25:57.857Z] 9065ff56babe: Waiting [2022-02-10T16:25:57.857Z] d287ab97295c: Waiting [2022-02-10T16:25:57.857Z] dc539afda2c1: Waiting [2022-02-10T16:25:57.857Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T16:25:57.857Z] a1111a8f2ec3: Download complete [2022-02-10T16:25:57.857Z] dc539afda2c1: Verifying Checksum [2022-02-10T16:25:57.857Z] dc539afda2c1: Download complete [2022-02-10T16:25:57.857Z] ed53099fbce6: Verifying Checksum [2022-02-10T16:25:57.857Z] ed53099fbce6: Download complete [2022-02-10T16:25:58.118Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T16:25:58.118Z] 77bc0d833cb6: Download complete [2022-02-10T16:25:58.118Z] 9065ff56babe: Verifying Checksum [2022-02-10T16:25:58.118Z] 9065ff56babe: Download complete [2022-02-10T16:25:58.118Z] b4d181a07f80: Verifying Checksum [2022-02-10T16:25:58.118Z] b4d181a07f80: Download complete [2022-02-10T16:25:58.700Z] d287ab97295c: Verifying Checksum [2022-02-10T16:25:58.700Z] d287ab97295c: Download complete [2022-02-10T16:25:59.279Z] b4d181a07f80: Pull complete [2022-02-10T16:25:59.543Z] a1111a8f2ec3: Pull complete [2022-02-10T16:26:00.124Z] ed53099fbce6: Pull complete [2022-02-10T16:26:00.124Z] dc539afda2c1: Pull complete [2022-02-10T16:26:00.391Z] 77bc0d833cb6: Pull complete [2022-02-10T16:26:00.391Z] 9065ff56babe: Pull complete [2022-02-10T16:26:01.511Z] Still waiting to schedule task [2022-02-10T16:26:01.511Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-10T16:26:05.754Z] d287ab97295c: Pull complete [2022-02-10T16:26:05.754Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T16:26:05.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T16:26:05.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T16:26:05.848Z] prd-centos7-docker-4c-2g-4995 does not seem to be running inside a container [2022-02-10T16:26:05.881Z] $ 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-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@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-02-10T16:26:08.122Z] $ docker top 06be8d9164e5afe6956a8f2a5eca771f0c794c16ebbee96548f082221b328bd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:26:08.620Z] ---> job-cost.sh [2022-02-10T16:26:08.620Z] lf-activate-venv: SKIPPING [2022-02-10T16:26:08.620Z] INFO: No Stack... [2022-02-10T16:26:08.880Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T16:26:09.140Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T16:26:09.463Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/cost.csv [2022-02-10T16:26:09.463Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T16:26:09.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [2022-02-10T16:26:09.510Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] did not exist. Created. [2022-02-10T16:26:09.510Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T16:26:09.904Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T16:26:09.969Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T16:26:09.984Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T16:26:10.062Z] $ docker stop --time=1 06be8d9164e5afe6956a8f2a5eca771f0c794c16ebbee96548f082221b328bd8 [2022-02-10T16:26:11.183Z] $ docker rm -f 06be8d9164e5afe6956a8f2a5eca771f0c794c16ebbee96548f082221b328bd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T16:26:11.522Z] Failed in branch amd64 [2022-02-10T16:27:28.696Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4996 in /w/workspace/edgexfoundry_device-sdk-c_PR-399 [Pipeline] { [Pipeline] ws [2022-02-10T16:27:28.738Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-02-10T16:27:28.938Z] Selected Git installation does not exist. Using Default [2022-02-10T16:27:28.938Z] The recommended git tool is: NONE [2022-02-10T16:27:33.419Z] using credential edgex-jenkins-ssh [2022-02-10T16:27:33.440Z] Cloning the remote Git repository [2022-02-10T16:27:33.504Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T16:27:33.591Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-02-10T16:27:33.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T16:27:33.688Z] > git --version # timeout=10 [2022-02-10T16:27:33.708Z] > git --version # 'git version 2.17.1' [2022-02-10T16:27:33.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T16:27:33.790Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T16:27:34.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-10T16:27:34.927Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T16:27:34.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-10T16:27:35.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T16:27:35.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T16:27:35.017Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-10T16:27:35.641Z] Merging remotes/origin/main commit 14d3a6bdd029748f665c10001c42d1af5d609c98 into PR head commit 246f55d6fe08234d66b53513a81d98e74fb8f307 [2022-02-10T16:27:35.871Z] Merge succeeded, producing 246f55d6fe08234d66b53513a81d98e74fb8f307 [2022-02-10T16:27:35.872Z] Checking out Revision 246f55d6fe08234d66b53513a81d98e74fb8f307 (PR-399) [2022-02-10T16:27:35.657Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T16:27:35.676Z] > git checkout -f 246f55d6fe08234d66b53513a81d98e74fb8f307 # timeout=10 [2022-02-10T16:27:35.783Z] > git remote # timeout=10 [2022-02-10T16:27:35.800Z] > git config --get remote.origin.url # timeout=10 [2022-02-10T16:27:35.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T16:27:35.831Z] > git merge 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 [2022-02-10T16:27:35.853Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-10T16:27:35.878Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T16:27:35.890Z] > git checkout -f 246f55d6fe08234d66b53513a81d98e74fb8f307 # timeout=10 [2022-02-10T16:27:40.044Z] Commit message: "fix: Dont stringify array elements in readings Closes: #397 BREAKING CHANGE: Format of array readings is changed to match device-sdk-go. The SDK may be built to stringify array elements as was previously specified, by using the -legacyv2 flag when running scripts/build.sh" [2022-02-10T16:27:40.098Z] > git --version # timeout=10 [2022-02-10T16:27:40.115Z] > git --version # 'git version 2.17.1' [2022-02-10T16:27:40.129Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T16:27:41.178Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T16:27:41.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T16:27:41.178Z] Dload Upload Total Spent Left Speed [2022-02-10T16:27:41.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh [2022-02-10T16:27:41.754Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T16:27:42.101Z] + + sudo tee /etc/docker/daemon.new [2022-02-10T16:27:42.101Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T16:27:42.101Z] { [2022-02-10T16:27:42.101Z] "registry-mirrors": [ [2022-02-10T16:27:42.101Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T16:27:42.101Z] ], [2022-02-10T16:27:42.101Z] "bip": "10.250.0.254/24", [2022-02-10T16:27:42.101Z] "hosts": [ [2022-02-10T16:27:42.101Z] "tcp://0.0.0.0:5555", [2022-02-10T16:27:42.101Z] "unix:///var/run/docker.sock" [2022-02-10T16:27:42.101Z] ], [2022-02-10T16:27:42.101Z] "mtu": 1458, [2022-02-10T16:27:42.101Z] "selinux-enabled": true, [2022-02-10T16:27:42.101Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T16:27:42.101Z] } [Pipeline] sh [2022-02-10T16:27:42.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T16:27:42.822Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T16:28:01.206Z] provisioning config files... [2022-02-10T16:28:01.233Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9056277955162012672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:28:01.643Z] ---> docker-login.sh [2022-02-10T16:28:01.643Z] nexus3.edgexfoundry.org:10001 [2022-02-10T16:28:02.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:28:02.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:28:02.514Z] Configure a credential helper to remove this warning. See [2022-02-10T16:28:02.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:28:02.514Z] [2022-02-10T16:28:02.514Z] Login Succeeded [2022-02-10T16:28:02.514Z] nexus3.edgexfoundry.org:10002 [2022-02-10T16:28:02.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:28:02.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:28:02.788Z] Configure a credential helper to remove this warning. See [2022-02-10T16:28:02.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:28:02.788Z] [2022-02-10T16:28:02.788Z] Login Succeeded [2022-02-10T16:28:02.788Z] nexus3.edgexfoundry.org:10003 [2022-02-10T16:28:03.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:28:03.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:28:03.339Z] Configure a credential helper to remove this warning. See [2022-02-10T16:28:03.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:28:03.339Z] [2022-02-10T16:28:03.339Z] Login Succeeded [2022-02-10T16:28:03.339Z] nexus3.edgexfoundry.org:10004 [2022-02-10T16:28:03.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:28:03.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:28:03.887Z] Configure a credential helper to remove this warning. See [2022-02-10T16:28:03.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:28:03.887Z] [2022-02-10T16:28:03.887Z] Login Succeeded [2022-02-10T16:28:03.887Z] docker.io [2022-02-10T16:28:04.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T16:28:04.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T16:28:04.435Z] Configure a credential helper to remove this warning. See [2022-02-10T16:28:04.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T16:28:04.435Z] [2022-02-10T16:28:04.435Z] Login Succeeded [2022-02-10T16:28:04.435Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T16:28:04.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T16:28:05.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T16:28:05.045Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-10T16:28:05.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T16:28:05.119Z] ========================================================= [2022-02-10T16:28:05.119Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-10T16:28:05.119Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:28:05.520Z] + 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-02-10T16:28:05.794Z] Sending build context to Docker daemon 2.77MB [2022-02-10T16:28:05.794Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-10T16:28:05.794Z] Step 2/22 : FROM ${BASE} as builder [2022-02-10T16:28:06.070Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-10T16:28:06.070Z] be307f383ecc: Pulling fs layer [2022-02-10T16:28:06.070Z] 1d4f7adf69d7: Pulling fs layer [2022-02-10T16:28:06.070Z] 52c5421e0b32: Pulling fs layer [2022-02-10T16:28:06.070Z] 1d4f7adf69d7: Verifying Checksum [2022-02-10T16:28:06.070Z] 1d4f7adf69d7: Download complete [2022-02-10T16:28:06.070Z] be307f383ecc: Download complete [2022-02-10T16:28:06.680Z] be307f383ecc: Pull complete [2022-02-10T16:28:07.276Z] 1d4f7adf69d7: Pull complete [2022-02-10T16:28:08.255Z] 52c5421e0b32: Verifying Checksum [2022-02-10T16:28:08.255Z] 52c5421e0b32: Download complete [2022-02-10T16:28:16.520Z] 52c5421e0b32: Pull complete [2022-02-10T16:28:16.520Z] Digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 [2022-02-10T16:28:16.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-10T16:28:16.520Z] ---> 3722cfcf980c [2022-02-10T16:28:16.520Z] 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-02-10T16:28:16.791Z] ---> Running in bebc5768f0a5 [2022-02-10T16:28:18.231Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2022-02-10T16:28:18.504Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T16:28:18.504Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T16:28:18.504Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T16:28:19.101Z] Removing intermediate container bebc5768f0a5 [2022-02-10T16:28:19.101Z] ---> bed7b87fa886 [2022-02-10T16:28:19.101Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T16:28:19.376Z] ---> Running in b348e7bfaf3d [2022-02-10T16:28:20.808Z] Removing intermediate container b348e7bfaf3d [2022-02-10T16:28:20.808Z] ---> 62cc774bca72 [2022-02-10T16:28:20.808Z] Step 5/22 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T16:28:21.089Z] ---> Running in da1dd1c6b488 [2022-02-10T16:28:22.081Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T16:28:23.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T16:28:23.331Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T16:28:24.309Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T16:28:24.309Z] ERROR: unable to select packages: [2022-02-10T16:28:24.309Z]  libcbor-dev (no such package): [2022-02-10T16:28:24.309Z] required by: world[libcbor-dev] [2022-02-10T16:28:24.584Z] The command '/bin/sh -c apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev' returned a non-zero code: 1 [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] sh [2022-02-10T16:28:25.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T16:28:25.722Z] [2022-02-10T16:28:25.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:28:26.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T16:28:26.106Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T16:28:26.106Z] 448f6bf000e3: Pulling fs layer [2022-02-10T16:28:26.106Z] f757da607395: Pulling fs layer [2022-02-10T16:28:26.106Z] 05883995daec: Pulling fs layer [2022-02-10T16:28:26.106Z] 8603b9c90790: Pulling fs layer [2022-02-10T16:28:26.106Z] 1560dd03e051: Pulling fs layer [2022-02-10T16:28:26.106Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T16:28:26.106Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T16:28:26.378Z] 1560dd03e051: Waiting [2022-02-10T16:28:26.379Z] 8603b9c90790: Waiting [2022-02-10T16:28:26.379Z] 27f5ce0e4adf: Waiting [2022-02-10T16:28:26.379Z] c2d8d7efcc4b: Waiting [2022-02-10T16:28:26.379Z] f757da607395: Verifying Checksum [2022-02-10T16:28:26.379Z] f757da607395: Download complete [2022-02-10T16:28:26.379Z] 8603b9c90790: Download complete [2022-02-10T16:28:26.379Z] 1560dd03e051: Verifying Checksum [2022-02-10T16:28:26.379Z] 1560dd03e051: Download complete [2022-02-10T16:28:26.379Z] 27f5ce0e4adf: Verifying Checksum [2022-02-10T16:28:26.379Z] 27f5ce0e4adf: Download complete [2022-02-10T16:28:26.379Z] 05883995daec: Verifying Checksum [2022-02-10T16:28:26.379Z] 05883995daec: Download complete [2022-02-10T16:28:26.974Z] 448f6bf000e3: Verifying Checksum [2022-02-10T16:28:26.974Z] 448f6bf000e3: Download complete [2022-02-10T16:28:29.593Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T16:28:29.593Z] c2d8d7efcc4b: Download complete [2022-02-10T16:28:30.573Z] 448f6bf000e3: Pull complete [2022-02-10T16:28:31.167Z] f757da607395: Pull complete [2022-02-10T16:28:32.598Z] 05883995daec: Pull complete [2022-02-10T16:28:32.872Z] 8603b9c90790: Pull complete [2022-02-10T16:28:33.467Z] 1560dd03e051: Pull complete [2022-02-10T16:28:34.064Z] 27f5ce0e4adf: Pull complete [2022-02-10T16:28:49.150Z] c2d8d7efcc4b: Pull complete [2022-02-10T16:28:49.150Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T16:28:49.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T16:28:49.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T16:28:49.377Z] prd-ubuntu18.04-docker-arm64-4c-16g-4996 does not seem to be running inside a container [2022-02-10T16:28:49.456Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-10T16:28:51.969Z] $ docker top adfb276d08098de99bf439586483e11574e8b3995d67cdfea53edf3d80e90b41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:28:52.913Z] ---> job-cost.sh [2022-02-10T16:28:52.913Z] lf-activate-venv: SKIPPING [2022-02-10T16:28:52.913Z] INFO: No Stack... [2022-02-10T16:28:53.185Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T16:28:53.783Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T16:28:54.478Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-02-10T16:28:54.478Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T16:28:54.562Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [2022-02-10T16:28:54.567Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] did not exist. Created. [2022-02-10T16:28:54.567Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T16:28:55.304Z] /w/workspace/device-sdk-c/1@tmp/durable-e5d60975/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-e5d60975/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-10T16:28:55.996Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T16:28:56.034Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T16:28:56.467Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T16:28:56.483Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T16:28:56.560Z] $ docker stop --time=1 adfb276d08098de99bf439586483e11574e8b3995d67cdfea53edf3d80e90b41 [2022-02-10T16:28:58.063Z] $ docker rm -f adfb276d08098de99bf439586483e11574e8b3995d67cdfea53edf3d80e90b41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T16:28:58.784Z] 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-02-10T16:28:59.977Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives ']' [2022-02-10T16:28:59.977Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T16:28:59.977Z] total 8 [2022-02-10T16:28:59.977Z] drwxr-xr-x. 3 root root 34 Feb 10 16:26 . [2022-02-10T16:28:59.977Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 16:26 .. [2022-02-10T16:28:59.977Z] drwxr-xr-x. 2 root root 6 Feb 10 16:26 cost [2022-02-10T16:28:59.977Z] -rw-r--r--. 1 root root 82 Feb 10 16:26 cost.csv [2022-02-10T16:28:59.977Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T16:28:59.977Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives [2022-02-10T16:28:59.977Z] total 8 [2022-02-10T16:28:59.977Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 16:26 . [2022-02-10T16:28:59.977Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 16:26 .. [2022-02-10T16:28:59.977Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 16:26 cost [2022-02-10T16:28:59.977Z] -rw-r--r--. 1 jenkins jenkins 82 Feb 10 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:00.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:00.944Z] ---> package-listing.sh [2022-02-10T16:29:00.944Z] ++ facter osfamily [2022-02-10T16:29:00.944Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T16:29:01.206Z] + OS_FAMILY=redhat [2022-02-10T16:29:01.206Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-399 [2022-02-10T16:29:01.206Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T16:29:01.206Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T16:29:01.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T16:29:01.206Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T16:29:01.206Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-399 ']' [2022-02-10T16:29:01.206Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T16:29:01.206Z] + case "${OS_FAMILY}" in [2022-02-10T16:29:01.206Z] + sort [2022-02-10T16:29:01.206Z] + rpm -qa [2022-02-10T16:29:01.788Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T16:29:01.789Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T16:29:01.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T16:29:01.789Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-399 ']' [2022-02-10T16:29:01.789Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/ [2022-02-10T16:29:01.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-399/archives/ [Pipeline] echo [2022-02-10T16:29:01.826Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-10T16:29:02.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T16:29:02.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T16:29:02.478Z] . [Pipeline] withDockerContainer [2022-02-10T16:29:02.575Z] prd-centos7-docker-4c-2g-4995 does not seem to be running inside a container [2022-02-10T16:29:02.615Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-399/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-399 -v /w/workspace/edgexfoundry_device-sdk-c_PR-399:/w/workspace/edgexfoundry_device-sdk-c_PR-399:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-399@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-02-10T16:29:02.814Z] $ docker top e87cd94dc3ade42317446fc3b96f4f9d08b40a5885160ca3ad567946a9479eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T16:29:03.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T16:29:03.541Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T16:29:03.852Z] + ls /var/log/sa-host [2022-02-10T16:29:03.852Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T16:29:03.852Z] file_magic: OK [2022-02-10T16:29:03.852Z] HZ: Using current value: 100 [2022-02-10T16:29:03.852Z] file_header: OK [2022-02-10T16:29:03.852Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T16:29:03.852Z] Statistics: [2022-02-10T16:29:03.852Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T16:29:03.852Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T16:29:03.852Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T16:29:03.852Z] file_magic: OK [2022-02-10T16:29:03.852Z] HZ: Using current value: 100 [2022-02-10T16:29:03.852Z] file_header: OK [2022-02-10T16:29:03.852Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T16:29:03.852Z] Statistics: [2022-02-10T16:29:03.852Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T16:29:03.852Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T16:29:04.128Z] provisioning config files... [2022-02-10T16:29:04.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-399@tmp/config8924904465659549144tmp [Pipeline] { [Pipeline] echo [2022-02-10T16:29:04.191Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:04.508Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T16:29:04.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:04.946Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T16:29:04.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:05.298Z] ---> sudo-logs.sh [2022-02-10T16:29:05.298Z] Archiving 'sudo' log.. [2022-02-10T16:29:05.298Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4995.novalocal: Name or service not known [2022-02-10T16:29:05.298Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4995.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T16:29:05.390Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:05.707Z] ---> job-cost.sh [2022-02-10T16:29:05.707Z] lf-activate-venv: SKIPPING [2022-02-10T16:29:05.707Z] DEBUG: total: 0.05999999865889549 [2022-02-10T16:29:05.707Z] INFO: Retrieving Stack Cost... [2022-02-10T16:29:05.968Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T16:29:06.540Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T16:29:06.574Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T16:29:06.896Z] ---> logs-deploy.sh [2022-02-10T16:29:06.896Z] lf-activate-venv: SKIPPING [2022-02-10T16:29:06.896Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-399/1 [2022-02-10T16:29:06.896Z] INFO: archiving workspace using pattern(s): [2022-02-10T16:29:07.468Z] Archives upload complete. [2022-02-10T16:29:07.729Z] INFO: archiving logs to Nexus