Pull request #133 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 tdrozdovsky for edgexfoundry/device-rest-go Loading trusted files from base branch main at 4353c7216ee3f2112ec46af6800afcb0b221c962 rather than 4225c14ff004e9afc4b7363a3b422edff62f7f37 Obtained Jenkinsfile from 4353c7216ee3f2112ec46af6800afcb0b221c962 Running in Durability level: MAX_SURVIVABILITY 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-ssh5281036993834602968.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-ssh7340093894008253860.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 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-rest-go/branches/PR-133/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-rest-go/branches/PR-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4418108068652003147.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-rest-go/branches/PR-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh642411193777132379.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 > 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-ssh6049040849289771085.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-rest-go/branches/PR-133/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-rest-go/branches/PR-133/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7042198367196436873.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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 Running on prd-centos7-docker-4c-2g-269 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-133 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh5347632201098753692.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh7280003756965307800.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # 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/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh5285545239193524980.key > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 Commit message: "fix: remove the code: condition that is always true" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:41:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:41:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:41:42 ========================================================= 19:41:42 EdgeX Global Pipelines Version Info 19:41:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:41:43 ------------------- 19:41:43 stable info: 19:41:43 ------------------- 19:41:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:41:43 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:41:43 Message: update stable to v1.0.205 19:41:44 ------------------- 19:41:44 experimental info: 19:41:44 ------------------- 19:41:44 Commited By: **** collab-it+edgex@linuxfoundation.org 19:41:44 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:41:44 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:41:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:41:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:41:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:41:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:41:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:41:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4225c14 [Pipeline] echo 19:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:41:46 provisioning config files... 19:41:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config8067142545693955123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:41:47 ---> docker-login.sh 19:41:47 nexus3.edgexfoundry.org:10001 19:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:47 Configure a credential helper to remove this warning. See 19:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:47 19:41:47 Login Succeeded 19:41:47 nexus3.edgexfoundry.org:10002 19:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:47 Configure a credential helper to remove this warning. See 19:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:47 19:41:47 Login Succeeded 19:41:47 nexus3.edgexfoundry.org:10003 19:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:47 Configure a credential helper to remove this warning. See 19:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:47 19:41:47 Login Succeeded 19:41:47 nexus3.edgexfoundry.org:10004 19:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:48 Configure a credential helper to remove this warning. See 19:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:48 19:41:48 Login Succeeded 19:41:48 docker.io 19:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:48 Configure a credential helper to remove this warning. See 19:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:48 19:41:48 Login Succeeded 19:41:48 ---> docker-login.sh ends [Pipeline] } 19:41:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:41:49 + git log --format=format:%s -1 4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] echo 19:41:49 GIT_COMMIT: 4225c14ff004e9afc4b7363a3b422edff62f7f37, Commit Message: fix: remove the code: condition that is always true [Pipeline] echo 19:41:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:41:50 19:41:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:41:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:41:50 latest: Pulling from edgex-devops/git-semver 19:41:50 31603596830f: Pulling fs layer 19:41:50 04fac38145f0: Pulling fs layer 19:41:50 701f6daf10bf: Pulling fs layer 19:41:50 24f72da36158: Pulling fs layer 19:41:50 24f72da36158: Waiting 19:41:50 04fac38145f0: Verifying Checksum 19:41:50 04fac38145f0: Download complete 19:41:51 31603596830f: Verifying Checksum 19:41:51 31603596830f: Download complete 19:41:51 31603596830f: Pull complete 19:41:51 04fac38145f0: Pull complete 19:41:51 24f72da36158: Verifying Checksum 19:41:51 24f72da36158: Download complete 19:41:51 701f6daf10bf: Verifying Checksum 19:41:51 701f6daf10bf: Download complete 19:41:52 701f6daf10bf: Pull complete 19:41:52 24f72da36158: Pull complete 19:41:52 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 19:41:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:41:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:41:52 prd-centos7-docker-4c-2g-269 does not seem to be running inside a container 19:41:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-133 -v /w/workspace/gexfoundry_device-rest-go_PR-133:/w/workspace/gexfoundry_device-rest-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-133@tmp:/w/workspace/gexfoundry_device-rest-go_PR-133@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:41:53 $ docker top 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:41:53 [ssh-agent] Looking for ssh-agent implementation... 19:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:41:53 $ docker exec 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent 19:41:53 SSH_AUTH_SOCK=/tmp/ssh-ls7kaZUSeYVM/agent.14 19:41:53 SSH_AGENT_PID=20 19:41:53 Running ssh-add (command line suppressed) 19:41:53 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_3258830092764244446.key (/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_3258830092764244446.key) 19:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:41:54 + git tag --points-at HEAD [Pipeline] } 19:41:54 $ docker exec --env ******** --env ******** 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent -k 19:41:54 unset SSH_AUTH_SOCK; 19:41:54 unset SSH_AGENT_PID; 19:41:54 echo Agent pid 20 killed; 19:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:41:54 [ssh-agent] Looking for ssh-agent implementation... 19:41:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:41:54 $ docker exec 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent 19:41:54 SSH_AUTH_SOCK=/tmp/ssh-bJ3ZtQjeojLf/agent.54 19:41:54 SSH_AGENT_PID=61 19:41:54 Running ssh-add (command line suppressed) 19:41:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_5563817153117797556.key (/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_5563817153117797556.key) 19:41:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:41:55 + git semver init 19:41:55 # -> Open(): unable to determine branch for HEAD 19:41:55 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-133/.git 19:41:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-133 19:41:55 # $SEMVER_REMOTE_NAME = origin 19:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:41:55 # $SEMVER_USER_NAME = edgex-jenkins 19:41:55 # $SEMVER_BRANCH = PR-133 19:41:55 # $SEMVER_TEMP = /tmp/semver-624203539 19:41:55 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:41:56 # '/tmp/semver-624203539' -> '/w/workspace/gexfoundry_device-rest-go_PR-133/.semver' 19:41:56 # -> Force: false 19:41:56 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-133/.semver [Pipeline] } 19:41:56 $ docker exec --env ******** --env ******** 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent -k 19:41:56 unset SSH_AUTH_SOCK; 19:41:56 unset SSH_AGENT_PID; 19:41:56 echo Agent pid 61 killed; 19:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:41:56 + git semver [Pipeline] } 19:41:56 $ docker stop --time=1 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 19:41:58 $ docker rm -f 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 [Pipeline] // withDockerContainer [Pipeline] sh 19:41:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:41:58 Stashed 1 file(s) [Pipeline] echo 19:41:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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 19:42:14 Still waiting to schedule task 19:42:14 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-269’ 19:42:14 Still waiting to schedule task 19:42:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:44:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-270 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] ws 19:44:39 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:44:40 The recommended git tool is: git 19:44:46 using credential edgex-jenkins-ssh 19:44:46 Cloning the remote Git repository 19:44:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:44:46 > git init /w/workspace/device-rest-go/1 # timeout=10 19:44:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:44:46 > git --version # timeout=10 19:44:46 > git --version # 'git version 2.17.1' 19:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:44:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:44:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:44:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:44:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:44:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:44:49 Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 19:44:49 Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 19:44:49 Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) 19:44:49 > git config core.sparsecheckout # timeout=10 19:44:49 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 19:44:49 > git remote # timeout=10 19:44:49 > git config --get remote.origin.url # timeout=10 19:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:49 > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 19:44:49 > git rev-parse HEAD^{commit} # timeout=10 19:44:49 > git config core.sparsecheckout # timeout=10 19:44:49 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 19:44:53 Commit message: "fix: remove the code: condition that is always true" 19:44:53 > git --version # timeout=10 19:44:53 > git --version # 'git version 2.17.1' 19:44:53 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:44:54 provisioning config files... 19:44:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9163443190960939119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:44:55 ---> docker-login.sh 19:44:55 nexus3.edgexfoundry.org:10001 19:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:57 Configure a credential helper to remove this warning. See 19:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:57 19:44:57 Login Succeeded 19:44:57 nexus3.edgexfoundry.org:10002 19:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:57 Configure a credential helper to remove this warning. See 19:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:57 19:44:57 Login Succeeded 19:44:57 nexus3.edgexfoundry.org:10003 19:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:58 Configure a credential helper to remove this warning. See 19:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:58 19:44:58 Login Succeeded 19:44:58 nexus3.edgexfoundry.org:10004 19:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:59 Configure a credential helper to remove this warning. See 19:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:59 19:44:59 Login Succeeded 19:44:59 docker.io 19:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:59 Configure a credential helper to remove this warning. See 19:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:59 19:44:59 Login Succeeded 19:44:59 ---> docker-login.sh ends [Pipeline] } 19:45:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:45:00 ========================================================= 19:45:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:45:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:45:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 19:45:01 Sending build context to Docker daemon 119.8kB 19:45:01 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 19:45:01 Step 2/12 : FROM ${BASE} AS builder 19:45:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:45:02 595b0fe564bb: Pulling fs layer 19:45:02 24495759ef45: Pulling fs layer 19:45:02 d148012ef14d: Pulling fs layer 19:45:02 e90a11edd702: Pulling fs layer 19:45:02 d77568369979: Pulling fs layer 19:45:02 fc1c9f9a7f3b: Pulling fs layer 19:45:02 170f2ba95c9a: Pulling fs layer 19:45:02 97ac5df62f85: Pulling fs layer 19:45:02 d77568369979: Waiting 19:45:02 fc1c9f9a7f3b: Waiting 19:45:02 170f2ba95c9a: Waiting 19:45:02 97ac5df62f85: Waiting 19:45:02 e90a11edd702: Waiting 19:45:02 d148012ef14d: Verifying Checksum 19:45:02 d148012ef14d: Download complete 19:45:02 24495759ef45: Verifying Checksum 19:45:02 24495759ef45: Download complete 19:45:02 d77568369979: Verifying Checksum 19:45:02 d77568369979: Download complete 19:45:02 595b0fe564bb: Verifying Checksum 19:45:02 595b0fe564bb: Download complete 19:45:02 fc1c9f9a7f3b: Download complete 19:45:02 170f2ba95c9a: Verifying Checksum 19:45:02 170f2ba95c9a: Download complete 19:45:03 595b0fe564bb: Pull complete 19:45:04 24495759ef45: Pull complete 19:45:04 d148012ef14d: Pull complete 19:45:06 97ac5df62f85: Verifying Checksum 19:45:06 97ac5df62f85: Download complete 19:45:07 e90a11edd702: Verifying Checksum 19:45:07 e90a11edd702: Download complete 19:45:08 Running on prd-centos7-docker-4c-2g-271 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] ws 19:45:08 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:45:08 The recommended git tool is: git 19:45:11 using credential edgex-jenkins-ssh 19:45:11 Cloning the remote Git repository 19:45:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:45:11 > git init /w/workspace/device-rest-go/1 # timeout=10 19:45:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:45:11 > git --version # timeout=10 19:45:11 > git --version # 'git version 2.24.4' 19:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:11 [INFO] Currently running in a labeled security context 19:45:11 [INFO] Currently SELinux is 'enforcing' on the host 19:45:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5670451210089978358.key 19:45:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:45:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:45:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:45:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:45:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:45:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:12 [INFO] Currently running in a labeled security context 19:45:12 [INFO] Currently SELinux is 'enforcing' on the host 19:45:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1343499729229616888.key 19:45:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:45:13 Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 19:45:13 Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 19:45:13 Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) 19:45:13 > git config core.sparsecheckout # timeout=10 19:45:13 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 19:45:13 > git remote # timeout=10 19:45:13 > git config --get remote.origin.url # timeout=10 19:45:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:13 [INFO] Currently running in a labeled security context 19:45:13 [INFO] Currently SELinux is 'enforcing' on the host 19:45:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6995167523953665170.key 19:45:13 > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 19:45:13 > git rev-parse HEAD^{commit} # timeout=10 19:45:13 > git config core.sparsecheckout # timeout=10 19:45:13 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 19:45:17 Commit message: "fix: remove the code: condition that is always true" 19:45:17 > git --version # timeout=10 19:45:17 > git --version # 'git version 2.24.4' 19:45:17 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:45:17 e90a11edd702: Pull complete 19:45:17 d77568369979: Pull complete 19:45:17 fc1c9f9a7f3b: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:17 provisioning config files... 19:45:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config354043574369928382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:18 170f2ba95c9a: Pull complete 19:45:18 ---> docker-login.sh 19:45:18 nexus3.edgexfoundry.org:10001 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 nexus3.edgexfoundry.org:10002 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 nexus3.edgexfoundry.org:10003 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 nexus3.edgexfoundry.org:10004 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 docker.io 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:19 Configure a credential helper to remove this warning. See 19:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:19 19:45:19 Login Succeeded 19:45:19 ---> docker-login.sh ends [Pipeline] } 19:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:45:19 ========================================================= 19:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:45:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 19:45:20 Sending build context to Docker daemon 119.8kB 19:45:20 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 19:45:20 Step 2/12 : FROM ${BASE} AS builder 19:45:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:45:20 540db60ca938: Pulling fs layer 19:45:20 adcc1eea9eea: Pulling fs layer 19:45:20 4c4ab2625f07: Pulling fs layer 19:45:20 db62176df00c: Pulling fs layer 19:45:20 3b30891b0d05: Pulling fs layer 19:45:20 06b49ca38bd5: Pulling fs layer 19:45:20 c788192a36de: Pulling fs layer 19:45:20 a77e37c0d609: Pulling fs layer 19:45:20 c3185cebc471: Pulling fs layer 19:45:20 db62176df00c: Waiting 19:45:20 3b30891b0d05: Waiting 19:45:20 06b49ca38bd5: Waiting 19:45:20 c788192a36de: Waiting 19:45:20 a77e37c0d609: Waiting 19:45:20 c3185cebc471: Waiting 19:45:20 4c4ab2625f07: Verifying Checksum 19:45:20 4c4ab2625f07: Download complete 19:45:20 adcc1eea9eea: Verifying Checksum 19:45:20 adcc1eea9eea: Download complete 19:45:20 3b30891b0d05: Verifying Checksum 19:45:20 3b30891b0d05: Download complete 19:45:20 06b49ca38bd5: Verifying Checksum 19:45:20 06b49ca38bd5: Download complete 19:45:20 c788192a36de: Verifying Checksum 19:45:20 c788192a36de: Download complete 19:45:20 540db60ca938: Verifying Checksum 19:45:20 540db60ca938: Download complete 19:45:20 540db60ca938: Pull complete 19:45:20 adcc1eea9eea: Pull complete 19:45:20 4c4ab2625f07: Pull complete 19:45:21 a77e37c0d609: Verifying Checksum 19:45:21 a77e37c0d609: Download complete 19:45:24 c3185cebc471: Verifying Checksum 19:45:24 c3185cebc471: Download complete 19:45:24 db62176df00c: Download complete 19:45:24 97ac5df62f85: Pull complete 19:45:24 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:45:24 ---> 04bc70af865f 19:45:24 Step 3/12 : ARG MAKE='make build' 19:45:28 db62176df00c: Pull complete 19:45:28 3b30891b0d05: Pull complete 19:45:28 06b49ca38bd5: Pull complete 19:45:28 c788192a36de: Pull complete 19:45:28 a77e37c0d609: Pull complete 19:45:29 ---> Running in a32727a2831c 19:45:29 Removing intermediate container a32727a2831c 19:45:29 ---> 8a9070fa5a10 19:45:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:45:29 ---> Running in 7e6239045e53 19:45:29 Removing intermediate container 7e6239045e53 19:45:29 ---> a2962be5329b 19:45:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:45:29 ---> Running in 8315289c36c3 19:45:30 Removing intermediate container 8315289c36c3 19:45:30 ---> 73f636b4d485 19:45:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:45:30 ---> Running in ed299d0703d6 19:45:30 c3185cebc471: Pull complete 19:45:30 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:45:30 ---> 031687cdd783 19:45:30 Step 3/12 : ARG MAKE='make build' 19:45:32 ---> Running in 65d7c79dec25 19:45:32 Removing intermediate container 65d7c79dec25 19:45:32 ---> 5433d26ec409 19:45:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:45:32 ---> Running in 21415ec41f90 19:45:32 Removing intermediate container 21415ec41f90 19:45:32 ---> 2e2f3552b57a 19:45:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:45:32 ---> Running in a4571950a92c 19:45:32 Removing intermediate container a4571950a92c 19:45:32 ---> f5f58f2a76a8 19:45:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:45:32 ---> Running in 48a84a61577b 19:45:32 Removing intermediate container 48a84a61577b 19:45:32 ---> 1ade5e7fadff 19:45:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:45:32 ---> Running in 1a7865fa1136 19:45:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:45:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:45:33 Removing intermediate container ed299d0703d6 19:45:33 ---> 79b6d01a8704 19:45:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:45:33 ---> Running in 7f1276c9685b 19:45:34 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:45:34 (2/3) Installing libedit (20191231.3.1-r1) 19:45:34 (3/3) Installing openssh-client (8.4_p1-r3) 19:45:34 Executing busybox-1.32.1-r6.trigger 19:45:34 OK: 223 MiB in 55 packages 19:45:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:45:35 Removing intermediate container 1a7865fa1136 19:45:35 ---> d311e79d1c79 19:45:35 Step 8/12 : WORKDIR /device-rest-go 19:45:35 ---> Running in 486abe3d930b 19:45:35 Removing intermediate container 486abe3d930b 19:45:35 ---> 359d7babf90d 19:45:35 Step 9/12 : COPY . . 19:45:35 ---> 294357c68d92 19:45:35 Step 10/12 : RUN go mod tidy 19:45:35 ---> Running in c6432bae8cb6 19:45:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:45:36 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:45:36 (2/3) Installing libedit (20191231.3.1-r1) 19:45:36 (3/3) Installing openssh-client (8.4_p1-r3) 19:45:37 Executing busybox-1.32.1-r6.trigger 19:45:37 OK: 222 MiB in 55 packages 19:45:37 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 19:45:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:45:37 go: downloading github.com/gorilla/mux v1.8.0 19:45:37 go: downloading github.com/spf13/cast v1.4.1 19:45:37 go: downloading github.com/stretchr/testify v1.7.0 19:45:37 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:45:37 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:45:37 go: downloading github.com/google/uuid v1.2.0 19:45:37 go: downloading github.com/go-kit/kit v0.9.0 19:45:37 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:45:37 go: downloading github.com/davecgh/go-spew v1.1.1 19:45:37 go: downloading github.com/pmezard/go-difflib v1.0.0 19:45:37 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:45:37 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:45:37 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:45:38 go: downloading github.com/pelletier/go-toml v1.9.2 19:45:38 go: downloading gopkg.in/yaml.v2 v2.4.0 19:45:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:45:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:45:38 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:45:38 go: downloading github.com/go-playground/universal-translator v0.17.0 19:45:38 go: downloading github.com/leodido/go-urn v1.2.0 19:45:38 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:45:38 go: downloading golang.org/x/text v0.3.2 19:45:38 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:45:38 go: downloading github.com/go-playground/locales v0.13.0 19:45:38 Removing intermediate container 7f1276c9685b 19:45:38 ---> bb5cb68ba498 19:45:38 Step 8/12 : WORKDIR /device-rest-go 19:45:39 ---> Running in 6cbb01289117 19:45:39 Removing intermediate container 6cbb01289117 19:45:39 ---> 65bfdc614f22 19:45:39 Step 9/12 : COPY . . 19:45:39 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:45:39 go: downloading github.com/go-stack/stack v1.8.0 19:45:39 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:45:39 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:45:39 go: downloading github.com/hashicorp/consul/api v1.8.1 19:45:39 go: downloading github.com/x448/float16 v0.8.4 19:45:39 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:45:39 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:45:39 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:45:39 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:45:39 go: downloading github.com/pebbe/zmq4 v1.2.7 19:45:39 go: downloading github.com/stretchr/objx v0.1.0 19:45:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:45:39 go: downloading github.com/kr/pretty v0.2.0 19:45:39 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:45:39 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:45:39 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:45:39 go: downloading github.com/hashicorp/serf v0.9.5 19:45:39 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:45:39 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:45:39 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:45:39 go: downloading github.com/gorilla/websocket v1.4.2 19:45:39 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:45:39 go: downloading github.com/onsi/ginkgo v1.10.1 19:45:39 go: downloading github.com/onsi/gomega v1.7.0 19:45:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:45:40 go: downloading github.com/mitchellh/copystructure v1.0.0 19:45:40 go: downloading github.com/kr/text v0.1.0 19:45:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:45:40 go: downloading github.com/fatih/color v1.9.0 19:45:40 go: downloading github.com/mattn/go-colorable v0.1.6 19:45:40 go: downloading github.com/mattn/go-isatty v0.0.12 19:45:40 go: downloading github.com/pkg/errors v0.8.1 19:45:40 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:45:40 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:45:40 go: downloading github.com/hashicorp/memberlist v0.2.2 19:45:40 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:45:40 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:45:40 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:45:40 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:45:40 ---> 52b728edd896 19:45:40 Step 10/12 : RUN go mod tidy 19:45:40 go: downloading github.com/hpcloud/tail v1.0.0 19:45:40 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:45:40 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:45:40 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:45:40 go: downloading github.com/miekg/dns v1.1.26 19:45:40 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:45:40 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:45:40 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:45:40 go: downloading github.com/hashicorp/errwrap v1.0.0 19:45:40 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:45:40 ---> Running in 0e578c6bcf74 19:45:43 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 19:45:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:45:43 go: downloading github.com/gorilla/mux v1.8.0 19:45:43 go: downloading github.com/spf13/cast v1.4.1 19:45:43 go: downloading github.com/stretchr/testify v1.7.0 19:45:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:45:43 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:45:43 go: downloading github.com/google/uuid v1.2.0 19:45:43 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:45:43 go: downloading github.com/go-kit/kit v0.9.0 19:45:44 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:45:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:45:44 go: downloading github.com/pelletier/go-toml v1.9.2 19:45:44 go: downloading gopkg.in/yaml.v2 v2.4.0 19:45:44 go: downloading github.com/davecgh/go-spew v1.1.1 19:45:44 go: downloading github.com/pmezard/go-difflib v1.0.0 19:45:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:45:44 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:45:44 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:45:44 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:45:44 go: downloading github.com/go-playground/universal-translator v0.17.0 19:45:44 go: downloading github.com/leodido/go-urn v1.2.0 19:45:44 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:45:44 go: downloading golang.org/x/text v0.3.2 19:45:44 Removing intermediate container c6432bae8cb6 19:45:44 ---> 37f4ed75a5e0 19:45:44 Step 11/12 : RUN make update 19:45:44 ---> Running in abdb8e3ef07e 19:45:44 CGO_ENABLED=0 GO111MODULE=on go mod download 19:45:44 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:45:44 go: downloading github.com/go-playground/locales v0.13.0 19:45:47 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:45:47 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:45:47 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:45:47 go: downloading github.com/go-stack/stack v1.8.0 19:45:47 go: downloading github.com/hashicorp/consul/api v1.8.1 19:45:47 go: downloading github.com/x448/float16 v0.8.4 19:45:47 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:45:47 go: downloading github.com/stretchr/objx v0.1.0 19:45:47 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:45:48 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:45:48 go: downloading github.com/pebbe/zmq4 v1.2.7 19:45:48 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:45:48 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:45:48 go: downloading github.com/kr/pretty v0.2.0 19:45:48 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:45:48 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:45:48 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:45:48 go: downloading github.com/hashicorp/serf v0.9.5 19:45:48 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:45:48 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:45:48 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:45:48 go: downloading github.com/gorilla/websocket v1.4.2 19:45:48 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:45:48 go: downloading github.com/onsi/ginkgo v1.10.1 19:45:48 go: downloading github.com/onsi/gomega v1.7.0 19:45:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:45:48 go: downloading github.com/mitchellh/copystructure v1.0.0 19:45:48 go: downloading github.com/kr/text v0.1.0 19:45:48 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:45:48 go: downloading github.com/fatih/color v1.9.0 19:45:48 go: downloading github.com/mattn/go-colorable v0.1.6 19:45:48 go: downloading github.com/mattn/go-isatty v0.0.12 19:45:48 go: downloading github.com/pkg/errors v0.8.1 19:45:49 Removing intermediate container abdb8e3ef07e 19:45:49 ---> c5af0348ff4f 19:45:49 Step 12/12 : RUN $MAKE 19:45:49 ---> Running in 16327be37eb7 19:45:49 noop 19:45:49 Removing intermediate container 16327be37eb7 19:45:49 ---> 447b06f61be8 19:45:49 Successfully built 447b06f61be8 19:45:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:45:49 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:45:49 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:45:49 go: downloading github.com/hashicorp/memberlist v0.2.2 19:45:49 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:45:49 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:45:49 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:45:49 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:45:49 + docker inspect -f . ci-base-image-x86_64 19:45:49 . 19:45:49 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:45:49 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:45:49 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:45:49 go: downloading github.com/miekg/dns v1.1.26 19:45:49 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:45:49 go: downloading github.com/hpcloud/tail v1.0.0 19:45:49 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:45:49 go: downloading github.com/hashicorp/errwrap v1.0.0 [Pipeline] withDockerContainer 19:45:49 prd-centos7-docker-4c-2g-271 does not seem to be running inside a container 19:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:45:49 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:45:49 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:45:49 $ docker top 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:45:50 + go version 19:45:50 go version go1.16.6 linux/amd64 [Pipeline] } 19:45:50 $ docker stop --time=1 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 19:45:51 $ docker rm -f 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:45:52 + docker inspect -f . ci-base-image-x86_64 19:45:52 . [Pipeline] withDockerContainer 19:45:52 prd-centos7-docker-4c-2g-271 does not seem to be running inside a container 19:45:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:45:53 $ docker top b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:45:53 + go mod tidy [Pipeline] sh 19:45:54 + make test 19:45:54 go mod tidy 19:45:54 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:45:54 ? github.com/edgexfoundry/device-rest-go [no test files] 19:46:04 Removing intermediate container 0e578c6bcf74 19:46:04 ---> c457e59c9983 19:46:04 Step 11/12 : RUN make update 19:46:04 ---> Running in e198ffb9e510 19:46:04 CGO_ENABLED=0 GO111MODULE=on go mod download 19:46:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:46:10 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 19:46:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:46:13 Removing intermediate container e198ffb9e510 19:46:13 ---> 316030db7b7f 19:46:13 Step 12/12 : RUN $MAKE 19:46:13 ---> Running in 5e7da5432ad8 19:46:14 noop 19:46:15 Removing intermediate container 5e7da5432ad8 19:46:15 ---> ce4be82a388c 19:46:15 Successfully built ce4be82a388c 19:46:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:46:15 + docker inspect -f . ci-base-image-arm64 19:46:15 . [Pipeline] withDockerContainer 19:46:16 prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container 19:46:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:46:17 gofmt -l . 19:46:17 [ "`gofmt -l .`" = "" ] 19:46:17 ./bin/test-go-mod-tidy.sh 19:46:17 ./bin/test-attribution-txt.sh 19:46:18 $ docker top e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf -eo pid,comm [Pipeline] { [Pipeline] } 19:46:18 $ docker stop --time=1 b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 19:46:20 $ docker rm -f b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 19:46:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:46:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 19:46:20 + go version 19:46:20 go version go1.16.6 linux/arm64 [Pipeline] // stage [Pipeline] } 19:46:21 $ docker stop --time=1 e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf 19:46:23 $ docker rm -f e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:46:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:46:25 + docker inspect -f . ci-base-image-arm64 19:46:25 . [Pipeline] withDockerContainer 19:46:26 + ls -al . 19:46:26 total 116 19:46:26 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 15 19:46 . 19:46:26 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 19:45 .. 19:46:26 -rw-rw-r--. 1 jenkins jenkins 6792 Sep 15 19:45 Attribution.txt 19:46:26 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 19:45 bin 19:46:26 -rw-rw-r--. 1 jenkins jenkins 7459 Sep 15 19:45 CHANGELOG.md 19:46:26 drwxrwxr-x. 3 jenkins jenkins 32 Sep 15 19:45 cmd 19:46:26 -rw-r--r--. 1 jenkins jenkins 8435 Sep 15 19:46 coverage.out 19:46:26 -rw-rw-r--. 1 jenkins jenkins 1615 Sep 15 19:45 Dockerfile 19:46:26 -rw-rw-r--. 1 jenkins jenkins 151 Sep 15 19:45 .dockerignore 19:46:26 drwxrwxr-x. 2 jenkins jenkins 76 Sep 15 19:45 driver 19:46:26 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 19:45 .git 19:46:26 drwxrwxr-x. 2 jenkins jenkins 103 Sep 15 19:45 .github 19:46:26 -rw-rw-r--. 1 jenkins jenkins 336 Sep 15 19:45 .gitignore 19:46:26 -rw-r--r--. 1 jenkins jenkins 271 Sep 15 19:46 go.mod 19:46:26 -rw-r--r--. 1 jenkins jenkins 20570 Sep 15 19:45 go.sum 19:46:26 -rw-rw-r--. 1 jenkins jenkins 677 Sep 15 19:45 GOVERNANCE.md 19:46:26 -rw-rw-r--. 1 jenkins jenkins 680 Sep 15 19:45 Jenkinsfile 19:46:26 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 15 19:45 LICENSE 19:46:26 -rw-rw-r--. 1 jenkins jenkins 996 Sep 15 19:45 Makefile 19:46:26 -rw-rw-r--. 1 jenkins jenkins 620 Sep 15 19:45 OWNERS.md 19:46:26 -rw-rw-r--. 1 jenkins jenkins 7661 Sep 15 19:45 README.md 19:46:26 drwxrwxr-x. 4 jenkins jenkins 71 Sep 15 19:45 snap 19:46:26 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 19:41 VERSION 19:46:26 -rw-rw-r--. 1 jenkins jenkins 713 Sep 15 19:45 version.go 19:46:26 prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container 19:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:46:27 $ docker top a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 19:46:28 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 --label arch=amd64 --label version=0.0.0 . 19:46:28 Sending build context to Docker daemon 129kB 19:46:28 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 19:46:28 Step 2/25 : FROM ${BASE} AS builder 19:46:28 ---> 447b06f61be8 19:46:28 Step 3/25 : ARG MAKE='make build' 19:46:28 ---> Running in 20dee728d791 19:46:28 Removing intermediate container 20dee728d791 19:46:28 ---> 302b48675fbb 19:46:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:46:28 ---> Running in 81751e6227b4 19:46:29 + go mod tidy 19:46:29 Removing intermediate container 81751e6227b4 19:46:29 ---> 1a8163ca4ce6 19:46:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:46:29 ---> Running in 64100b2aaa58 19:46:29 Removing intermediate container 64100b2aaa58 19:46:29 ---> 0cfc719cf662 19:46:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:46:29 ---> Running in 03cfba8af5aa [Pipeline] sh 19:46:29 Removing intermediate container 03cfba8af5aa 19:46:29 ---> 585b8fe71b02 19:46:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:46:29 ---> Running in 4e03621f9095 19:46:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:46:30 + make test 19:46:30 go mod tidy 19:46:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:46:30 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:46:31 OK: 223 MiB in 55 packages 19:46:31 Removing intermediate container 4e03621f9095 19:46:31 ---> fb7c6058d480 19:46:31 Step 8/25 : WORKDIR /device-rest-go 19:46:31 ---> Running in 9e018fe7c656 19:46:31 Removing intermediate container 9e018fe7c656 19:46:31 ---> 37ebcdc013a3 19:46:31 Step 9/25 : COPY . . 19:46:31 ---> 95b03c8fccf5 19:46:31 Step 10/25 : RUN go mod tidy 19:46:31 ---> Running in 3579518b0348 19:46:31 ? github.com/edgexfoundry/device-rest-go [no test files] 19:46:32 Removing intermediate container 3579518b0348 19:46:32 ---> 3d4a2a39e851 19:46:32 Step 11/25 : RUN make update 19:46:32 ---> Running in 5412746f1f58 19:46:32 CGO_ENABLED=0 GO111MODULE=on go mod download 19:46:33 Removing intermediate container 5412746f1f58 19:46:33 ---> 68dfcbd779b7 19:46:33 Step 12/25 : RUN $MAKE 19:46:33 ---> Running in 2fd0c5042c31 19:46:33 go mod tidy 19:46:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 19:46:45 Removing intermediate container 2fd0c5042c31 19:46:45 ---> dd66bb98bf3b 19:46:45 Step 13/25 : FROM alpine:3.12 19:46:45 3.12: Pulling from library/alpine 19:46:45 e519532ddf75: Pulling fs layer 19:46:45 e519532ddf75: Verifying Checksum 19:46:45 e519532ddf75: Download complete 19:46:45 e519532ddf75: Pull complete 19:46:45 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 19:46:45 Status: Downloaded newer image for alpine:3.12 19:46:45 ---> 48b8ec4ed9eb 19:46:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:46:45 ---> Running in 4fcad9a2c5cf 19:46:45 Removing intermediate container 4fcad9a2c5cf 19:46:45 ---> b755758cc8f7 19:46:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:46:45 ---> Running in b2516bb32a11 19:46:45 Removing intermediate container b2516bb32a11 19:46:45 ---> 0e8a42c1abe5 19:46:45 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:46:45 ---> Running in 42872112448d 19:46:46 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:46:46 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:46:46 (1/6) Installing dumb-init (1.2.2-r1) 19:46:46 (2/6) Installing libgcc (9.3.0-r2) 19:46:46 (3/6) Installing libsodium (1.0.18-r0) 19:46:46 (4/6) Installing libstdc++ (9.3.0-r2) 19:46:46 (5/6) Installing libzmq (4.3.3-r0) 19:46:46 (6/6) Installing zeromq (4.3.3-r0) 19:46:46 Executing busybox-1.31.1-r20.trigger 19:46:46 OK: 8 MiB in 20 packages 19:46:46 Removing intermediate container 42872112448d 19:46:46 ---> 7b3ffa0d57b5 19:46:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:46:47 ---> 846b9567d455 19:46:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:46:47 ---> e59bd912b8bf 19:46:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:46:47 ---> 9ecdf50abca1 19:46:47 Step 20/25 : EXPOSE 59986 19:46:47 ---> Running in 23aafc3c1869 19:46:47 Removing intermediate container 23aafc3c1869 19:46:47 ---> d80fcc872e17 19:46:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:46:47 ---> Running in 3aed2732cae6 19:46:47 Removing intermediate container 3aed2732cae6 19:46:47 ---> d273075eae65 19:46:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:46:47 ---> Running in dcdf098a2df4 19:46:47 Removing intermediate container dcdf098a2df4 19:46:47 ---> 4b25b42cd4e8 19:46:47 Step 23/25 : LABEL arch=amd64 19:46:47 ---> Running in f99c3901f7b3 19:46:47 Removing intermediate container f99c3901f7b3 19:46:47 ---> ed5f90f49530 19:46:47 Step 24/25 : LABEL git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 19:46:47 ---> Running in 3643f0a51a84 19:46:47 Removing intermediate container 3643f0a51a84 19:46:47 ---> e2ef19fb74bc 19:46:47 Step 25/25 : LABEL version=0.0.0 19:46:47 ---> Running in f5e1dcf0d3d2 19:46:48 Removing intermediate container f5e1dcf0d3d2 19:46:48 ---> 8a96984544cf 19:46:48 [Warning] One or more build-args [ARCH] were not consumed 19:46:48 Successfully built 8a96984544cf 19:46:48 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:46:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:49 19:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:46:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:49 latest: Pulling from edgex-lftools-log-publisher 19:46:49 b4d181a07f80: Pulling fs layer 19:46:49 a1111a8f2ec3: Pulling fs layer 19:46:49 ed53099fbce6: Pulling fs layer 19:46:49 dc539afda2c1: Pulling fs layer 19:46:49 77bc0d833cb6: Pulling fs layer 19:46:49 9065ff56babe: Pulling fs layer 19:46:49 d287ab97295c: Pulling fs layer 19:46:49 dc539afda2c1: Waiting 19:46:49 77bc0d833cb6: Waiting 19:46:49 9065ff56babe: Waiting 19:46:49 d287ab97295c: Waiting 19:46:49 a1111a8f2ec3: Verifying Checksum 19:46:49 a1111a8f2ec3: Download complete 19:46:50 dc539afda2c1: Verifying Checksum 19:46:50 dc539afda2c1: Download complete 19:46:50 77bc0d833cb6: Verifying Checksum 19:46:50 77bc0d833cb6: Download complete 19:46:50 ed53099fbce6: Verifying Checksum 19:46:50 ed53099fbce6: Download complete 19:46:50 9065ff56babe: Verifying Checksum 19:46:50 9065ff56babe: Download complete 19:46:51 b4d181a07f80: Verifying Checksum 19:46:51 b4d181a07f80: Download complete 19:46:52 b4d181a07f80: Pull complete 19:46:52 a1111a8f2ec3: Pull complete 19:46:52 ed53099fbce6: Pull complete 19:46:53 dc539afda2c1: Pull complete 19:46:53 77bc0d833cb6: Pull complete 19:46:53 9065ff56babe: Pull complete 19:46:54 d287ab97295c: Verifying Checksum 19:46:54 d287ab97295c: Download complete 19:46:59 d287ab97295c: Pull complete 19:46:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:46:59 prd-centos7-docker-4c-2g-271 does not seem to be running inside a container 19:46:59 $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:47:01 $ docker top 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:02 ---> job-cost.sh 19:47:02 lf-activate-venv: SKIPPING 19:47:02 INFO: No Stack... 19:47:03 INFO: Retrieving Pricing Info for: v3-standard-2 19:47:03 INFO: Archiving Costs [Pipeline] sh 19:47:04 + cat /w/workspace/device-rest-go/1/archives/cost.csv 19:47:04 + cut -d, -f6 [Pipeline] lock 19:47:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] 19:47:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] did not exist. Created. 19:47:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:47:04 + echo total: 0.05999999865889549 [Pipeline] stash 19:47:04 Stashed 1 file(s) [Pipeline] } 19:47:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:47:04 $ docker stop --time=1 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 19:47:05 $ docker rm -f 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:47:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:47:28 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 53.8% of statements 19:47:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:47:55 gofmt -l . 19:47:55 [ "`gofmt -l .`" = "" ] 19:47:55 ./bin/test-go-mod-tidy.sh 19:47:55 ./bin/test-attribution-txt.sh [Pipeline] } 19:47:55 $ docker stop --time=1 a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e 19:47:57 $ docker rm -f a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e [Pipeline] // withDockerContainer [Pipeline] sh 19:47:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:47:58 Warning: overwriting stash ‘coverage-report’ 19:47:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:48:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:48:00 + ls -al . 19:48:00 total 144 19:48:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 19:47 . 19:48:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 19:44 .. 19:48:00 -rw-rw-r-- 1 jenkins jenkins 151 Sep 15 19:44 .dockerignore 19:48:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 19:44 .git 19:48:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 .github 19:48:00 -rw-rw-r-- 1 jenkins jenkins 336 Sep 15 19:44 .gitignore 19:48:00 -rw-rw-r-- 1 jenkins jenkins 6792 Sep 15 19:44 Attribution.txt 19:48:00 -rw-rw-r-- 1 jenkins jenkins 7459 Sep 15 19:44 CHANGELOG.md 19:48:00 -rw-rw-r-- 1 jenkins jenkins 1615 Sep 15 19:44 Dockerfile 19:48:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 19:44 GOVERNANCE.md 19:48:00 -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 19:44 Jenkinsfile 19:48:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 19:44 LICENSE 19:48:00 -rw-rw-r-- 1 jenkins jenkins 996 Sep 15 19:44 Makefile 19:48:00 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 19:44 OWNERS.md 19:48:00 -rw-rw-r-- 1 jenkins jenkins 7661 Sep 15 19:44 README.md 19:48:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 19:41 VERSION 19:48:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 bin 19:48:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 19:44 cmd 19:48:00 -rw-r--r-- 1 jenkins jenkins 8435 Sep 15 19:47 coverage.out 19:48:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 driver 19:48:00 -rw-r--r-- 1 jenkins jenkins 271 Sep 15 19:47 go.mod 19:48:00 -rw-r--r-- 1 jenkins jenkins 20570 Sep 15 19:46 go.sum 19:48:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 19:44 snap 19:48:00 -rw-rw-r-- 1 jenkins jenkins 713 Sep 15 19:44 version.go [Pipeline] isUnix [Pipeline] sh 19:48:00 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 --label arch=arm64 --label version=0.0.0 . 19:48:00 Sending build context to Docker daemon 129kB 19:48:01 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 19:48:01 Step 2/25 : FROM ${BASE} AS builder 19:48:01 ---> ce4be82a388c 19:48:01 Step 3/25 : ARG MAKE='make build' 19:48:01 ---> Running in bf757d19eb54 19:48:02 Removing intermediate container bf757d19eb54 19:48:02 ---> 7971c52ad4c9 19:48:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:48:02 ---> Running in a90da66e5712 19:48:02 Removing intermediate container a90da66e5712 19:48:02 ---> 4da4d1e99362 19:48:02 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:48:02 ---> Running in d30dd9cddb55 19:48:03 Removing intermediate container d30dd9cddb55 19:48:03 ---> 6e7e29d52072 19:48:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:48:03 ---> Running in ba3369aa6144 19:48:06 Removing intermediate container ba3369aa6144 19:48:06 ---> a5bc20f35d69 19:48:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:06 ---> Running in a5ab1f90e3ac 19:48:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:48:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:48:09 OK: 222 MiB in 55 packages 19:48:10 Removing intermediate container a5ab1f90e3ac 19:48:10 ---> 74be600897cf 19:48:10 Step 8/25 : WORKDIR /device-rest-go 19:48:10 ---> Running in 8572e7673099 19:48:10 Removing intermediate container 8572e7673099 19:48:10 ---> a44558ad771c 19:48:10 Step 9/25 : COPY . . 19:48:11 ---> 3d7f43cc85e2 19:48:11 Step 10/25 : RUN go mod tidy 19:48:11 ---> Running in 0985ae6afb28 19:48:14 Removing intermediate container 0985ae6afb28 19:48:14 ---> da68d4e189d8 19:48:14 Step 11/25 : RUN make update 19:48:14 ---> Running in 218630a22e3c 19:48:15 CGO_ENABLED=0 GO111MODULE=on go mod download 19:48:17 Removing intermediate container 218630a22e3c 19:48:17 ---> 4a40191cc337 19:48:17 Step 12/25 : RUN $MAKE 19:48:17 ---> Running in d94b7c22fe37 19:48:18 go mod tidy 19:48:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 19:48:58 Removing intermediate container d94b7c22fe37 19:48:58 ---> ba1f881507c7 19:48:58 Step 13/25 : FROM alpine:3.12 19:48:58 3.12: Pulling from library/alpine 19:48:58 ccdebe76d529: Pulling fs layer 19:48:58 ccdebe76d529: Verifying Checksum 19:48:58 ccdebe76d529: Download complete 19:48:58 ccdebe76d529: Pull complete 19:48:58 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 19:48:58 Status: Downloaded newer image for alpine:3.12 19:48:58 ---> afc2cc120ca2 19:48:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:48:58 ---> Running in c8a6a67eb4e0 19:48:58 Removing intermediate container c8a6a67eb4e0 19:48:58 ---> a377bf6624e1 19:48:58 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:48:58 ---> Running in 2731f36c1b75 19:48:58 Removing intermediate container 2731f36c1b75 19:48:58 ---> 36f1f2ac335a 19:48:58 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:48:58 ---> Running in df7e77168224 19:49:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:49:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:49:00 (1/6) Installing dumb-init (1.2.2-r1) 19:49:00 (2/6) Installing libgcc (9.3.0-r2) 19:49:00 (3/6) Installing libsodium (1.0.18-r0) 19:49:00 (4/6) Installing libstdc++ (9.3.0-r2) 19:49:00 (5/6) Installing libzmq (4.3.3-r0) 19:49:00 (6/6) Installing zeromq (4.3.3-r0) 19:49:00 Executing busybox-1.31.1-r20.trigger 19:49:00 OK: 8 MiB in 20 packages 19:49:03 Removing intermediate container df7e77168224 19:49:03 ---> f96d1bd67be1 19:49:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:49:05 ---> c492da579bd0 19:49:05 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:49:05 ---> 2fe92cc75873 19:49:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:49:06 ---> 291280de780c 19:49:06 Step 20/25 : EXPOSE 59986 19:49:06 ---> Running in b532eb259811 19:49:07 Removing intermediate container b532eb259811 19:49:07 ---> a34808ffeab7 19:49:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:49:07 ---> Running in 9ac89ff6617f 19:49:08 Removing intermediate container 9ac89ff6617f 19:49:08 ---> ef75aae2ce9f 19:49:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:49:08 ---> Running in 8a8c77b491f1 19:49:08 Removing intermediate container 8a8c77b491f1 19:49:08 ---> 6c2acafb6f36 19:49:08 Step 23/25 : LABEL arch=arm64 19:49:08 ---> Running in d262408b10ab 19:49:09 Removing intermediate container d262408b10ab 19:49:09 ---> 623c7217aaf7 19:49:09 Step 24/25 : LABEL git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 19:49:09 ---> Running in 2b9f63b92188 19:49:10 Removing intermediate container 2b9f63b92188 19:49:10 ---> adeaccade77a 19:49:10 Step 25/25 : LABEL version=0.0.0 19:49:10 ---> Running in ec1dd99bb9c9 19:49:10 Removing intermediate container ec1dd99bb9c9 19:49:10 ---> 778a0bdcae01 19:49:10 [Warning] One or more build-args [ARCH] were not consumed 19:49:10 Successfully built 778a0bdcae01 19:49:10 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:49:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:49:11 19:49:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:49:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:49:12 arm64: Pulling from edgex-lftools-log-publisher 19:49:12 448f6bf000e3: Pulling fs layer 19:49:12 f757da607395: Pulling fs layer 19:49:12 05883995daec: Pulling fs layer 19:49:12 8603b9c90790: Pulling fs layer 19:49:12 1560dd03e051: Pulling fs layer 19:49:12 27f5ce0e4adf: Pulling fs layer 19:49:12 c2d8d7efcc4b: Pulling fs layer 19:49:12 8603b9c90790: Waiting 19:49:12 1560dd03e051: Waiting 19:49:12 27f5ce0e4adf: Waiting 19:49:12 c2d8d7efcc4b: Waiting 19:49:12 f757da607395: Verifying Checksum 19:49:12 f757da607395: Download complete 19:49:12 8603b9c90790: Download complete 19:49:13 1560dd03e051: Verifying Checksum 19:49:13 1560dd03e051: Download complete 19:49:13 27f5ce0e4adf: Verifying Checksum 19:49:13 27f5ce0e4adf: Download complete 19:49:13 05883995daec: Verifying Checksum 19:49:13 05883995daec: Download complete 19:49:14 448f6bf000e3: Verifying Checksum 19:49:14 448f6bf000e3: Download complete 19:49:17 c2d8d7efcc4b: Verifying Checksum 19:49:17 c2d8d7efcc4b: Download complete 19:49:18 448f6bf000e3: Pull complete 19:49:19 f757da607395: Pull complete 19:49:20 05883995daec: Pull complete 19:49:20 8603b9c90790: Pull complete 19:49:21 1560dd03e051: Pull complete 19:49:22 27f5ce0e4adf: Pull complete 19:49:37 c2d8d7efcc4b: Pull complete 19:49:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:49:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:49:37 prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container 19:49:37 $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:49:42 $ docker top 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:43 ---> job-cost.sh 19:49:43 lf-activate-venv: SKIPPING 19:49:43 INFO: No Stack... 19:49:44 INFO: Retrieving Pricing Info for: v3-standard-4 19:49:44 INFO: Archiving Costs [Pipeline] sh 19:49:45 + cat /w/workspace/device-rest-go/1/archives/cost.csv 19:49:45 + cut -d, -f6 [Pipeline] lock 19:49:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] 19:49:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] did not exist. Created. 19:49:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:49:46 /w/workspace/device-rest-go/1@tmp/durable-76db5567/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-76db5567/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:49:47 + echo total: 0.10999999940395355 [Pipeline] stash 19:49:47 Warning: overwriting stash ‘stack-cost’ 19:49:47 Stashed 1 file(s) [Pipeline] } 19:49:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:49:47 $ docker stop --time=1 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb 19:49:49 $ docker rm -f 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:49:50 provisioning config files... 19:49:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config5318580835173960601tmp [Pipeline] { [Pipeline] sh 19:49:51 + set +x 19:49:51 + bash -s -- 19:49:51 + curl -s https://codecov.io/bash 19:49:51 19:49:51 _____ _ 19:49:51 / ____| | | 19:49:51 | | ___ __| | ___ ___ _____ __ 19:49:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:49:51 | |___| (_) | (_| | __/ (_| (_) \ V / 19:49:51 \_____\___/ \__,_|\___|\___\___/ \_/ 19:49:51 Bash-1.0.6 19:49:51 19:49:51 19:49:51 ==> git version 2.24.4 found 19:49:51 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 19:49:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:49:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:49:51 ==> Jenkins CI detected. 19:49:51 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-133 19:49:51 project root: . 19:49:51 --> token set from env 19:49:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:49:51 ==> Running gcov in . (disable via -X gcov) 19:49:51 ==> Python coveragepy not found 19:49:51 ==> Searching for coverage reports in: 19:49:51 + . 19:49:51 -> Found 1 reports 19:49:51 ==> Detecting git/mercurial file structure 19:49:51 ==> Reading reports 19:49:51 + ./coverage.out bytes=8435 19:49:51 ==> Appending adjustments 19:49:51 https://docs.codecov.io/docs/fixing-reports 19:49:51 + Found adjustments 19:49:51 ==> Gzipping contents 19:49:51 4.0K /tmp/codecov.sT3juj.gz 19:49:51 ==> Uploading reports 19:49:51 url: https://codecov.io 19:49:51 query: branch=PR-133&commit=4225c14ff004e9afc4b7363a3b422edff62f7f37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=133&job=&cmd_args= 19:49:51 -> Pinging Codecov 19:49:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-133&commit=4225c14ff004e9afc4b7363a3b422edff62f7f37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=133&job=&cmd_args= 19:49:51 -> Uploading to 19:49:51 https://storage.googleapis.com/codecov/v4/raw/2021-09-15/4E5D53B4F1F92C436F7061BF334D961C/4225c14ff004e9afc4b7363a3b422edff62f7f37/7c7baa09-1b9e-4efb-9eb6-8a49270a698d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210915T194951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a0a3c6692c463bb969d3463c9840f3d92ff3d0444ef9f4b1d68109e44980a56 19:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 19:49:51 Dload Upload Total Spent Left Speed 19:49:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 4450 --:--:-- --:--:-- --:--:-- 4454 19:49:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] } 19:49:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:49:54 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-133/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:49:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:49:55 ---> package-listing.sh 19:49:55 ++ tr '[:upper:]' '[:lower:]' 19:49:55 ++ facter osfamily 19:49:56 + OS_FAMILY=redhat 19:49:56 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-133 19:49:56 + START_PACKAGES=/tmp/packages_start.txt 19:49:56 + END_PACKAGES=/tmp/packages_end.txt 19:49:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:49:56 + PACKAGES=/tmp/packages_start.txt 19:49:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-133 ']' 19:49:56 + PACKAGES=/tmp/packages_end.txt 19:49:56 + case "${OS_FAMILY}" in 19:49:56 + rpm -qa 19:49:56 + sort 19:49:56 + '[' -f /tmp/packages_start.txt ']' 19:49:56 + '[' -f /tmp/packages_end.txt ']' 19:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:49:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-133 ']' 19:49:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-133/archives/ 19:49:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-133/archives/ [Pipeline] echo 19:49:56 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/gexfoundry_device-rest-go_PR-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:49:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:49:57 19:49:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:49:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:49:58 latest: Pulling from edgex-lftools-log-publisher 19:49:58 b4d181a07f80: Pulling fs layer 19:49:58 a1111a8f2ec3: Pulling fs layer 19:49:58 ed53099fbce6: Pulling fs layer 19:49:58 dc539afda2c1: Pulling fs layer 19:49:58 77bc0d833cb6: Pulling fs layer 19:49:58 9065ff56babe: Pulling fs layer 19:49:58 d287ab97295c: Pulling fs layer 19:49:58 dc539afda2c1: Waiting 19:49:58 77bc0d833cb6: Waiting 19:49:58 9065ff56babe: Waiting 19:49:58 d287ab97295c: Waiting 19:49:58 a1111a8f2ec3: Verifying Checksum 19:49:58 a1111a8f2ec3: Download complete 19:49:58 dc539afda2c1: Verifying Checksum 19:49:58 dc539afda2c1: Download complete 19:49:58 77bc0d833cb6: Verifying Checksum 19:49:58 77bc0d833cb6: Download complete 19:49:58 9065ff56babe: Verifying Checksum 19:49:58 9065ff56babe: Download complete 19:49:59 ed53099fbce6: Verifying Checksum 19:49:59 ed53099fbce6: Download complete 19:49:59 b4d181a07f80: Verifying Checksum 19:49:59 b4d181a07f80: Download complete 19:50:01 b4d181a07f80: Pull complete 19:50:01 a1111a8f2ec3: Pull complete 19:50:01 ed53099fbce6: Pull complete 19:50:01 dc539afda2c1: Pull complete 19:50:01 77bc0d833cb6: Pull complete 19:50:01 9065ff56babe: Pull complete 19:50:03 d287ab97295c: Verifying Checksum 19:50:03 d287ab97295c: Download complete 19:50:08 d287ab97295c: Pull complete 19:50:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:50:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:50:08 prd-centos7-docker-4c-2g-269 does not seem to be running inside a container 19:50:08 $ 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/gexfoundry_device-rest-go_PR-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-133 -v /w/workspace/gexfoundry_device-rest-go_PR-133:/w/workspace/gexfoundry_device-rest-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-133@tmp:/w/workspace/gexfoundry_device-rest-go_PR-133@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:50:11 $ docker top 2c91c24d43c1f3d8d7aa479b2e55d314fd8d84f008d30c34f02f4cd29eb62ff4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:50:11 + touch /tmp/pre-build-complete [Pipeline] sh 19:50:12 + mkdir -p /var/log/sysstat [Pipeline] sh 19:50:12 + ls /var/log/sa-host 19:50:12 + sadf -c /var/log/sa-host/sa05 19:50:12 file_magic: OK 19:50:12 HZ: Using current value: 100 19:50:12 file_header: OK 19:50:12 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 19:50:12 Statistics: 19:50:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:50:12 File successfully converted to sysstat format version 12.0.3 19:50:12 + sadf -c /var/log/sa-host/sa15 19:50:12 file_magic: OK 19:50:12 HZ: Using current value: 100 19:50:12 file_header: OK 19:50:12 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 19:50:12 Statistics: 19:50:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:50:12 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:50:12 provisioning config files... 19:50:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config1365585825792999900tmp [Pipeline] { [Pipeline] echo 19:50:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:50:13 ---> create-netrc.sh [Pipeline] } 19:50:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:50:13 ---> python-tools-install.sh [Pipeline] echo 19:50:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:50:14 ---> sudo-logs.sh 19:50:14 Archiving 'sudo' log.. 19:50:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-269.vexxhost.local: Name or service not known 19:50:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-269.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 19:50:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:50:14 ---> job-cost.sh 19:50:14 lf-activate-venv: SKIPPING 19:50:14 DEBUG: total: 0.10999999940395355 19:50:14 INFO: Retrieving Stack Cost... 19:50:15 INFO: Retrieving Pricing Info for: v3-standard-2 19:50:16 INFO: Archiving Costs [Pipeline] echo 19:50:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:50:16 ---> logs-deploy.sh 19:50:16 lf-activate-venv: SKIPPING 19:50:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-133/1 19:50:16 INFO: archiving workspace using pattern(s): 19:50:17 Archives upload complete. 19:50:17 INFO: archiving logs to Nexus 19:50:17 ---> uname -a: 19:50:17 Linux prd-centos7-docker-4c-2g-269.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 19:50:17 19:50:17 19:50:17 ---> lscpu: 19:50:17 Architecture: x86_64 19:50:17 CPU op-mode(s): 32-bit, 64-bit 19:50:17 Byte Order: Little Endian 19:50:17 Address sizes: 40 bits physical, 48 bits virtual 19:50:17 CPU(s): 2 19:50:17 On-line CPU(s) list: 0,1 19:50:17 Thread(s) per core: 1 19:50:17 Core(s) per socket: 1 19:50:17 Socket(s): 2 19:50:17 NUMA node(s): 1 19:50:17 Vendor ID: AuthenticAMD 19:50:17 CPU family: 23 19:50:17 Model: 49 19:50:17 Model name: AMD EPYC-Rome Processor 19:50:17 Stepping: 0 19:50:17 CPU MHz: 2799.998 19:50:17 BogoMIPS: 5599.99 19:50:17 Virtualization: AMD-V 19:50:17 Hypervisor vendor: KVM 19:50:17 Virtualization type: full 19:50:17 L1d cache: 32K 19:50:17 L1i cache: 32K 19:50:17 L2 cache: 512K 19:50:17 L3 cache: 16384K 19:50:17 NUMA node0 CPU(s): 0,1 19:50:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 19:50:17 19:50:17 19:50:17 ---> nproc: 19:50:17 2 19:50:17 19:50:17 19:50:17 ---> df -h: 19:50:17 Filesystem Size Used Avail Use% Mounted on 19:50:17 overlay 40G 7.7G 33G 20% / 19:50:17 tmpfs 64M 0 64M 0% /dev 19:50:17 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:50:17 shm 64M 0 64M 0% /dev/shm 19:50:17 /dev/vda1 40G 7.7G 33G 20% /facter-os 19:50:17 19:50:17 19:50:17 ---> sar -b -r -n DEV: 19:50:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 19:50:17 19:50:17 19:41:02 LINUX RESTART (2 CPU) 19:50:17 19:50:17 19:42:01 tps rtps wtps bread/s bwrtn/s 19:50:17 19:43:01 0.77 0.00 0.77 0.00 17.72 19:50:17 19:44:01 0.47 0.00 0.47 0.00 7.71 19:50:17 19:45:01 0.28 0.00 0.28 0.00 5.01 19:50:17 19:46:02 0.23 0.00 0.23 0.00 4.70 19:50:17 19:47:01 0.32 0.00 0.32 0.00 5.44 19:50:17 19:48:01 0.35 0.00 0.35 0.00 5.80 19:50:17 19:49:01 0.25 0.00 0.25 0.00 4.15 19:50:17 19:50:01 2.50 0.13 2.36 13.72 95.87 19:50:17 Average: 0.65 0.02 0.63 1.72 18.33 19:50:17 19:50:17 19:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:50:17 19:43:01 5461472 0 796820 9.95 2620 1748028 1224888 13.52 577636 1571992 12 19:50:17 19:44:01 5461248 0 797036 9.95 2620 1748036 1198308 13.23 582088 1568212 20 19:50:17 19:45:01 5459680 0 798604 9.97 2620 1748036 1198344 13.23 577664 1573828 20 19:50:17 19:46:02 5459120 0 799156 9.98 2620 1748044 1198684 13.23 577760 1574444 8 19:50:17 19:47:01 5459656 0 798616 9.97 2620 1748048 1198696 13.23 575048 1577060 8 19:50:17 19:48:01 5462372 0 795896 9.94 2620 1748052 1198264 13.23 572776 1577060 12 19:50:17 19:49:01 5455056 0 803204 10.03 2620 1748060 1198264 13.23 579636 1577060 8 19:50:17 19:50:01 5172296 0 906352 11.32 2620 1927672 1589656 17.55 800308 1614140 178884 19:50:17 Average: 5423862 0 811960 10.14 2620 1770497 1250638 13.81 605364 1579224 22372 19:50:17 19:50:17 19:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:50:17 19:43:01 eth0 0.35 0.13 0.02 0.05 0.00 0.00 0.00 0.00 19:50:17 19:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:44:01 eth0 2.98 1.07 3.00 0.07 0.00 0.00 0.00 0.00 19:50:17 19:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:45:01 eth0 1.55 0.42 0.59 0.32 0.00 0.00 0.00 0.00 19:50:17 19:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:46:02 eth0 1.28 0.48 0.57 0.39 0.00 0.00 0.00 0.00 19:50:17 19:46:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:47:01 eth0 0.78 0.56 0.45 0.28 0.00 0.00 0.00 0.00 19:50:17 19:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:48:01 eth0 0.08 0.05 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:49:01 eth0 0.45 0.10 0.04 0.01 0.00 0.00 0.00 0.00 19:50:17 19:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:50:01 eth0 261.79 162.73 1659.54 16.19 0.00 0.00 0.00 0.00 19:50:17 19:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 Average: eth0 33.74 20.74 208.57 2.17 0.00 0.00 0.00 0.00 19:50:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:50:17 19:50:17 19:50:17 ---> sar -P ALL: 19:50:17 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 19:50:17 19:50:17 19:41:02 LINUX RESTART (2 CPU) 19:50:17 19:50:17 19:42:01 CPU %user %nice %system %iowait %steal %idle 19:50:17 19:43:01 all 0.28 0.00 0.09 0.00 0.02 99.61 19:50:17 19:43:01 0 0.15 0.00 0.10 0.00 0.02 99.73 19:50:17 19:43:01 1 0.42 0.00 0.08 0.00 0.02 99.48 19:50:17 19:44:01 all 0.29 0.00 0.07 0.00 0.01 99.63 19:50:17 19:44:01 0 0.22 0.00 0.08 0.00 0.02 99.68 19:50:17 19:44:01 1 0.37 0.00 0.05 0.00 0.00 99.58 19:50:17 19:45:01 all 0.11 0.00 0.07 0.00 0.02 99.81 19:50:17 19:45:01 0 0.13 0.00 0.05 0.00 0.02 99.80 19:50:17 19:45:01 1 0.08 0.00 0.08 0.00 0.02 99.82 19:50:17 19:46:02 all 0.18 0.00 0.05 0.00 0.01 99.76 19:50:17 19:46:02 0 0.03 0.00 0.03 0.00 0.00 99.93 19:50:17 19:46:02 1 0.33 0.00 0.07 0.00 0.02 99.58 19:50:17 19:47:01 all 0.28 0.00 0.09 0.00 0.02 99.61 19:50:17 19:47:01 0 0.34 0.00 0.03 0.00 0.00 99.63 19:50:17 19:47:01 1 0.22 0.00 0.15 0.00 0.03 99.59 19:50:17 19:48:01 all 0.24 0.00 0.06 0.00 0.01 99.69 19:50:17 19:48:01 0 0.37 0.00 0.03 0.00 0.00 99.60 19:50:17 19:48:01 1 0.12 0.00 0.08 0.00 0.02 99.78 19:50:17 19:49:01 all 0.27 0.00 0.05 0.00 0.02 99.67 19:50:17 19:49:01 0 0.45 0.00 0.02 0.00 0.02 99.52 19:50:17 19:49:01 1 0.08 0.00 0.08 0.00 0.02 99.82 19:50:17 19:50:01 all 3.40 0.00 1.22 0.02 0.03 95.33 19:50:17 19:50:01 0 3.98 0.00 1.35 0.00 0.03 94.63 19:50:17 19:50:01 1 2.83 0.00 1.09 0.03 0.03 96.01 19:50:17 Average: all 0.63 0.00 0.21 0.00 0.02 99.14 19:50:17 Average: 0 0.71 0.00 0.21 0.00 0.01 99.07 19:50:17 Average: 1 0.55 0.00 0.21 0.00 0.02 99.21 19:50:17 19:50:17 19:50:17