Pull request #123 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 636a0f27b29777a0081062fbca3d09d91a061542+acb551efcb6a1b4088edd326f55b17ef654f475f (e166bb3183666f5882b2820f2a0c58dba5805a8b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6325820884350911506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5240138795386551121.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-123/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1753357162767305677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8983060490656298565.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-123/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6955789656112476095.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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_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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-338 in /w/workspace/gexfoundry_device-rest-go_PR-123 [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-123 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh3107223118757555875.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 636a0f27b29777a0081062fbca3d09d91a061542 Merge succeeded, producing 88213676cbac2bcff515b3931784db264769a1a1 Checking out Revision 88213676cbac2bcff515b3931784db264769a1a1 (PR-123) 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh2574413716363029036.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 636a0f27b29777a0081062fbca3d09d91a061542 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/jenkins-gitclient-ssh3485790229434976557.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88213676cbac2bcff515b3931784db264769a1a1 # timeout=10 Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk a7b00559475b4fe884a99a0c350b14c86e5101c5 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:39:04.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:39:04.779Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:39:04.811Z] ========================================================= [2021-06-27T07:39:04.812Z] EdgeX Global Pipelines Version Info [2021-06-27T07:39:04.812Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:39:06.236Z] ------------------- [2021-06-27T07:39:06.236Z] stable info: [2021-06-27T07:39:06.236Z] ------------------- [2021-06-27T07:39:06.236Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:39:06.236Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:39:06.236Z] Message: update stable to v1.0.195 [2021-06-27T07:39:06.836Z] ------------------- [2021-06-27T07:39:06.836Z] experimental info: [2021-06-27T07:39:06.836Z] ------------------- [2021-06-27T07:39:06.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:39:06.836Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:39:06.836Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:39:06.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-27T07:39:06.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-27T07:39:07.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:39:07.050Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:39:07.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:39:07.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:39:07.152Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:39:07.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:39:07.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:39:07.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:39:07.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:39:07.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-27T07:39:07.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:39:07.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:39:07.386Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:39:07.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:39:07.438Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:39:07.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:39:07.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:39:07.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:39:07.561Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:39:07.587Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:39:07.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:39:07.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:39:07.689Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:39:07.715Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:39:07.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:39:07.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:39:07.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2021-06-27T07:39:07.822Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88213676cbac2bcff515b3931784db264769a1a1 [Pipeline] echo [2021-06-27T07:39:07.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8821367 [Pipeline] echo [2021-06-27T07:39:07.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:39:07.962Z] provisioning config files... [2021-06-27T07:39:07.977Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config6075677628430383804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:39:08.291Z] ---> docker-login.sh [2021-06-27T07:39:08.291Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:39:08.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:08.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:08.553Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:08.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:08.553Z] [2021-06-27T07:39:08.553Z] Login Succeeded [2021-06-27T07:39:08.553Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:39:08.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:08.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:08.553Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:08.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:08.553Z] [2021-06-27T07:39:08.553Z] Login Succeeded [2021-06-27T07:39:08.553Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:39:08.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:08.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:08.814Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:08.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:08.814Z] [2021-06-27T07:39:08.814Z] Login Succeeded [2021-06-27T07:39:08.814Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:39:08.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:09.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:09.077Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:09.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:09.077Z] [2021-06-27T07:39:09.077Z] Login Succeeded [2021-06-27T07:39:09.077Z] docker.io [2021-06-27T07:39:09.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:09.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:09.344Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:09.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:09.344Z] [2021-06-27T07:39:09.344Z] Login Succeeded [2021-06-27T07:39:09.344Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:39:09.353Z] 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 [2021-06-27T07:39:09.871Z] + git log --format=format:%s -1 88213676cbac2bcff515b3931784db264769a1a1 [Pipeline] echo [2021-06-27T07:39:09.909Z] GIT_COMMIT: 88213676cbac2bcff515b3931784db264769a1a1, Commit Message: Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD [Pipeline] echo [2021-06-27T07:39:09.926Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:39:10.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:10.573Z] [2021-06-27T07:39:10.573Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:39:10.886Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:10.886Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:39:10.886Z] 31603596830f: Pulling fs layer [2021-06-27T07:39:10.886Z] 54011a49482f: Pulling fs layer [2021-06-27T07:39:10.886Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:39:10.886Z] f581987b2513: Pulling fs layer [2021-06-27T07:39:10.886Z] f581987b2513: Waiting [2021-06-27T07:39:10.886Z] 54011a49482f: Verifying Checksum [2021-06-27T07:39:10.886Z] 54011a49482f: Download complete [2021-06-27T07:39:11.155Z] 31603596830f: Verifying Checksum [2021-06-27T07:39:11.155Z] 31603596830f: Download complete [2021-06-27T07:39:11.155Z] f581987b2513: Verifying Checksum [2021-06-27T07:39:11.155Z] f581987b2513: Download complete [2021-06-27T07:39:11.155Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:39:11.155Z] a6820b24f6d8: Download complete [2021-06-27T07:39:11.155Z] 31603596830f: Pull complete [2021-06-27T07:39:11.417Z] 54011a49482f: Pull complete [2021-06-27T07:39:11.997Z] a6820b24f6d8: Pull complete [2021-06-27T07:39:12.262Z] f581987b2513: Pull complete [2021-06-27T07:39:12.262Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:39:12.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:12.262Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:39:12.350Z] prd-centos7-docker-4c-2g-338 does not seem to be running inside a container [2021-06-27T07:39:12.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-27T07:39:13.487Z] $ docker top 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:39:13.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:39:13.653Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:39:13.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:39:13.780Z] $ docker exec 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 ssh-agent [2021-06-27T07:39:13.892Z] SSH_AUTH_SOCK=/tmp/ssh-V5Ym3PQdZMXg/agent.14 [2021-06-27T07:39:13.892Z] SSH_AGENT_PID=20 [2021-06-27T07:39:13.901Z] Running ssh-add (command line suppressed) [2021-06-27T07:39:14.009Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2646337795460688764.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2646337795460688764.key) [2021-06-27T07:39:14.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:39:14.333Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:39:14.353Z] $ docker exec --env ******** --env ******** 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 ssh-agent -k [2021-06-27T07:39:14.456Z] unset SSH_AUTH_SOCK; [2021-06-27T07:39:14.456Z] unset SSH_AGENT_PID; [2021-06-27T07:39:14.456Z] echo Agent pid 20 killed; [2021-06-27T07:39:14.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:39:14.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:39:14.512Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:39:14.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:39:14.633Z] $ docker exec 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 ssh-agent [2021-06-27T07:39:14.748Z] SSH_AUTH_SOCK=/tmp/ssh-Vu0FodzjEfWz/agent.52 [2021-06-27T07:39:14.748Z] SSH_AGENT_PID=58 [2021-06-27T07:39:14.754Z] Running ssh-add (command line suppressed) [2021-06-27T07:39:14.856Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_6083199068428869433.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_6083199068428869433.key) [2021-06-27T07:39:14.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:39:15.179Z] + git semver init [2021-06-27T07:39:15.179Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:39:15.179Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.git [2021-06-27T07:39:15.179Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:39:15.179Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:39:15.179Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:39:15.179Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:39:15.179Z] # $SEMVER_BRANCH = PR-123 [2021-06-27T07:39:15.179Z] # $SEMVER_TEMP = /tmp/semver-472056239 [2021-06-27T07:39:15.179Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-27T07:39:16.170Z] # '/tmp/semver-472056239' -> '/w/workspace/gexfoundry_device-rest-go_PR-123/.semver' [2021-06-27T07:39:16.170Z] # -> Force: false [2021-06-27T07:39:16.170Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.semver [Pipeline] } [2021-06-27T07:39:16.177Z] $ docker exec --env ******** --env ******** 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 ssh-agent -k [2021-06-27T07:39:16.276Z] unset SSH_AUTH_SOCK; [2021-06-27T07:39:16.277Z] unset SSH_AGENT_PID; [2021-06-27T07:39:16.277Z] echo Agent pid 58 killed; [2021-06-27T07:39:16.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:39:16.621Z] + git semver [Pipeline] } [2021-06-27T07:39:16.633Z] $ docker stop --time=1 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 [2021-06-27T07:39:17.978Z] $ docker rm -f 8cb0be9867decc3979113f0b510385dafe0489a73c8cab7568ed131758b57ef4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:39:18.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:39:18.681Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:39:18.686Z] [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 [2021-06-27T07:39:33.945Z] Still waiting to schedule task [2021-06-27T07:39:33.946Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:39:33.946Z] ‘prd-centos7-docker-4c-2g-333’ is offline [2021-06-27T07:39:33.946Z] ‘prd-centos7-docker-4c-2g-339’ is offline [2021-06-27T07:39:33.947Z] ‘prd-centos7-docker-4c-2g-340’ is offline [2021-06-27T07:39:33.947Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-27T07:39:33.947Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:39:33.947Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:39:33.955Z] Still waiting to schedule task [2021-06-27T07:39:33.955Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:34.849Z] Running on prd-centos7-docker-4c-2g-344 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:40:34.868Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-06-27T07:40:34.973Z] The recommended git tool is: git [2021-06-27T07:40:37.423Z] using credential edgex-jenkins-ssh [2021-06-27T07:40:37.443Z] Cloning the remote Git repository [2021-06-27T07:40:37.376Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:40:37.447Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-06-27T07:40:37.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:40:37.483Z] > git --version # timeout=10 [2021-06-27T07:40:37.492Z] > git --version # 'git version 2.24.4' [2021-06-27T07:40:37.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:40:37.521Z] [INFO] Currently running in a labeled security context [2021-06-27T07:40:37.521Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:40:37.522Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh2614448065736067934.key [2021-06-27T07:40:37.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:40:39.239Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 636a0f27b29777a0081062fbca3d09d91a061542 [2021-06-27T07:40:38.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:40:38.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:40:38.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:40:38.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:40:38.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:40:38.767Z] [INFO] Currently running in a labeled security context [2021-06-27T07:40:38.767Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:40:38.767Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh2748939578046886523.key [2021-06-27T07:40:38.775Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:40:39.243Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:40:39.249Z] > git checkout -f 636a0f27b29777a0081062fbca3d09d91a061542 # timeout=10 [2021-06-27T07:40:39.278Z] > git remote # timeout=10 [2021-06-27T07:40:39.287Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:40:39.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:40:39.293Z] [INFO] Currently running in a labeled security context [2021-06-27T07:40:39.293Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:40:39.293Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh4040396987280093316.key [2021-06-27T07:40:39.334Z] Merge succeeded, producing 2c75b5bfe94c5ad60c81e203c90df9b70e3f4aa8 [2021-06-27T07:40:39.335Z] Checking out Revision 2c75b5bfe94c5ad60c81e203c90df9b70e3f4aa8 (PR-123) [2021-06-27T07:40:39.298Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:40:39.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:40:39.335Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:40:39.342Z] > git checkout -f 2c75b5bfe94c5ad60c81e203c90df9b70e3f4aa8 # timeout=10 [2021-06-27T07:40:42.984Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:40:42.997Z] First time build. Skipping changelog. [2021-06-27T07:40:42.984Z] > git rev-list --no-walk a7b00559475b4fe884a99a0c350b14c86e5101c5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:40:44.086Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:40:44.415Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:40:44.722Z] + sudo service docker restart [2021-06-27T07:40:44.722Z] + true [2021-06-27T07:40:44.722Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:41:02.909Z] provisioning config files... [2021-06-27T07:41:02.922Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config6003419770665674779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:41:03.264Z] ---> docker-login.sh [2021-06-27T07:41:03.264Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:41:03.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:03.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:03.526Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:03.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:03.526Z] [2021-06-27T07:41:03.526Z] Login Succeeded [2021-06-27T07:41:03.526Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:41:03.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:03.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:03.526Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:03.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:03.526Z] [2021-06-27T07:41:03.526Z] Login Succeeded [2021-06-27T07:41:03.526Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:41:03.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:03.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:03.793Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:03.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:03.793Z] [2021-06-27T07:41:03.793Z] Login Succeeded [2021-06-27T07:41:03.793Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:41:03.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:04.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:04.059Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:04.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:04.059Z] [2021-06-27T07:41:04.059Z] Login Succeeded [2021-06-27T07:41:04.059Z] docker.io [2021-06-27T07:41:04.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:04.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:04.322Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:04.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:04.322Z] [2021-06-27T07:41:04.322Z] Login Succeeded [2021-06-27T07:41:04.322Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:41:04.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:41:04.515Z] ========================================================= [2021-06-27T07:41:04.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:41:04.515Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:41:04.828Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-27T07:41:04.828Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:41:04.828Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:41:04.828Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:41:04.828Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:41:04.828Z] 540db60ca938: Pulling fs layer [2021-06-27T07:41:04.828Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:41:04.828Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:41:04.828Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:41:04.828Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:41:04.828Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:41:04.828Z] f706445af74f: Pulling fs layer [2021-06-27T07:41:04.828Z] 0510c868ecb4: Waiting [2021-06-27T07:41:04.828Z] afea3b2eda06: Waiting [2021-06-27T07:41:04.828Z] 7809a108b3ef: Waiting [2021-06-27T07:41:04.828Z] f706445af74f: Waiting [2021-06-27T07:41:05.097Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:41:05.097Z] 4c4ab2625f07: Download complete [2021-06-27T07:41:05.097Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:41:05.097Z] adcc1eea9eea: Download complete [2021-06-27T07:41:05.097Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:41:05.097Z] afea3b2eda06: Download complete [2021-06-27T07:41:05.097Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:41:05.097Z] 7809a108b3ef: Download complete [2021-06-27T07:41:05.097Z] 540db60ca938: Verifying Checksum [2021-06-27T07:41:05.097Z] 540db60ca938: Download complete [2021-06-27T07:41:05.361Z] 540db60ca938: Pull complete [2021-06-27T07:41:05.361Z] adcc1eea9eea: Pull complete [2021-06-27T07:41:05.623Z] 4c4ab2625f07: Pull complete [2021-06-27T07:41:06.197Z] f706445af74f: Verifying Checksum [2021-06-27T07:41:06.197Z] f706445af74f: Download complete [2021-06-27T07:41:07.149Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:41:07.149Z] 0510c868ecb4: Download complete [2021-06-27T07:41:10.495Z] 0510c868ecb4: Pull complete [2021-06-27T07:41:10.761Z] afea3b2eda06: Pull complete [2021-06-27T07:41:10.761Z] 7809a108b3ef: Pull complete [2021-06-27T07:41:12.734Z] f706445af74f: Pull complete [2021-06-27T07:41:12.734Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:41:12.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:41:12.734Z] ---> b068be0155e3 [2021-06-27T07:41:12.734Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:41:16.051Z] ---> Running in 6f8323c7802c [2021-06-27T07:41:16.051Z] Removing intermediate container 6f8323c7802c [2021-06-27T07:41:16.051Z] ---> f9446a931d31 [2021-06-27T07:41:16.051Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:41:16.051Z] ---> Running in bd4abc39ec13 [2021-06-27T07:41:16.051Z] Removing intermediate container bd4abc39ec13 [2021-06-27T07:41:16.051Z] ---> 506606d8efb5 [2021-06-27T07:41:16.051Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:41:16.051Z] ---> Running in cf679c6d7094 [2021-06-27T07:41:16.051Z] Removing intermediate container cf679c6d7094 [2021-06-27T07:41:16.051Z] ---> a4f8a03d15fd [2021-06-27T07:41:16.051Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:41:16.051Z] ---> Running in 650c4ec74fcc [2021-06-27T07:41:16.635Z] Removing intermediate container 650c4ec74fcc [2021-06-27T07:41:16.635Z] ---> 523891436b99 [2021-06-27T07:41:16.635Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:41:16.635Z] ---> Running in cd97a8489555 [2021-06-27T07:41:16.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:41:17.853Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:41:18.428Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:41:18.429Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:41:18.429Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:41:18.429Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:41:18.693Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:41:18.693Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:41:18.693Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:41:19.010Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:41:19.274Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:41:19.274Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:41:19.274Z] OK: 154 MiB in 49 packages [2021-06-27T07:41:19.854Z] Removing intermediate container cd97a8489555 [2021-06-27T07:41:19.854Z] ---> 183b363cb071 [2021-06-27T07:41:19.854Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:41:19.854Z] ---> Running in c918c3780b21 [2021-06-27T07:41:19.854Z] Removing intermediate container c918c3780b21 [2021-06-27T07:41:19.854Z] ---> 2f4e3ad080ac [2021-06-27T07:41:19.854Z] Step 9/10 : COPY . . [2021-06-27T07:41:20.117Z] ---> 70d29147597f [2021-06-27T07:41:20.117Z] Step 10/10 : RUN go mod download [2021-06-27T07:41:20.117Z] ---> Running in 30eb7a45e7f8 [2021-06-27T07:41:32.399Z] Removing intermediate container 30eb7a45e7f8 [2021-06-27T07:41:32.399Z] ---> aaa54021622c [2021-06-27T07:41:32.399Z] Successfully built aaa54021622c [2021-06-27T07:41:32.399Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:41:32.725Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:41:32.725Z] . [Pipeline] withDockerContainer [2021-06-27T07:41:32.813Z] prd-centos7-docker-4c-2g-344 does not seem to be running inside a container [2021-06-27T07:41:32.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-x86_64 cat [2021-06-27T07:41:33.266Z] $ docker top 3232910d1147d41380040b6ab808146350216079f6c04ce6b39516495a98574f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:41:33.684Z] + go version [2021-06-27T07:41:33.684Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:41:33.696Z] $ docker stop --time=1 3232910d1147d41380040b6ab808146350216079f6c04ce6b39516495a98574f [2021-06-27T07:41:34.896Z] $ docker rm -f 3232910d1147d41380040b6ab808146350216079f6c04ce6b39516495a98574f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:41:35.452Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:41:35.452Z] . [Pipeline] withDockerContainer [2021-06-27T07:41:35.530Z] prd-centos7-docker-4c-2g-344 does not seem to be running inside a container [2021-06-27T07:41:35.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-x86_64 cat [2021-06-27T07:41:35.954Z] $ docker top cf53e9ae53b82dcca665f20e9908167ad02f40092a7302cda17fcafdda2d63e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:41:36.347Z] + go mod tidy [Pipeline] sh [2021-06-27T07:41:36.928Z] + make test [2021-06-27T07:41:36.928Z] go mod tidy [2021-06-27T07:41:37.193Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:41:37.457Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:41:55.685Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:41:55.685Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-06-27T07:41:55.685Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:42:02.358Z] gofmt -l . [2021-06-27T07:42:02.358Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:42:02.358Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:42:02.620Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:42:03.211Z] $ docker stop --time=1 cf53e9ae53b82dcca665f20e9908167ad02f40092a7302cda17fcafdda2d63e0 [2021-06-27T07:42:05.649Z] $ docker rm -f cf53e9ae53b82dcca665f20e9908167ad02f40092a7302cda17fcafdda2d63e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:42:06.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:42:06.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-27T07:42:07.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:42:07.700Z] + ls -al . [2021-06-27T07:42:07.700Z] total 112 [2021-06-27T07:42:07.700Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 27 07:42 . [2021-06-27T07:42:07.700Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:40 .. [2021-06-27T07:42:07.700Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 27 07:40 Attribution.txt [2021-06-27T07:42:07.700Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:40 bin [2021-06-27T07:42:07.700Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 27 07:40 CHANGELOG.md [2021-06-27T07:42:07.700Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:40 cmd [2021-06-27T07:42:07.700Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 27 07:41 coverage.out [2021-06-27T07:42:07.700Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 27 07:40 Dockerfile [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 27 07:40 Dockerfile.build [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 27 07:40 .dockerignore [2021-06-27T07:42:07.701Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 27 07:40 driver [2021-06-27T07:42:07.701Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:40 .git [2021-06-27T07:42:07.701Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:40 .github [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 27 07:40 .gitignore [2021-06-27T07:42:07.701Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 27 07:42 go.mod [2021-06-27T07:42:07.701Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 27 07:41 go.sum [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 27 07:40 Jenkinsfile [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:40 LICENSE [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 27 07:40 Makefile [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 27 07:40 README.md [2021-06-27T07:42:07.701Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 27 07:40 snap [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:39 VERSION [2021-06-27T07:42:07.701Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 27 07:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:42:08.018Z] + 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=2c75b5bfe94c5ad60c81e203c90df9b70e3f4aa8 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:42:08.018Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:42:08.018Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:42:08.018Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:42:08.018Z] ---> aaa54021622c [2021-06-27T07:42:08.018Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:42:08.018Z] ---> Running in bfc10b5616b4 [2021-06-27T07:42:08.018Z] Removing intermediate container bfc10b5616b4 [2021-06-27T07:42:08.018Z] ---> b4e6cd880c69 [2021-06-27T07:42:08.018Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:42:08.018Z] ---> Running in 02594772f6c0 [2021-06-27T07:42:08.280Z] Removing intermediate container 02594772f6c0 [2021-06-27T07:42:08.280Z] ---> 17aaa4aaeb45 [2021-06-27T07:42:08.280Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:42:08.280Z] ---> Running in e41e9098fdfd [2021-06-27T07:42:08.280Z] Removing intermediate container e41e9098fdfd [2021-06-27T07:42:08.280Z] ---> c1fb6bfeca31 [2021-06-27T07:42:08.280Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:42:08.280Z] ---> Running in d705f453ab87 [2021-06-27T07:42:08.859Z] Removing intermediate container d705f453ab87 [2021-06-27T07:42:08.859Z] ---> e0c343d485e7 [2021-06-27T07:42:08.859Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:42:08.859Z] ---> Running in 25d8b5c00567 [2021-06-27T07:42:09.124Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:10.068Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:10.643Z] OK: 154 MiB in 49 packages [2021-06-27T07:42:10.644Z] Removing intermediate container 25d8b5c00567 [2021-06-27T07:42:10.644Z] ---> 8fe474fcefb4 [2021-06-27T07:42:10.644Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:42:10.904Z] ---> Running in cf582b153425 [2021-06-27T07:42:10.904Z] Removing intermediate container cf582b153425 [2021-06-27T07:42:10.904Z] ---> eeaf828d765f [2021-06-27T07:42:10.904Z] Step 9/25 : COPY . . [2021-06-27T07:42:11.168Z] ---> 658a311219ea [2021-06-27T07:42:11.168Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:42:11.168Z] ---> Running in 2783d66c3a90 [2021-06-27T07:42:11.747Z] Removing intermediate container 2783d66c3a90 [2021-06-27T07:42:11.747Z] ---> a38066a65a69 [2021-06-27T07:42:11.747Z] Step 11/25 : RUN make update [2021-06-27T07:42:11.747Z] ---> Running in a19f7dca4f6b [2021-06-27T07:42:12.013Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:42:12.274Z] Removing intermediate container a19f7dca4f6b [2021-06-27T07:42:12.274Z] ---> c97d979502a7 [2021-06-27T07:42:12.274Z] Step 12/25 : RUN $MAKE [2021-06-27T07:42:12.274Z] ---> Running in 39b8294c8cce [2021-06-27T07:42:12.537Z] go mod tidy [2021-06-27T07:42:12.816Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-27T07:42:25.187Z] Removing intermediate container 39b8294c8cce [2021-06-27T07:42:25.187Z] ---> 9c0cfd847fce [2021-06-27T07:42:25.187Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:42:25.448Z] 3.12: Pulling from library/alpine [2021-06-27T07:42:25.448Z] 339de151aab4: Pulling fs layer [2021-06-27T07:42:25.715Z] 339de151aab4: Verifying Checksum [2021-06-27T07:42:25.715Z] 339de151aab4: Download complete [2021-06-27T07:42:25.976Z] 339de151aab4: Pull complete [2021-06-27T07:42:25.976Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:42:25.976Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:42:25.976Z] ---> 13621d1b12d4 [2021-06-27T07:42:25.976Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:42:25.976Z] ---> Running in 70b84c9a5895 [2021-06-27T07:42:25.976Z] Removing intermediate container 70b84c9a5895 [2021-06-27T07:42:25.976Z] ---> d1cc86470fd1 [2021-06-27T07:42:25.976Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:42:25.976Z] ---> Running in e3d2f1eac4c1 [2021-06-27T07:42:26.241Z] Removing intermediate container e3d2f1eac4c1 [2021-06-27T07:42:26.241Z] ---> 88e847cba322 [2021-06-27T07:42:26.241Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:42:26.241Z] ---> Running in ed0f64352262 [2021-06-27T07:42:26.502Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:26.502Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:26.763Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:42:26.763Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:42:26.763Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:42:26.763Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:42:26.763Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:42:26.763Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:42:26.763Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:42:26.763Z] OK: 8 MiB in 20 packages [2021-06-27T07:42:27.023Z] Removing intermediate container ed0f64352262 [2021-06-27T07:42:27.023Z] ---> 68ef03a7bfa5 [2021-06-27T07:42:27.023Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:42:27.599Z] ---> 0151c9a1f2cd [2021-06-27T07:42:27.599Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:42:27.866Z] ---> 5369881ac0d2 [2021-06-27T07:42:27.866Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:42:27.866Z] ---> 4a52fa2eb774 [2021-06-27T07:42:27.866Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:42:27.866Z] ---> Running in e7b92192bc9c [2021-06-27T07:42:28.128Z] Removing intermediate container e7b92192bc9c [2021-06-27T07:42:28.128Z] ---> 5ef51014a1c4 [2021-06-27T07:42:28.128Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:42:28.128Z] ---> Running in 166d93b5bc30 [2021-06-27T07:42:28.128Z] Removing intermediate container 166d93b5bc30 [2021-06-27T07:42:28.128Z] ---> b2cd573159e6 [2021-06-27T07:42:28.128Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:42:28.128Z] ---> Running in 6a66a8797ec2 [2021-06-27T07:42:28.390Z] Removing intermediate container 6a66a8797ec2 [2021-06-27T07:42:28.390Z] ---> 0d3bcdbe4bf0 [2021-06-27T07:42:28.390Z] Step 23/25 : LABEL arch=amd64 [2021-06-27T07:42:28.390Z] ---> Running in 6998483bc8cb [2021-06-27T07:42:28.390Z] Removing intermediate container 6998483bc8cb [2021-06-27T07:42:28.390Z] ---> b136f5bbce7f [2021-06-27T07:42:28.390Z] Step 24/25 : LABEL git_sha=2c75b5bfe94c5ad60c81e203c90df9b70e3f4aa8 [2021-06-27T07:42:28.390Z] ---> Running in 1896c5df8941 [2021-06-27T07:42:28.656Z] Removing intermediate container 1896c5df8941 [2021-06-27T07:42:28.656Z] ---> 689f4921b48a [2021-06-27T07:42:28.656Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:42:28.656Z] ---> Running in 67843884a58a [2021-06-27T07:42:28.656Z] Removing intermediate container 67843884a58a [2021-06-27T07:42:28.656Z] ---> 5cf825c4f66e [2021-06-27T07:42:28.656Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:42:28.656Z] Successfully built 5cf825c4f66e [2021-06-27T07:42:28.656Z] 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] libraryResource [Pipeline] sh [2021-06-27T07:42:29.433Z] ---> job-cost.sh [2021-06-27T07:42:29.433Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XvJK [2021-06-27T07:42:39.452Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:42:40.866Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-349 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:42:40.886Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-06-27T07:42:41.116Z] The recommended git tool is: git [2021-06-27T07:42:46.570Z] using credential edgex-jenkins-ssh [2021-06-27T07:42:46.592Z] Cloning the remote Git repository [2021-06-27T07:42:46.637Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:42:46.835Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-06-27T07:42:46.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:42:46.946Z] > git --version # timeout=10 [2021-06-27T07:42:46.965Z] > git --version # 'git version 2.17.1' [2021-06-27T07:42:46.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:42:47.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:42:49.248Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 636a0f27b29777a0081062fbca3d09d91a061542 [2021-06-27T07:42:49.515Z] Merge succeeded, producing daf9a6ee965a6dc6eb0d5886d95e02f4e3be1579 [2021-06-27T07:42:49.515Z] Checking out Revision daf9a6ee965a6dc6eb0d5886d95e02f4e3be1579 (PR-123) [2021-06-27T07:42:48.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:42:48.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:42:48.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:42:48.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:42:48.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:42:48.686Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:42:49.266Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:42:49.291Z] > git checkout -f 636a0f27b29777a0081062fbca3d09d91a061542 # timeout=10 [2021-06-27T07:42:49.374Z] > git remote # timeout=10 [2021-06-27T07:42:49.396Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:42:49.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:42:49.430Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:42:49.499Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:42:49.522Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:42:49.532Z] > git checkout -f daf9a6ee965a6dc6eb0d5886d95e02f4e3be1579 # timeout=10 [2021-06-27T07:42:53.854Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:42:53.879Z] First time build. Skipping changelog. [2021-06-27T07:42:54.139Z] [2021-06-27T07:42:54.139Z] GitHub has been notified of this commit’s build result [2021-06-27T07:42:54.139Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:42:53.862Z] > git rev-list --no-walk a7b00559475b4fe884a99a0c350b14c86e5101c5 # timeout=10 [2021-06-27T07:42:55.207Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:42:55.688Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:42:56.034Z] + true [2021-06-27T07:42:56.034Z] + sudo service docker restart [2021-06-27T07:42:57.651Z] lf-activate-venv(): INFO: Adding /tmp/venv-XvJK/bin to PATH [2021-06-27T07:42:57.651Z] INFO: No Stack... [2021-06-27T07:42:57.651Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:42:57.651Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:42:57.951Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-06-27T07:42:57.951Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:42:57.981Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [2021-06-27T07:42:58.003Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] did not exist. Created. [2021-06-27T07:42:58.004Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:42:58.332Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:42:58.414Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:42:58.426Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:43:14.439Z] provisioning config files... [2021-06-27T07:43:14.468Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config5981474816281864715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:43:14.861Z] ---> docker-login.sh [2021-06-27T07:43:14.861Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:43:15.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:16.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:16.122Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:16.122Z] [2021-06-27T07:43:16.122Z] Login Succeeded [2021-06-27T07:43:16.122Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:43:16.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:16.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:16.726Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:16.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:16.726Z] [2021-06-27T07:43:16.726Z] Login Succeeded [2021-06-27T07:43:16.726Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:43:17.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:17.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:17.328Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:17.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:17.328Z] [2021-06-27T07:43:17.328Z] Login Succeeded [2021-06-27T07:43:17.328Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:43:17.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:17.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:17.932Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:17.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:17.932Z] [2021-06-27T07:43:17.932Z] Login Succeeded [2021-06-27T07:43:17.932Z] docker.io [2021-06-27T07:43:18.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:18.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:18.810Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:18.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:18.810Z] [2021-06-27T07:43:18.810Z] Login Succeeded [2021-06-27T07:43:18.810Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:43:18.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:43:19.159Z] ========================================================= [2021-06-27T07:43:19.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:43:19.159Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:43:19.514Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-27T07:43:19.514Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:43:19.787Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:43:19.787Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:43:20.063Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:43:20.063Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:43:20.063Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:43:20.063Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:43:20.063Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:43:20.063Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:43:20.063Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:43:20.063Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:43:20.063Z] 506bd15cee9f: Waiting [2021-06-27T07:43:20.063Z] 75a0a4a0db45: Waiting [2021-06-27T07:43:20.063Z] 618dc40b7e24: Waiting [2021-06-27T07:43:20.063Z] ba82ee9f976e: Waiting [2021-06-27T07:43:20.063Z] 5b7225fbf94c: Verifying Checksum [2021-06-27T07:43:20.063Z] 5b7225fbf94c: Download complete [2021-06-27T07:43:20.344Z] 3088b5b3c5c0: Download complete [2021-06-27T07:43:20.344Z] 506bd15cee9f: Download complete [2021-06-27T07:43:20.344Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:43:20.344Z] 75a0a4a0db45: Download complete [2021-06-27T07:43:20.344Z] 595b0fe564bb: Verifying Checksum [2021-06-27T07:43:20.344Z] 595b0fe564bb: Download complete [2021-06-27T07:43:21.349Z] 595b0fe564bb: Pull complete [2021-06-27T07:43:21.958Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:43:22.239Z] 5b7225fbf94c: Pull complete [2021-06-27T07:43:22.239Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:43:22.239Z] 618dc40b7e24: Download complete [2021-06-27T07:43:23.677Z] ba82ee9f976e: Verifying Checksum [2021-06-27T07:43:23.677Z] ba82ee9f976e: Download complete [2021-06-27T07:43:36.105Z] ba82ee9f976e: Pull complete [2021-06-27T07:43:36.105Z] 506bd15cee9f: Pull complete [2021-06-27T07:43:36.105Z] 75a0a4a0db45: Pull complete [2021-06-27T07:43:39.533Z] 618dc40b7e24: Pull complete [2021-06-27T07:43:39.533Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:43:39.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:43:39.533Z] ---> a36622ca3599 [2021-06-27T07:43:39.533Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:43:41.696Z] ---> Running in fd15f54ef3a0 [2021-06-27T07:43:42.305Z] Removing intermediate container fd15f54ef3a0 [2021-06-27T07:43:42.305Z] ---> 3697d8c73691 [2021-06-27T07:43:42.305Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:43:42.579Z] ---> Running in 9f50249fbc18 [2021-06-27T07:43:42.861Z] Removing intermediate container 9f50249fbc18 [2021-06-27T07:43:42.861Z] ---> 7233706b7677 [2021-06-27T07:43:42.861Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:43:43.137Z] ---> Running in 35bb3134263e [2021-06-27T07:43:43.740Z] Removing intermediate container 35bb3134263e [2021-06-27T07:43:43.740Z] ---> f01cf76d50be [2021-06-27T07:43:43.740Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:43:43.740Z] ---> Running in a972d503ae27 [2021-06-27T07:43:46.368Z] Removing intermediate container a972d503ae27 [2021-06-27T07:43:46.368Z] ---> 0f4bc4940e6f [2021-06-27T07:43:46.368Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:43:46.368Z] ---> Running in b4b8d3741079 [2021-06-27T07:43:47.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:43:48.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:43:49.832Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:43:49.832Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:43:50.427Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:43:50.427Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:43:50.427Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:43:50.700Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:43:50.700Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:43:51.297Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:43:51.571Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:43:51.571Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:43:51.853Z] OK: 144 MiB in 49 packages [2021-06-27T07:43:53.293Z] Removing intermediate container b4b8d3741079 [2021-06-27T07:43:53.293Z] ---> 1a590b24a64a [2021-06-27T07:43:53.293Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:43:53.293Z] ---> Running in f49655c674f3 [2021-06-27T07:43:53.899Z] Removing intermediate container f49655c674f3 [2021-06-27T07:43:53.899Z] ---> c9cf371f9efd [2021-06-27T07:43:53.899Z] Step 9/10 : COPY . . [2021-06-27T07:43:54.885Z] ---> 25637613a5e2 [2021-06-27T07:43:54.885Z] Step 10/10 : RUN go mod download [2021-06-27T07:43:54.885Z] ---> Running in bf73ce7eb39b [2021-06-27T07:44:21.755Z] Removing intermediate container bf73ce7eb39b [2021-06-27T07:44:21.755Z] ---> 8dd0324bf2cb [2021-06-27T07:44:21.755Z] Successfully built 8dd0324bf2cb [2021-06-27T07:44:21.755Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:44:22.104Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:44:22.104Z] . [Pipeline] withDockerContainer [2021-06-27T07:44:22.342Z] prd-ubuntu18.04-docker-arm64-4c-16g-349 does not seem to be running inside a container [2021-06-27T07:44:22.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2021-06-27T07:44:24.069Z] $ docker top 130b6963ac2027c2eed9009b9e06423120037bf251ffc6b7afc57d7ae828110a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:44:25.049Z] + go version [2021-06-27T07:44:25.049Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:44:25.075Z] $ docker stop --time=1 130b6963ac2027c2eed9009b9e06423120037bf251ffc6b7afc57d7ae828110a [2021-06-27T07:44:26.965Z] $ docker rm -f 130b6963ac2027c2eed9009b9e06423120037bf251ffc6b7afc57d7ae828110a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:44:27.772Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:44:27.772Z] . [Pipeline] withDockerContainer [2021-06-27T07:44:28.019Z] prd-ubuntu18.04-docker-arm64-4c-16g-349 does not seem to be running inside a container [2021-06-27T07:44:28.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2021-06-27T07:44:29.635Z] $ docker top 740c25edc8d76d33666cc6c9aae5797684a93a2f82e9c2d9dbce7ffa3ca6e5bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:44:30.574Z] + go mod tidy [Pipeline] sh [2021-06-27T07:44:31.837Z] + make test [2021-06-27T07:44:31.837Z] go mod tidy [2021-06-27T07:44:32.114Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:44:33.577Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:45:30.207Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:45:32.880Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 54.0% of statements [2021-06-27T07:45:32.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:46:05.270Z] gofmt -l . [2021-06-27T07:46:05.270Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:46:05.270Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:46:05.270Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:46:05.291Z] $ docker stop --time=1 740c25edc8d76d33666cc6c9aae5797684a93a2f82e9c2d9dbce7ffa3ca6e5bb [2021-06-27T07:46:07.284Z] $ docker rm -f 740c25edc8d76d33666cc6c9aae5797684a93a2f82e9c2d9dbce7ffa3ca6e5bb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:46:08.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:46:08.233Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:46:08.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:46:09.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:46:09.721Z] + ls -al . [2021-06-27T07:46:09.721Z] total 140 [2021-06-27T07:46:09.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:46 . [2021-06-27T07:46:09.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:42 .. [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 07:42 .dockerignore [2021-06-27T07:46:09.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:42 .git [2021-06-27T07:46:09.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:42 .github [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 27 07:42 .gitignore [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 27 07:42 Attribution.txt [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 27 07:42 CHANGELOG.md [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 27 07:42 Dockerfile [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 27 07:42 Dockerfile.build [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 07:42 Jenkinsfile [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:42 LICENSE [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 27 07:42 Makefile [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 27 07:42 README.md [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:39 VERSION [2021-06-27T07:46:09.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:42 bin [2021-06-27T07:46:09.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:42 cmd [2021-06-27T07:46:09.721Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 27 07:45 coverage.out [2021-06-27T07:46:09.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:42 driver [2021-06-27T07:46:09.721Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 27 07:46 go.mod [2021-06-27T07:46:09.721Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 27 07:44 go.sum [2021-06-27T07:46:09.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:42 snap [2021-06-27T07:46:09.721Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 07:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:46:10.078Z] + 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=daf9a6ee965a6dc6eb0d5886d95e02f4e3be1579 --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:46:10.078Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:46:10.684Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:46:10.684Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:46:10.684Z] ---> 8dd0324bf2cb [2021-06-27T07:46:10.684Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:46:10.684Z] ---> Running in 95c0ee252acc [2021-06-27T07:46:11.287Z] Removing intermediate container 95c0ee252acc [2021-06-27T07:46:11.287Z] ---> e6fb548e2e7e [2021-06-27T07:46:11.287Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:46:11.561Z] ---> Running in 811ca28e848b [2021-06-27T07:46:12.162Z] Removing intermediate container 811ca28e848b [2021-06-27T07:46:12.162Z] ---> c31bb4868bbb [2021-06-27T07:46:12.162Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:46:12.162Z] ---> Running in 9e704cc86b64 [2021-06-27T07:46:12.763Z] Removing intermediate container 9e704cc86b64 [2021-06-27T07:46:12.763Z] ---> c7730411a1ce [2021-06-27T07:46:12.763Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:46:13.048Z] ---> Running in 4968dba6a5dd [2021-06-27T07:46:15.729Z] Removing intermediate container 4968dba6a5dd [2021-06-27T07:46:15.729Z] ---> 0d4d3adaadf4 [2021-06-27T07:46:15.729Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:46:15.729Z] ---> Running in 8a11ae78c6be [2021-06-27T07:46:16.722Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:46:17.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:46:18.744Z] OK: 144 MiB in 49 packages [2021-06-27T07:46:20.195Z] Removing intermediate container 8a11ae78c6be [2021-06-27T07:46:20.195Z] ---> b58c5f4150e2 [2021-06-27T07:46:20.195Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:46:20.195Z] ---> Running in 76665537df7f [2021-06-27T07:46:20.792Z] Removing intermediate container 76665537df7f [2021-06-27T07:46:20.792Z] ---> 28d3bd099790 [2021-06-27T07:46:20.792Z] Step 9/25 : COPY . . [2021-06-27T07:46:21.393Z] ---> 8629253e44e1 [2021-06-27T07:46:21.393Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:46:21.666Z] ---> Running in 90e83907046e [2021-06-27T07:46:25.064Z] Removing intermediate container 90e83907046e [2021-06-27T07:46:25.064Z] ---> 6cfc34413880 [2021-06-27T07:46:25.064Z] Step 11/25 : RUN make update [2021-06-27T07:46:25.064Z] ---> Running in d85b48781cba [2021-06-27T07:46:26.047Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:46:27.490Z] Removing intermediate container d85b48781cba [2021-06-27T07:46:27.490Z] ---> 4b1b7b284ba3 [2021-06-27T07:46:27.490Z] Step 12/25 : RUN $MAKE [2021-06-27T07:46:27.490Z] ---> Running in 41ffb39628d9 [2021-06-27T07:46:28.929Z] go mod tidy [2021-06-27T07:46:29.209Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-27T07:47:08.259Z] Removing intermediate container 41ffb39628d9 [2021-06-27T07:47:08.259Z] ---> 6ad139d43ec7 [2021-06-27T07:47:08.259Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:47:08.259Z] 3.12: Pulling from library/alpine [2021-06-27T07:47:08.259Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:47:08.534Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:47:09.133Z] d2f70382dc9a: Pull complete [2021-06-27T07:47:09.133Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:47:09.133Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:47:09.133Z] ---> c4fd0aeabfcf [2021-06-27T07:47:09.133Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:47:09.408Z] ---> Running in 688dbd998721 [2021-06-27T07:47:10.005Z] Removing intermediate container 688dbd998721 [2021-06-27T07:47:10.005Z] ---> 0915d85336d7 [2021-06-27T07:47:10.005Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:47:10.278Z] ---> Running in ffca55f20402 [2021-06-27T07:47:10.554Z] Removing intermediate container ffca55f20402 [2021-06-27T07:47:10.554Z] ---> ef0127d575c9 [2021-06-27T07:47:10.554Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:47:10.829Z] ---> Running in feb83d103134 [2021-06-27T07:47:12.266Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:47:12.266Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:47:12.864Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:47:12.864Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:47:12.864Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:47:12.864Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:47:12.864Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:47:13.139Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:47:13.139Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:47:13.139Z] OK: 8 MiB in 20 packages [2021-06-27T07:47:14.128Z] Removing intermediate container feb83d103134 [2021-06-27T07:47:14.128Z] ---> d1b0e9e8de83 [2021-06-27T07:47:14.128Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:47:15.567Z] ---> f6875cabb66c [2021-06-27T07:47:15.567Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:47:16.550Z] ---> 720a091c3935 [2021-06-27T07:47:16.550Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:47:17.151Z] ---> c46db6fb2f7e [2021-06-27T07:47:17.151Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:47:17.425Z] ---> Running in 171e1d7001e3 [2021-06-27T07:47:18.026Z] Removing intermediate container 171e1d7001e3 [2021-06-27T07:47:18.026Z] ---> 3dbf7b9809d2 [2021-06-27T07:47:18.026Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:47:18.026Z] ---> Running in bc17c0603afc [2021-06-27T07:47:18.622Z] Removing intermediate container bc17c0603afc [2021-06-27T07:47:18.622Z] ---> 596ffb322c7e [2021-06-27T07:47:18.622Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:47:18.622Z] ---> Running in bd197619155b [2021-06-27T07:47:19.223Z] Removing intermediate container bd197619155b [2021-06-27T07:47:19.223Z] ---> b27560c031a2 [2021-06-27T07:47:19.223Z] Step 23/25 : LABEL arch=arm64 [2021-06-27T07:47:19.223Z] ---> Running in 05ed4a11424d [2021-06-27T07:47:19.823Z] Removing intermediate container 05ed4a11424d [2021-06-27T07:47:19.823Z] ---> 82b7f4493d2d [2021-06-27T07:47:19.823Z] Step 24/25 : LABEL git_sha=daf9a6ee965a6dc6eb0d5886d95e02f4e3be1579 [2021-06-27T07:47:20.097Z] ---> Running in 568f73dfa66a [2021-06-27T07:47:20.702Z] Removing intermediate container 568f73dfa66a [2021-06-27T07:47:20.702Z] ---> eb065ffb999e [2021-06-27T07:47:20.702Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:47:20.702Z] ---> Running in 4515bf1af78b [2021-06-27T07:47:21.298Z] Removing intermediate container 4515bf1af78b [2021-06-27T07:47:21.298Z] ---> f89d5022cd90 [2021-06-27T07:47:21.298Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:47:21.298Z] Successfully built f89d5022cd90 [2021-06-27T07:47:21.298Z] 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] libraryResource [Pipeline] sh [2021-06-27T07:47:22.042Z] ---> job-cost.sh [2021-06-27T07:47:22.042Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hVmY [2021-06-27T07:48:08.989Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:49:45.769Z] lf-activate-venv(): INFO: Adding /tmp/venv-hVmY/bin to PATH [2021-06-27T07:49:45.769Z] INFO: No Stack... [2021-06-27T07:49:45.769Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:49:45.769Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:49:46.118Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-06-27T07:49:46.118Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:49:46.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [2021-06-27T07:49:46.190Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] did not exist. Created. [2021-06-27T07:49:46.190Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:49:46.566Z] /w/workspace/device-rest-go/5@tmp/durable-482f8956/script.sh: 1: /w/workspace/device-rest-go/5@tmp/durable-482f8956/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:49:46.914Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:49:46.946Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:49:47.099Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:49:47.115Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-5-stack-cost] [Pipeline] // lock [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 [2021-06-27T07:49:47.684Z] provisioning config files... [2021-06-27T07:49:47.693Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config3902356888041636985tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:49:48.013Z] + set +x [2021-06-27T07:49:48.014Z] + curl -s https://codecov.io/bash [2021-06-27T07:49:48.014Z] + bash -s -- [2021-06-27T07:49:48.014Z] [2021-06-27T07:49:48.014Z] _____ _ [2021-06-27T07:49:48.014Z] / ____| | | [2021-06-27T07:49:48.014Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:49:48.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:49:48.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:49:48.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:49:48.014Z] Bash-1.0.3 [2021-06-27T07:49:48.014Z] [2021-06-27T07:49:48.014Z] [2021-06-27T07:49:48.014Z] ==> git version 2.24.4 found [2021-06-27T07:49:48.014Z] ==> 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 [2021-06-27T07:49:48.014Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:49:48.014Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:49:48.014Z] ==> Jenkins CI detected. [2021-06-27T07:49:48.014Z] project root: . [2021-06-27T07:49:48.014Z] --> token set from env [2021-06-27T07:49:48.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:49:48.014Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:49:48.014Z] ==> Python coveragepy not found [2021-06-27T07:49:48.014Z] ==> Searching for coverage reports in: [2021-06-27T07:49:48.014Z] + . [2021-06-27T07:49:48.014Z] -> Found 1 reports [2021-06-27T07:49:48.014Z] ==> Detecting git/mercurial file structure [2021-06-27T07:49:48.014Z] ==> Reading reports [2021-06-27T07:49:48.014Z] + ./coverage.out bytes=8513 [2021-06-27T07:49:48.014Z] ==> Appending adjustments [2021-06-27T07:49:48.014Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:49:48.275Z] + Found adjustments [2021-06-27T07:49:48.275Z] ==> Gzipping contents [2021-06-27T07:49:48.275Z] 4.0K /tmp/codecov.0gLUyv.gz [2021-06-27T07:49:48.275Z] ==> Uploading reports [2021-06-27T07:49:48.275Z] url: https://codecov.io [2021-06-27T07:49:48.275Z] query: branch=PR-123&commit=88213676cbac2bcff515b3931784db264769a1a1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:49:48.275Z] -> Pinging Codecov [2021-06-27T07:49:48.275Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-123&commit=88213676cbac2bcff515b3931784db264769a1a1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:49:48.537Z] -> Uploading to [2021-06-27T07:49:48.537Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/4E5D53B4F1F92C436F7061BF334D961C/88213676cbac2bcff515b3931784db264769a1a1/db6ad389-720c-4a24-a390-66a6e59e090f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T074948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d6afb5092b2d94dea73ea1f60ffbeac56c3d881979bfa34e31e702b3960e788 [2021-06-27T07:49:48.537Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:49:48.537Z] Dload Upload Total Spent Left Speed [2021-06-27T07:49:48.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 5170 --:--:-- --:--:-- --:--:-- 5187 [2021-06-27T07:49:48.802Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/88213676cbac2bcff515b3931784db264769a1a1 [Pipeline] } [2021-06-27T07:49:48.824Z] 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] libraryResource [Pipeline] sh [2021-06-27T07:49:50.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:49:50.885Z] ---> package-listing.sh [2021-06-27T07:49:50.885Z] ++ facter osfamily [2021-06-27T07:49:50.885Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:49:51.148Z] + OS_FAMILY=redhat [2021-06-27T07:49:51.148Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:49:51.148Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:49:51.148Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:49:51.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:49:51.148Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:49:51.148Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:49:51.148Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:49:51.148Z] + case "${OS_FAMILY}" in [2021-06-27T07:49:51.148Z] + rpm -qa [2021-06-27T07:49:51.148Z] + sort [2021-06-27T07:49:51.748Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:49:51.748Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:49:51.748Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:49:51.748Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:49:51.748Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [2021-06-27T07:49:51.748Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [Pipeline] echo [2021-06-27T07:49:51.761Z] 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-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-27T07:49:52.049Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:52.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:49:52.624Z] [2021-06-27T07:49:52.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:52.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:49:52.943Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:49:52.943Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:49:52.943Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:49:52.943Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:49:52.943Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:49:52.943Z] 93b61091891f: Pulling fs layer [2021-06-27T07:49:52.943Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:49:52.943Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:49:52.943Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:49:52.943Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:49:52.943Z] 46f8f816bc3b: Waiting [2021-06-27T07:49:52.943Z] 93b61091891f: Waiting [2021-06-27T07:49:52.943Z] 93b9cdb0e59b: Waiting [2021-06-27T07:49:52.943Z] 5e14af77c1be: Waiting [2021-06-27T07:49:52.943Z] 01666e4c0597: Waiting [2021-06-27T07:49:52.943Z] aa168da1d23b: Waiting [2021-06-27T07:49:52.943Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:49:52.943Z] 36b3adc4ff6f: Download complete [2021-06-27T07:49:52.943Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:49:52.943Z] 46f8f816bc3b: Download complete [2021-06-27T07:49:52.943Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:49:52.943Z] df20fa9351a1: Download complete [2021-06-27T07:49:53.282Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:49:53.282Z] 93b9cdb0e59b: Download complete [2021-06-27T07:49:53.282Z] 93b61091891f: Verifying Checksum [2021-06-27T07:49:53.282Z] 93b61091891f: Download complete [2021-06-27T07:49:53.282Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:49:53.282Z] 5e14af77c1be: Download complete [2021-06-27T07:49:53.282Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:49:53.282Z] 01666e4c0597: Download complete [2021-06-27T07:49:53.282Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:49:53.282Z] 8ad3a11d3b57: Download complete [2021-06-27T07:49:53.282Z] df20fa9351a1: Pull complete [2021-06-27T07:49:53.638Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:49:54.218Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:49:54.218Z] 46f8f816bc3b: Pull complete [2021-06-27T07:49:54.480Z] 93b61091891f: Pull complete [2021-06-27T07:49:54.480Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:49:54.740Z] 5e14af77c1be: Pull complete [2021-06-27T07:49:54.740Z] 01666e4c0597: Pull complete [2021-06-27T07:49:55.003Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:49:55.004Z] aa168da1d23b: Download complete [2021-06-27T07:49:59.238Z] aa168da1d23b: Pull complete [2021-06-27T07:49:59.238Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:49:59.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:49:59.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:49:59.314Z] prd-centos7-docker-4c-2g-338 does not seem to be running inside a container [2021-06-27T07:49:59.361Z] $ 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-123/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-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-27T07:50:02.305Z] $ docker top 557d265d889e1aeaa87e5d259d54f990db50889cb2ac2a9c8388aa4ca5d6704d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:50:02.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:50:02.997Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:50:03.291Z] + ls /var/log/sa-host [2021-06-27T07:50:03.291Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:50:03.291Z] file_magic: OK [2021-06-27T07:50:03.291Z] HZ: Using current value: 100 [2021-06-27T07:50:03.291Z] file_header: OK [2021-06-27T07:50:03.291Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-27T07:50:03.291Z] Statistics: [2021-06-27T07:50:03.291Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:50:03.291Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:50:03.291Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:50:03.291Z] file_magic: OK [2021-06-27T07:50:03.291Z] HZ: Using current value: 100 [2021-06-27T07:50:03.291Z] file_header: OK [2021-06-27T07:50:03.291Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-27T07:50:03.291Z] Statistics: [2021-06-27T07:50:03.291Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:50:03.291Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:50:03.475Z] provisioning config files... [2021-06-27T07:50:03.486Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config2816489384779975956tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:50:03.516Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:03.816Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:50:03.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:04.227Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:50:04.237Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:04.533Z] ---> sudo-logs.sh [2021-06-27T07:50:04.533Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:50:04.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:04.876Z] ---> job-cost.sh [2021-06-27T07:50:04.876Z] lf-activate-venv: SKIPPING [2021-06-27T07:50:04.876Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:50:04.876Z] INFO: Retrieving Stack Cost... [2021-06-27T07:50:06.269Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:50:06.531Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:50:06.547Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:06.846Z] ---> logs-deploy.sh [2021-06-27T07:50:06.846Z] lf-activate-venv: SKIPPING [2021-06-27T07:50:06.846Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-123/5 [2021-06-27T07:50:06.846Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:50:07.790Z] Archives upload complete. [2021-06-27T07:50:07.790Z] INFO: archiving logs to Nexus