lenny-intel commented: recheck 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 jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 rather than ec03e308a5322abdebf67ad2513e798fc042b063 Obtained Jenkinsfile from 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7012350329790284704.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh1175493122989092978.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2014882383589798287.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh3585705411771634019.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5834606541623292212.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1075 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [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-378 # 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-378@tmp/jenkins-gitclient-ssh5933665074894525886.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 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit ec03e308a5322abdebf67ad2513e798fc042b063 > 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-378@tmp/jenkins-gitclient-ssh3996387613922270980.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 Merge succeeded, producing ec03e308a5322abdebf67ad2513e798fc042b063 Checking out Revision ec03e308a5322abdebf67ad2513e798fc042b063 (PR-378) > 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-378@tmp/jenkins-gitclient-ssh7389387264933507917.key > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 Commit message: "build: update alpine base to 3.14" > git rev-list --no-walk ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-23T23:36:08.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-23T23:36:08.362Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-23T23:36:08.388Z] ========================================================= [2021-09-23T23:36:08.388Z] EdgeX Global Pipelines Version Info [2021-09-23T23:36:08.388Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:36:09.652Z] ------------------- [2021-09-23T23:36:09.653Z] stable info: [2021-09-23T23:36:09.653Z] ------------------- [2021-09-23T23:36:09.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-23T23:36:09.653Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T23:36:09.653Z] Message: update stable to v1.0.205 [2021-09-23T23:36:10.241Z] ------------------- [2021-09-23T23:36:10.241Z] experimental info: [2021-09-23T23:36:10.241Z] ------------------- [2021-09-23T23:36:10.241Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-23T23:36:10.241Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T23:36:10.241Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-23T23:36:10.374Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-09-23T23:36:10.396Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-09-23T23:36:10.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-23T23:36:10.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-23T23:36:10.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-23T23:36:10.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-09-23T23:36:10.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-09-23T23:36:10.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-09-23T23:36:10.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-23T23:36:10.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-23T23:36:10.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-09-23T23:36:10.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-23T23:36:10.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-23T23:36:10.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-23T23:36:10.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-23T23:36:10.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-23T23:36:10.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-23T23:36:10.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-23T23:36:10.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo [2021-09-23T23:36:10.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo [2021-09-23T23:36:10.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo [2021-09-23T23:36:10.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec03e308a5322abdebf67ad2513e798fc042b063 [Pipeline] echo [2021-09-23T23:36:10.927Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec03e30 [Pipeline] echo [2021-09-23T23:36:10.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T23:36:11.017Z] provisioning config files... [2021-09-23T23:36:11.034Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/config1208519755894696547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:36:11.390Z] ---> docker-login.sh [2021-09-23T23:36:11.390Z] nexus3.edgexfoundry.org:10001 [2021-09-23T23:36:11.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:36:11.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:36:11.661Z] Configure a credential helper to remove this warning. See [2021-09-23T23:36:11.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:36:11.661Z] [2021-09-23T23:36:11.661Z] Login Succeeded [2021-09-23T23:36:11.661Z] nexus3.edgexfoundry.org:10002 [2021-09-23T23:36:11.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:36:11.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:36:11.661Z] Configure a credential helper to remove this warning. See [2021-09-23T23:36:11.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:36:11.661Z] [2021-09-23T23:36:11.661Z] Login Succeeded [2021-09-23T23:36:11.661Z] nexus3.edgexfoundry.org:10003 [2021-09-23T23:36:12.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:36:12.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:36:12.389Z] Configure a credential helper to remove this warning. See [2021-09-23T23:36:12.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:36:12.389Z] [2021-09-23T23:36:12.389Z] Login Succeeded [2021-09-23T23:36:12.389Z] nexus3.edgexfoundry.org:10004 [2021-09-23T23:36:12.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:36:12.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:36:12.389Z] Configure a credential helper to remove this warning. See [2021-09-23T23:36:12.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:36:12.389Z] [2021-09-23T23:36:12.389Z] Login Succeeded [2021-09-23T23:36:12.389Z] docker.io [2021-09-23T23:36:12.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:36:12.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:36:12.656Z] Configure a credential helper to remove this warning. See [2021-09-23T23:36:12.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:36:12.656Z] [2021-09-23T23:36:12.656Z] Login Succeeded [2021-09-23T23:36:12.656Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T23:36:12.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:36:13.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T23:36:13.454Z] [2021-09-23T23:36:13.454Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:36:13.801Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T23:36:13.801Z] latest: Pulling from edgex-devops/git-semver [2021-09-23T23:36:13.801Z] 31603596830f: Pulling fs layer [2021-09-23T23:36:13.801Z] 04fac38145f0: Pulling fs layer [2021-09-23T23:36:13.801Z] 701f6daf10bf: Pulling fs layer [2021-09-23T23:36:13.801Z] 24f72da36158: Pulling fs layer [2021-09-23T23:36:13.801Z] 24f72da36158: Waiting [2021-09-23T23:36:13.801Z] 04fac38145f0: Verifying Checksum [2021-09-23T23:36:13.801Z] 04fac38145f0: Download complete [2021-09-23T23:36:14.070Z] 31603596830f: Verifying Checksum [2021-09-23T23:36:14.070Z] 31603596830f: Download complete [2021-09-23T23:36:14.070Z] 31603596830f: Pull complete [2021-09-23T23:36:14.070Z] 24f72da36158: Verifying Checksum [2021-09-23T23:36:14.070Z] 24f72da36158: Download complete [2021-09-23T23:36:14.335Z] 04fac38145f0: Pull complete [2021-09-23T23:36:14.335Z] 701f6daf10bf: Verifying Checksum [2021-09-23T23:36:14.335Z] 701f6daf10bf: Download complete [2021-09-23T23:36:14.941Z] 701f6daf10bf: Pull complete [2021-09-23T23:36:14.941Z] 24f72da36158: Pull complete [2021-09-23T23:36:14.941Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-23T23:36:14.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T23:36:14.941Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-23T23:36:15.284Z] prd-centos7-docker-4c-2g-1075 does not seem to be running inside a container [2021-09-23T23:36:15.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-378 -v /w/workspace/edgexfoundry_device-sdk-c_PR-378:/w/workspace/edgexfoundry_device-sdk-c_PR-378:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-23T23:36:16.179Z] $ docker top 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-23T23:36:16.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T23:36:16.317Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T23:36:16.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T23:36:16.434Z] $ docker exec 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 ssh-agent [2021-09-23T23:36:16.560Z] SSH_AUTH_SOCK=/tmp/ssh-uZdjC5qvsyaf/agent.16 [2021-09-23T23:36:16.560Z] SSH_AGENT_PID=22 [2021-09-23T23:36:16.576Z] Running ssh-add (command line suppressed) [2021-09-23T23:36:16.674Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_6652772334871721410.key (/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_6652772334871721410.key) [2021-09-23T23:36:16.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T23:36:17.240Z] + git tag --points-at HEAD [Pipeline] } [2021-09-23T23:36:17.277Z] $ docker exec --env ******** --env ******** 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 ssh-agent -k [2021-09-23T23:36:17.388Z] unset SSH_AUTH_SOCK; [2021-09-23T23:36:17.388Z] unset SSH_AGENT_PID; [2021-09-23T23:36:17.388Z] echo Agent pid 22 killed; [2021-09-23T23:36:17.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-23T23:36:17.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T23:36:17.463Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T23:36:17.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T23:36:17.576Z] $ docker exec 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 ssh-agent [2021-09-23T23:36:17.685Z] SSH_AUTH_SOCK=/tmp/ssh-HwFFKvHkoSYv/agent.56 [2021-09-23T23:36:17.685Z] SSH_AGENT_PID=63 [2021-09-23T23:36:17.699Z] Running ssh-add (command line suppressed) [2021-09-23T23:36:17.793Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_3583897564188837506.key (/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_3583897564188837506.key) [2021-09-23T23:36:17.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T23:36:18.170Z] + git semver init [2021-09-23T23:36:18.170Z] # -> Open(): unable to determine branch for HEAD [2021-09-23T23:36:18.170Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-378/.git [2021-09-23T23:36:18.170Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-378 [2021-09-23T23:36:18.170Z] # $SEMVER_REMOTE_NAME = origin [2021-09-23T23:36:18.170Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-23T23:36:18.170Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-23T23:36:18.170Z] # $SEMVER_BRANCH = PR-378 [2021-09-23T23:36:18.170Z] # $SEMVER_TEMP = /tmp/semver-853226553 [2021-09-23T23:36:18.170Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-09-23T23:36:19.135Z] # '/tmp/semver-853226553' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-378/.semver' [2021-09-23T23:36:19.135Z] # -> Force: false [2021-09-23T23:36:19.135Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-378/.semver [Pipeline] } [2021-09-23T23:36:19.194Z] $ docker exec --env ******** --env ******** 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 ssh-agent -k [2021-09-23T23:36:19.292Z] unset SSH_AUTH_SOCK; [2021-09-23T23:36:19.293Z] unset SSH_AGENT_PID; [2021-09-23T23:36:19.293Z] echo Agent pid 63 killed; [2021-09-23T23:36:19.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-23T23:36:19.699Z] + git semver [Pipeline] } [2021-09-23T23:36:19.713Z] $ docker stop --time=1 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 [2021-09-23T23:36:20.968Z] $ docker rm -f 0be436c14373adc0e9ec0abeada792a7fcf9933625182707e6e8fac95ca155b1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T23:36:21.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-23T23:36:21.711Z] Stashed 1 file(s) [Pipeline] echo [2021-09-23T23:36:21.716Z] [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] node [Pipeline] node [2021-09-23T23:36:36.943Z] Still waiting to schedule task [2021-09-23T23:36:36.944Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-23T23:36:36.946Z] Still waiting to schedule task [2021-09-23T23:36:36.946Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-09-23T23:37:55.523Z] Running on prd-centos7-docker-4c-2g-1081 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [Pipeline] { [Pipeline] ws [2021-09-23T23:37:55.540Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-09-23T23:37:55.662Z] Selected Git installation does not exist. Using Default [2021-09-23T23:37:55.662Z] The recommended git tool is: NONE [2021-09-23T23:37:58.564Z] using credential edgex-jenkins-ssh [2021-09-23T23:37:58.590Z] Cloning the remote Git repository [2021-09-23T23:37:58.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:37:58.686Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-09-23T23:37:58.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:37:58.717Z] > git --version # timeout=10 [2021-09-23T23:37:58.724Z] > git --version # 'git version 2.24.4' [2021-09-23T23:37:58.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:37:58.754Z] [INFO] Currently running in a labeled security context [2021-09-23T23:37:58.754Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T23:37:58.754Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1194861486981477083.key [2021-09-23T23:37:58.770Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T23:38:00.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-23T23:38:00.220Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T23:38:00.232Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-23T23:38:00.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:38:00.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:38:00.250Z] [INFO] Currently running in a labeled security context [2021-09-23T23:38:00.250Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T23:38:00.250Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3799001537568984905.key [2021-09-23T23:38:00.263Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T23:38:00.864Z] Merging remotes/origin/main commit 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit ec03e308a5322abdebf67ad2513e798fc042b063 [2021-09-23T23:38:00.970Z] Merge succeeded, producing ec03e308a5322abdebf67ad2513e798fc042b063 [2021-09-23T23:38:00.970Z] Checking out Revision ec03e308a5322abdebf67ad2513e798fc042b063 (PR-378) [2021-09-23T23:38:00.875Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T23:38:00.883Z] > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [2021-09-23T23:38:00.928Z] > git remote # timeout=10 [2021-09-23T23:38:00.931Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T23:38:00.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:38:00.937Z] [INFO] Currently running in a labeled security context [2021-09-23T23:38:00.937Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T23:38:00.937Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh3499081317580284666.key [2021-09-23T23:38:00.943Z] > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 [2021-09-23T23:38:00.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T23:38:00.975Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T23:38:00.984Z] > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [2021-09-23T23:38:04.789Z] Commit message: "build: update alpine base to 3.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T23:38:05.150Z] provisioning config files... [2021-09-23T23:38:05.166Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4212136827989151725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:38:05.596Z] ---> docker-login.sh [2021-09-23T23:38:05.596Z] nexus3.edgexfoundry.org:10001 [2021-09-23T23:38:05.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:38:05.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:38:05.865Z] Configure a credential helper to remove this warning. See [2021-09-23T23:38:05.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:38:05.865Z] [2021-09-23T23:38:05.865Z] Login Succeeded [2021-09-23T23:38:05.865Z] nexus3.edgexfoundry.org:10002 [2021-09-23T23:38:05.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:38:06.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:38:06.131Z] Configure a credential helper to remove this warning. See [2021-09-23T23:38:06.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:38:06.131Z] [2021-09-23T23:38:06.131Z] Login Succeeded [2021-09-23T23:38:06.131Z] nexus3.edgexfoundry.org:10003 [2021-09-23T23:38:06.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:38:06.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:38:06.131Z] Configure a credential helper to remove this warning. See [2021-09-23T23:38:06.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:38:06.131Z] [2021-09-23T23:38:06.131Z] Login Succeeded [2021-09-23T23:38:06.131Z] nexus3.edgexfoundry.org:10004 [2021-09-23T23:38:06.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:38:06.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:38:06.397Z] Configure a credential helper to remove this warning. See [2021-09-23T23:38:06.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:38:06.397Z] [2021-09-23T23:38:06.397Z] Login Succeeded [2021-09-23T23:38:06.397Z] docker.io [2021-09-23T23:38:06.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:38:06.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:38:06.664Z] Configure a credential helper to remove this warning. See [2021-09-23T23:38:06.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:38:06.664Z] [2021-09-23T23:38:06.664Z] Login Succeeded [2021-09-23T23:38:06.664Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T23:38:06.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T23:38:06.896Z] ========================================================= [2021-09-23T23:38:06.896Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-09-23T23:38:06.896Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:38:07.227Z] + 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 . [2021-09-23T23:38:07.227Z] Sending build context to Docker daemon 2.679MB [2021-09-23T23:38:07.227Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-23T23:38:07.227Z] Step 2/25 : FROM ${BASE} as builder [2021-09-23T23:38:07.227Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-09-23T23:38:07.227Z] 339de151aab4: Pulling fs layer [2021-09-23T23:38:07.227Z] 3691962f683c: Pulling fs layer [2021-09-23T23:38:07.227Z] e1147bf81a45: Pulling fs layer [2021-09-23T23:38:07.494Z] 3691962f683c: Verifying Checksum [2021-09-23T23:38:07.494Z] 3691962f683c: Download complete [2021-09-23T23:38:07.494Z] 339de151aab4: Verifying Checksum [2021-09-23T23:38:07.494Z] 339de151aab4: Download complete [2021-09-23T23:38:07.774Z] 339de151aab4: Pull complete [2021-09-23T23:38:07.774Z] 3691962f683c: Pull complete [2021-09-23T23:38:12.045Z] e1147bf81a45: Verifying Checksum [2021-09-23T23:38:12.045Z] e1147bf81a45: Download complete [2021-09-23T23:38:14.642Z] e1147bf81a45: Pull complete [2021-09-23T23:38:14.642Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-09-23T23:38:14.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-09-23T23:38:14.642Z] ---> ac6a0feb3254 [2021-09-23T23:38:14.642Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-09-23T23:38:15.225Z] ---> Running in 645f7b54a7e6 [2021-09-23T23:38:15.806Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-09-23T23:38:16.076Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-23T23:38:16.076Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-23T23:38:16.076Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-23T23:38:16.344Z] Removing intermediate container 645f7b54a7e6 [2021-09-23T23:38:16.344Z] ---> 5a7ebbb108e3 [2021-09-23T23:38:16.344Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.14' >> /etc/apk/repositories [2021-09-23T23:38:16.344Z] ---> Running in 7c38d6c0626c [2021-09-23T23:38:16.617Z] Removing intermediate container 7c38d6c0626c [2021-09-23T23:38:16.617Z] ---> 26ed2d048491 [2021-09-23T23:38:16.617Z] Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev [2021-09-23T23:38:16.617Z] ---> Running in 7b4ee3f53527 [2021-09-23T23:38:16.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-23T23:38:18.294Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-23T23:38:18.562Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.14/x86_64/APKINDEX.tar.gz [2021-09-23T23:38:19.151Z] WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine/alpine-3.14: No such file or directory [2021-09-23T23:38:19.151Z] ERROR: unable to select packages: [2021-09-23T23:38:19.151Z]  paho-mqtt-c-dev (no such package): [2021-09-23T23:38:19.151Z] required by: world[paho-mqtt-c-dev] [2021-09-23T23:38:19.151Z] 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 paho-mqtt-c-dev 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 [2021-09-23T23:38:20.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:38:20.089Z] [2021-09-23T23:38:20.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:38:20.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:38:20.419Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T23:38:20.419Z] b4d181a07f80: Pulling fs layer [2021-09-23T23:38:20.419Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T23:38:20.419Z] ed53099fbce6: Pulling fs layer [2021-09-23T23:38:20.419Z] dc539afda2c1: Pulling fs layer [2021-09-23T23:38:20.419Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T23:38:20.419Z] 9065ff56babe: Pulling fs layer [2021-09-23T23:38:20.419Z] d287ab97295c: Pulling fs layer [2021-09-23T23:38:20.419Z] dc539afda2c1: Waiting [2021-09-23T23:38:20.419Z] 77bc0d833cb6: Waiting [2021-09-23T23:38:20.419Z] 9065ff56babe: Waiting [2021-09-23T23:38:20.419Z] d287ab97295c: Waiting [2021-09-23T23:38:20.684Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T23:38:20.684Z] a1111a8f2ec3: Download complete [2021-09-23T23:38:20.684Z] dc539afda2c1: Verifying Checksum [2021-09-23T23:38:20.684Z] dc539afda2c1: Download complete [2021-09-23T23:38:20.684Z] 77bc0d833cb6: Verifying Checksum [2021-09-23T23:38:20.684Z] 77bc0d833cb6: Download complete [2021-09-23T23:38:20.684Z] 9065ff56babe: Verifying Checksum [2021-09-23T23:38:20.684Z] 9065ff56babe: Download complete [2021-09-23T23:38:20.949Z] ed53099fbce6: Verifying Checksum [2021-09-23T23:38:20.949Z] ed53099fbce6: Download complete [2021-09-23T23:38:21.914Z] b4d181a07f80: Verifying Checksum [2021-09-23T23:38:21.914Z] b4d181a07f80: Download complete [2021-09-23T23:38:22.892Z] b4d181a07f80: Pull complete [2021-09-23T23:38:22.892Z] a1111a8f2ec3: Pull complete [2021-09-23T23:38:23.494Z] ed53099fbce6: Pull complete [2021-09-23T23:38:23.494Z] dc539afda2c1: Pull complete [2021-09-23T23:38:23.763Z] 77bc0d833cb6: Pull complete [2021-09-23T23:38:23.763Z] 9065ff56babe: Pull complete [2021-09-23T23:38:25.713Z] d287ab97295c: Verifying Checksum [2021-09-23T23:38:25.713Z] d287ab97295c: Download complete [2021-09-23T23:38:30.009Z] d287ab97295c: Pull complete [2021-09-23T23:38:30.009Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T23:38:30.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:38:30.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T23:38:30.098Z] prd-centos7-docker-4c-2g-1081 does not seem to be running inside a container [2021-09-23T23:38:30.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-23T23:38:32.663Z] $ docker top 3387c1df289a98389b8733c7d4a0477d56e296387fadd0217be21688d748c83b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:38:33.114Z] ---> job-cost.sh [2021-09-23T23:38:33.114Z] lf-activate-venv: SKIPPING [2021-09-23T23:38:33.114Z] INFO: No Stack... [2021-09-23T23:38:34.076Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T23:38:34.343Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T23:38:34.665Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2021-09-23T23:38:34.666Z] + cut -d, -f6 [Pipeline] lock [2021-09-23T23:38:34.711Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [2021-09-23T23:38:34.724Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] did not exist. Created. [2021-09-23T23:38:34.724Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T23:38:35.059Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-23T23:38:35.280Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T23:38:35.307Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T23:38:35.335Z] $ docker stop --time=1 3387c1df289a98389b8733c7d4a0477d56e296387fadd0217be21688d748c83b [2021-09-23T23:38:36.489Z] $ docker rm -f 3387c1df289a98389b8733c7d4a0477d56e296387fadd0217be21688d748c83b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-23T23:38:36.856Z] Failed in branch amd64 [2021-09-23T23:40:05.022Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1083 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [Pipeline] { [Pipeline] ws [2021-09-23T23:40:05.041Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-09-23T23:40:05.351Z] Selected Git installation does not exist. Using Default [2021-09-23T23:40:05.351Z] The recommended git tool is: NONE [2021-09-23T23:40:13.839Z] using credential edgex-jenkins-ssh [2021-09-23T23:40:13.866Z] Cloning the remote Git repository [2021-09-23T23:40:13.945Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:40:14.093Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-09-23T23:40:14.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:40:14.213Z] > git --version # timeout=10 [2021-09-23T23:40:14.236Z] > git --version # 'git version 2.17.1' [2021-09-23T23:40:14.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:40:14.385Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T23:40:16.786Z] Merging remotes/origin/main commit 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit ec03e308a5322abdebf67ad2513e798fc042b063 [2021-09-23T23:40:17.158Z] Merge succeeded, producing ec03e308a5322abdebf67ad2513e798fc042b063 [2021-09-23T23:40:17.158Z] Checking out Revision ec03e308a5322abdebf67ad2513e798fc042b063 (PR-378) [2021-09-23T23:40:15.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-23T23:40:15.922Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T23:40:15.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-23T23:40:16.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-23T23:40:16.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:40:16.041Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T23:40:16.813Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T23:40:16.843Z] > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [2021-09-23T23:40:17.007Z] > git remote # timeout=10 [2021-09-23T23:40:17.040Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T23:40:17.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T23:40:17.083Z] > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 [2021-09-23T23:40:17.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T23:40:17.160Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T23:40:17.194Z] > git checkout -f ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [2021-09-23T23:40:22.148Z] Commit message: "build: update alpine base to 3.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T23:40:22.517Z] provisioning config files... [2021-09-23T23:40:22.550Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5574919436330622993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:40:23.242Z] ---> docker-login.sh [2021-09-23T23:40:23.242Z] nexus3.edgexfoundry.org:10001 [2021-09-23T23:40:25.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:40:25.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:40:25.884Z] Configure a credential helper to remove this warning. See [2021-09-23T23:40:25.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:40:25.884Z] [2021-09-23T23:40:25.884Z] Login Succeeded [2021-09-23T23:40:25.884Z] nexus3.edgexfoundry.org:10002 [2021-09-23T23:40:26.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:40:26.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:40:26.493Z] Configure a credential helper to remove this warning. See [2021-09-23T23:40:26.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:40:26.493Z] [2021-09-23T23:40:26.493Z] Login Succeeded [2021-09-23T23:40:26.493Z] nexus3.edgexfoundry.org:10003 [2021-09-23T23:40:27.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:40:27.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:40:27.109Z] Configure a credential helper to remove this warning. See [2021-09-23T23:40:27.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:40:27.109Z] [2021-09-23T23:40:27.109Z] Login Succeeded [2021-09-23T23:40:27.109Z] nexus3.edgexfoundry.org:10004 [2021-09-23T23:40:27.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:40:27.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:40:27.717Z] Configure a credential helper to remove this warning. See [2021-09-23T23:40:27.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:40:27.717Z] [2021-09-23T23:40:27.717Z] Login Succeeded [2021-09-23T23:40:27.717Z] docker.io [2021-09-23T23:40:27.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T23:40:28.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T23:40:28.619Z] Configure a credential helper to remove this warning. See [2021-09-23T23:40:28.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T23:40:28.619Z] [2021-09-23T23:40:28.619Z] Login Succeeded [2021-09-23T23:40:28.619Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T23:40:28.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T23:40:29.285Z] ========================================================= [2021-09-23T23:40:29.285Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-09-23T23:40:29.285Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:40:29.673Z] + 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 . [2021-09-23T23:40:30.278Z] Sending build context to Docker daemon 2.678MB [2021-09-23T23:40:30.278Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-23T23:40:30.278Z] Step 2/25 : FROM ${BASE} as builder [2021-09-23T23:40:30.558Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-09-23T23:40:30.558Z] d2f70382dc9a: Pulling fs layer [2021-09-23T23:40:30.558Z] b08cc2eccb4b: Pulling fs layer [2021-09-23T23:40:30.558Z] 7b69db201801: Pulling fs layer [2021-09-23T23:40:30.837Z] b08cc2eccb4b: Verifying Checksum [2021-09-23T23:40:30.837Z] b08cc2eccb4b: Download complete [2021-09-23T23:40:30.837Z] d2f70382dc9a: Verifying Checksum [2021-09-23T23:40:30.837Z] d2f70382dc9a: Download complete [2021-09-23T23:40:31.842Z] d2f70382dc9a: Pull complete [2021-09-23T23:40:32.120Z] b08cc2eccb4b: Pull complete [2021-09-23T23:40:33.655Z] 7b69db201801: Verifying Checksum [2021-09-23T23:40:33.655Z] 7b69db201801: Download complete [2021-09-23T23:40:41.954Z] 7b69db201801: Pull complete [2021-09-23T23:40:41.954Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-09-23T23:40:41.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-09-23T23:40:41.954Z] ---> 759262b18b23 [2021-09-23T23:40:41.954Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-09-23T23:40:43.944Z] ---> Running in 7e237655b9ba [2021-09-23T23:40:45.942Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-09-23T23:40:46.225Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-23T23:40:46.225Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-23T23:40:46.225Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-23T23:40:47.207Z] Removing intermediate container 7e237655b9ba [2021-09-23T23:40:47.207Z] ---> cce4ee72dd7d [2021-09-23T23:40:47.207Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.14' >> /etc/apk/repositories [2021-09-23T23:40:47.497Z] ---> Running in 4c7805623746 [2021-09-23T23:40:50.134Z] Removing intermediate container 4c7805623746 [2021-09-23T23:40:50.134Z] ---> 4e2ba86f68c9 [2021-09-23T23:40:50.134Z] Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev [2021-09-23T23:40:50.134Z] ---> Running in e8a2f855dfba [2021-09-23T23:40:51.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-23T23:40:52.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-23T23:40:52.771Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.14/aarch64/APKINDEX.tar.gz [2021-09-23T23:40:53.046Z] WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine/alpine-3.14: No such file or directory [2021-09-23T23:40:53.324Z] ERROR: unable to select packages: [2021-09-23T23:40:53.599Z]  paho-mqtt-c-dev (no such package): [2021-09-23T23:40:53.599Z] required by: world[paho-mqtt-c-dev] [2021-09-23T23:40:54.201Z] 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 paho-mqtt-c-dev 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 [2021-09-23T23:40:54.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T23:40:54.989Z] [2021-09-23T23:40:54.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:40:55.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T23:40:55.643Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-23T23:40:55.643Z] 448f6bf000e3: Pulling fs layer [2021-09-23T23:40:55.643Z] f757da607395: Pulling fs layer [2021-09-23T23:40:55.643Z] 05883995daec: Pulling fs layer [2021-09-23T23:40:55.643Z] 8603b9c90790: Pulling fs layer [2021-09-23T23:40:55.643Z] 1560dd03e051: Pulling fs layer [2021-09-23T23:40:55.643Z] 27f5ce0e4adf: Pulling fs layer [2021-09-23T23:40:55.643Z] c2d8d7efcc4b: Pulling fs layer [2021-09-23T23:40:55.643Z] 8603b9c90790: Waiting [2021-09-23T23:40:55.643Z] 1560dd03e051: Waiting [2021-09-23T23:40:55.643Z] 27f5ce0e4adf: Waiting [2021-09-23T23:40:55.643Z] c2d8d7efcc4b: Waiting [2021-09-23T23:40:55.919Z] f757da607395: Verifying Checksum [2021-09-23T23:40:55.919Z] f757da607395: Download complete [2021-09-23T23:40:55.919Z] 8603b9c90790: Verifying Checksum [2021-09-23T23:40:55.919Z] 8603b9c90790: Download complete [2021-09-23T23:40:55.919Z] 1560dd03e051: Verifying Checksum [2021-09-23T23:40:55.919Z] 1560dd03e051: Download complete [2021-09-23T23:40:56.198Z] 27f5ce0e4adf: Verifying Checksum [2021-09-23T23:40:56.198Z] 27f5ce0e4adf: Download complete [2021-09-23T23:40:56.198Z] 05883995daec: Verifying Checksum [2021-09-23T23:40:56.198Z] 05883995daec: Download complete [2021-09-23T23:40:57.179Z] 448f6bf000e3: Download complete [2021-09-23T23:41:00.584Z] c2d8d7efcc4b: Verifying Checksum [2021-09-23T23:41:00.584Z] c2d8d7efcc4b: Download complete [2021-09-23T23:41:00.584Z] 448f6bf000e3: Pull complete [2021-09-23T23:41:01.563Z] f757da607395: Pull complete [2021-09-23T23:41:03.009Z] 05883995daec: Pull complete [2021-09-23T23:41:03.282Z] 8603b9c90790: Pull complete [2021-09-23T23:41:04.290Z] 1560dd03e051: Pull complete [2021-09-23T23:41:04.892Z] 27f5ce0e4adf: Pull complete [2021-09-23T23:41:20.044Z] c2d8d7efcc4b: Pull complete [2021-09-23T23:41:20.044Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-23T23:41:20.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T23:41:20.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-23T23:41:20.380Z] prd-ubuntu18.04-docker-arm64-4c-16g-1083 does not seem to be running inside a container [2021-09-23T23:41:20.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-23T23:41:27.791Z] $ docker top 0476385c010dc86b5f5b5d917b7d5105f78a3a2a95d2f0448c78c0b5c74b3f9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:29.016Z] ---> job-cost.sh [2021-09-23T23:41:29.016Z] lf-activate-venv: SKIPPING [2021-09-23T23:41:29.016Z] INFO: No Stack... [2021-09-23T23:41:29.998Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-23T23:41:30.275Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T23:41:30.958Z] + + cut -d, -f6 [2021-09-23T23:41:30.958Z] cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2021-09-23T23:41:31.050Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [2021-09-23T23:41:31.067Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] did not exist. Created. [2021-09-23T23:41:31.067Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T23:41:31.772Z] /w/workspace/device-sdk-c/2@tmp/durable-e7e10054/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-e7e10054/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-23T23:41:32.450Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-23T23:41:32.486Z] Warning: overwriting stash ‘stack-cost’ [2021-09-23T23:41:33.161Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T23:41:33.185Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-378-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T23:41:33.203Z] $ docker stop --time=1 0476385c010dc86b5f5b5d917b7d5105f78a3a2a95d2f0448c78c0b5c74b3f9d [2021-09-23T23:41:34.977Z] $ docker rm -f 0476385c010dc86b5f5b5d917b7d5105f78a3a2a95d2f0448c78c0b5c74b3f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-23T23:41:35.511Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-09-23T23:41:36.397Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:36.748Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:37.367Z] ---> package-listing.sh [2021-09-23T23:41:37.367Z] ++ facter osfamily [2021-09-23T23:41:37.367Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-23T23:41:37.642Z] + OS_FAMILY=redhat [2021-09-23T23:41:37.642Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-378 [2021-09-23T23:41:37.642Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-23T23:41:37.642Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-23T23:41:37.642Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-23T23:41:37.642Z] + PACKAGES=/tmp/packages_start.txt [2021-09-23T23:41:37.642Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-378 ']' [2021-09-23T23:41:37.642Z] + PACKAGES=/tmp/packages_end.txt [2021-09-23T23:41:37.642Z] + case "${OS_FAMILY}" in [2021-09-23T23:41:37.642Z] + sort [2021-09-23T23:41:37.642Z] + rpm -qa [2021-09-23T23:41:38.226Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-23T23:41:38.226Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-23T23:41:38.226Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-23T23:41:38.226Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-378 ']' [2021-09-23T23:41:38.226Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives/ [2021-09-23T23:41:38.226Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives/ [Pipeline] echo [2021-09-23T23:41:38.243Z] 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-23T23:41:38.553Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:41:39.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:41:39.148Z] [2021-09-23T23:41:39.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T23:41:39.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:41:39.522Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T23:41:39.522Z] b4d181a07f80: Pulling fs layer [2021-09-23T23:41:39.522Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T23:41:39.522Z] ed53099fbce6: Pulling fs layer [2021-09-23T23:41:39.522Z] dc539afda2c1: Pulling fs layer [2021-09-23T23:41:39.522Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T23:41:39.522Z] 9065ff56babe: Pulling fs layer [2021-09-23T23:41:39.522Z] d287ab97295c: Pulling fs layer [2021-09-23T23:41:39.522Z] dc539afda2c1: Waiting [2021-09-23T23:41:39.522Z] 77bc0d833cb6: Waiting [2021-09-23T23:41:39.522Z] 9065ff56babe: Waiting [2021-09-23T23:41:39.522Z] d287ab97295c: Waiting [2021-09-23T23:41:39.794Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T23:41:39.794Z] a1111a8f2ec3: Download complete [2021-09-23T23:41:39.794Z] dc539afda2c1: Verifying Checksum [2021-09-23T23:41:39.794Z] dc539afda2c1: Download complete [2021-09-23T23:41:40.063Z] 77bc0d833cb6: Verifying Checksum [2021-09-23T23:41:40.063Z] 77bc0d833cb6: Download complete [2021-09-23T23:41:40.063Z] 9065ff56babe: Verifying Checksum [2021-09-23T23:41:40.063Z] 9065ff56babe: Download complete [2021-09-23T23:41:40.331Z] ed53099fbce6: Verifying Checksum [2021-09-23T23:41:40.331Z] ed53099fbce6: Download complete [2021-09-23T23:41:41.297Z] b4d181a07f80: Verifying Checksum [2021-09-23T23:41:41.297Z] b4d181a07f80: Download complete [2021-09-23T23:41:42.284Z] b4d181a07f80: Pull complete [2021-09-23T23:41:42.555Z] a1111a8f2ec3: Pull complete [2021-09-23T23:41:43.147Z] ed53099fbce6: Pull complete [2021-09-23T23:41:43.147Z] dc539afda2c1: Pull complete [2021-09-23T23:41:43.413Z] 77bc0d833cb6: Pull complete [2021-09-23T23:41:43.413Z] 9065ff56babe: Pull complete [2021-09-23T23:41:48.781Z] d287ab97295c: Verifying Checksum [2021-09-23T23:41:48.781Z] d287ab97295c: Download complete [2021-09-23T23:41:53.075Z] d287ab97295c: Pull complete [2021-09-23T23:41:53.075Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T23:41:53.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T23:41:53.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T23:41:53.165Z] prd-centos7-docker-4c-2g-1075 does not seem to be running inside a container [2021-09-23T23:41:53.265Z] $ 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-378/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-378 -v /w/workspace/edgexfoundry_device-sdk-c_PR-378:/w/workspace/edgexfoundry_device-sdk-c_PR-378:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-23T23:41:55.319Z] $ docker top 04394095caae227c94360c17af7e7668e6ea671e2379305b0d3236117dc52cba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T23:41:55.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-23T23:41:56.044Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-23T23:41:56.366Z] + ls /var/log/sa-host [2021-09-23T23:41:56.366Z] + sadf -c /var/log/sa-host/sa05 [2021-09-23T23:41:56.366Z] file_magic: OK [2021-09-23T23:41:56.366Z] HZ: Using current value: 100 [2021-09-23T23:41:56.366Z] file_header: OK [2021-09-23T23:41:56.366Z] 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 [2021-09-23T23:41:56.366Z] Statistics: [2021-09-23T23:41:56.366Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T23:41:56.366Z] File successfully converted to sysstat format version 12.0.3 [2021-09-23T23:41:56.366Z] + sadf -c /var/log/sa-host/sa23 [2021-09-23T23:41:56.366Z] file_magic: OK [2021-09-23T23:41:56.366Z] HZ: Using current value: 100 [2021-09-23T23:41:56.366Z] file_header: OK [2021-09-23T23:41:56.366Z] 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 [2021-09-23T23:41:56.366Z] Statistics: [2021-09-23T23:41:56.366Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T23:41:56.366Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T23:41:56.534Z] provisioning config files... [2021-09-23T23:41:56.549Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/config1758484550516892252tmp [Pipeline] { [Pipeline] echo [2021-09-23T23:41:56.570Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:56.885Z] ---> create-netrc.sh [Pipeline] } [2021-09-23T23:41:56.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:57.503Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-23T23:41:57.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:41:57.845Z] ---> sudo-logs.sh [2021-09-23T23:41:57.845Z] Archiving 'sudo' log.. [2021-09-23T23:42:03.225Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1075.vexxhost.local: Name or service not known [2021-09-23T23:42:03.225Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1075.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-23T23:42:03.284Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:42:03.803Z] ---> job-cost.sh [2021-09-23T23:42:03.803Z] lf-activate-venv: SKIPPING [2021-09-23T23:42:03.803Z] DEBUG: total: 0.10999999940395355 [2021-09-23T23:42:03.803Z] INFO: Retrieving Stack Cost... [2021-09-23T23:42:04.766Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T23:42:05.039Z] INFO: Archiving Costs [Pipeline] echo [2021-09-23T23:42:05.063Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T23:42:05.385Z] ---> logs-deploy.sh [2021-09-23T23:42:05.386Z] lf-activate-venv: SKIPPING [2021-09-23T23:42:05.386Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-378/2 [2021-09-23T23:42:05.386Z] INFO: archiving workspace using pattern(s): [2021-09-23T23:42:05.969Z] Archives upload complete. [2021-09-23T23:42:06.236Z] INFO: archiving logs to Nexus