Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14913 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" > git rev-list --no-walk cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T17:28:02.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T17:28:02.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T17:28:03.047Z] ========================================================= [2020-12-07T17:28:03.047Z] EdgeX Global Pipelines Version Info [2020-12-07T17:28:03.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:28:04.485Z] ------------------- [2020-12-07T17:28:04.485Z] stable info: [2020-12-07T17:28:04.485Z] ------------------- [2020-12-07T17:28:04.485Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T17:28:04.485Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T17:28:04.485Z] Message: update stable to v1.0.169 [2020-12-07T17:28:05.879Z] ------------------- [2020-12-07T17:28:05.879Z] experimental info: [2020-12-07T17:28:05.879Z] ------------------- [2020-12-07T17:28:05.879Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T17:28:05.879Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T17:28:05.879Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T17:28:06.149Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-12-07T17:28:06.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-12-07T17:28:06.361Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T17:28:06.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T17:28:06.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T17:28:06.680Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T17:28:06.813Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T17:28:06.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T17:28:07.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T17:28:07.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T17:28:07.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T17:28:07.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-12-07T17:28:07.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T17:28:07.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T17:28:07.647Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T17:28:07.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T17:28:07.851Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T17:28:07.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T17:28:08.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T17:28:08.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T17:28:08.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T17:28:08.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T17:28:08.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T17:28:08.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T17:28:08.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T17:28:08.709Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T17:28:08.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-07T17:28:08.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-07T17:28:09.004Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-07T17:28:09.093Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] echo [2020-12-07T17:28:09.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b3704f [Pipeline] echo [2020-12-07T17:28:09.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:28:09.474Z] provisioning config files... [2020-12-07T17:28:09.501Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7382030901632678607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:28:09.866Z] ---> docker-login.sh [2020-12-07T17:28:09.866Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:28:10.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:28:10.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:28:10.399Z] Configure a credential helper to remove this warning. See [2020-12-07T17:28:10.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:28:10.399Z] [2020-12-07T17:28:10.399Z] Login Succeeded [2020-12-07T17:28:10.399Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:28:10.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:28:10.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:28:10.662Z] Configure a credential helper to remove this warning. See [2020-12-07T17:28:10.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:28:10.662Z] [2020-12-07T17:28:10.662Z] Login Succeeded [2020-12-07T17:28:10.662Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:28:10.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:28:10.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:28:10.662Z] Configure a credential helper to remove this warning. See [2020-12-07T17:28:10.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:28:10.662Z] [2020-12-07T17:28:10.662Z] Login Succeeded [2020-12-07T17:28:10.662Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:28:10.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:28:10.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:28:10.926Z] Configure a credential helper to remove this warning. See [2020-12-07T17:28:10.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:28:10.926Z] [2020-12-07T17:28:10.926Z] Login Succeeded [2020-12-07T17:28:10.926Z] docker.io [2020-12-07T17:28:11.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:28:11.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:28:11.452Z] Configure a credential helper to remove this warning. See [2020-12-07T17:28:11.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:28:11.452Z] [2020-12-07T17:28:11.452Z] Login Succeeded [2020-12-07T17:28:11.452Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:28:11.463Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:28:12.377Z] + git log --format=format:%s -1 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] echo [2020-12-07T17:28:12.470Z] GIT_COMMIT: 3b3704fceb7b97b6b41b020a3a5d9692cb604e42, Commit Message: Merge pull request #59 from siggiskulason/feat-snap-add-startup-config [Pipeline] echo [2020-12-07T17:28:12.519Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:28:13.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:28:13.254Z] [2020-12-07T17:28:13.254Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:28:13.674Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:28:13.674Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T17:28:13.674Z] 31603596830f: Pulling fs layer [2020-12-07T17:28:13.674Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T17:28:13.674Z] 6ca5941a6612: Pulling fs layer [2020-12-07T17:28:13.674Z] ecc8261a40a4: Pulling fs layer [2020-12-07T17:28:13.674Z] ecc8261a40a4: Waiting [2020-12-07T17:28:13.674Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T17:28:13.674Z] 2a8b12db71e7: Download complete [2020-12-07T17:28:13.674Z] 31603596830f: Verifying Checksum [2020-12-07T17:28:13.674Z] 31603596830f: Download complete [2020-12-07T17:28:13.945Z] ecc8261a40a4: Verifying Checksum [2020-12-07T17:28:13.945Z] ecc8261a40a4: Download complete [2020-12-07T17:28:13.945Z] 6ca5941a6612: Verifying Checksum [2020-12-07T17:28:13.945Z] 6ca5941a6612: Download complete [2020-12-07T17:28:14.211Z] 31603596830f: Pull complete [2020-12-07T17:28:14.211Z] 2a8b12db71e7: Pull complete [2020-12-07T17:28:15.162Z] 6ca5941a6612: Pull complete [2020-12-07T17:28:15.428Z] ecc8261a40a4: Pull complete [2020-12-07T17:28:15.428Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T17:28:15.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:28:15.428Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T17:28:15.555Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:28:15.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T17:28:17.670Z] $ docker top 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:28:17.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:28:17.979Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:28:18.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:28:18.214Z] $ docker exec 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent [2020-12-07T17:28:18.383Z] SSH_AUTH_SOCK=/tmp/ssh-n8z8bGZS4ynJ/agent.12 [2020-12-07T17:28:18.383Z] SSH_AGENT_PID=17 [2020-12-07T17:28:18.395Z] Running ssh-add (command line suppressed) [2020-12-07T17:28:18.517Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4695468009414506237.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4695468009414506237.key) [2020-12-07T17:28:18.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:28:18.943Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T17:28:18.969Z] $ docker exec --env ******** --env ******** 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent -k [2020-12-07T17:28:19.082Z] unset SSH_AUTH_SOCK; [2020-12-07T17:28:19.082Z] unset SSH_AGENT_PID; [2020-12-07T17:28:19.083Z] echo Agent pid 17 killed; [2020-12-07T17:28:19.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T17:28:19.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:28:19.279Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:28:19.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:28:19.451Z] $ docker exec 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent [2020-12-07T17:28:19.618Z] SSH_AUTH_SOCK=/tmp/ssh-hY04nm4GvLpG/agent.47 [2020-12-07T17:28:19.618Z] SSH_AGENT_PID=52 [2020-12-07T17:28:19.627Z] Running ssh-add (command line suppressed) [2020-12-07T17:28:19.747Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1205274200334768565.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1205274200334768565.key) [2020-12-07T17:28:19.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:28:20.134Z] + git semver init [2020-12-07T17:28:20.134Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:28:20.134Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-12-07T17:28:20.134Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-12-07T17:28:20.134Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:28:20.134Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:28:20.134Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:28:20.134Z] # $SEMVER_BRANCH = master [2020-12-07T17:28:20.134Z] # $SEMVER_TEMP = /tmp/semver-805552290 [2020-12-07T17:28:20.134Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-12-07T17:28:21.083Z] # '/tmp/semver-805552290' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-12-07T17:28:21.346Z] # -> Force: false [2020-12-07T17:28:21.346Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-12-07T17:28:21.362Z] $ docker exec --env ******** --env ******** 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent -k [2020-12-07T17:28:21.477Z] unset SSH_AUTH_SOCK; [2020-12-07T17:28:21.477Z] unset SSH_AGENT_PID; [2020-12-07T17:28:21.477Z] echo Agent pid 52 killed; [2020-12-07T17:28:21.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:28:22.001Z] + git semver [Pipeline] } [2020-12-07T17:28:22.021Z] $ docker stop --time=1 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 [2020-12-07T17:28:23.420Z] $ docker rm -f 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T17:28:24.043Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T17:28:24.540Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T17:28:24.542Z] [edgeXSemver]: initialized semver on version 1.2.1-dev.1 [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 [2020-12-07T17:28:40.082Z] Still waiting to schedule task [2020-12-07T17:28:40.083Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14898’ is offline; ‘prd-centos7-docker-4c-2g-14900’ is offline; ‘prd-centos7-docker-4c-2g-14914’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14908’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-07T17:28:40.085Z] Still waiting to schedule task [2020-12-07T17:28:40.085Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-07T17:30:04.726Z] Running on prd-centos7-docker-4c-2g-14917 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-12-07T17:30:04.778Z] Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout [2020-12-07T17:30:08.219Z] using credential edgex-jenkins-ssh [2020-12-07T17:30:08.279Z] Cloning the remote Git repository [2020-12-07T17:30:07.740Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:07.816Z] > git init /w/workspace/device-rest-go/28 # timeout=10 [2020-12-07T17:30:07.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:07.877Z] > git --version # timeout=10 [2020-12-07T17:30:07.885Z] > git --version # 'git version 2.24.3' [2020-12-07T17:30:07.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:30:07.911Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:30:09.798Z] Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) [2020-12-07T17:30:08.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T17:30:08.903Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:30:08.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T17:30:08.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:08.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:30:08.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T17:30:09.370Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T17:30:09.374Z] > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T17:30:13.204Z] Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:30:14.529Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:30:14.867Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:30:15.163Z] + sudo service docker restart [2020-12-07T17:30:15.163Z] + true [2020-12-07T17:30:15.163Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:30:16.620Z] provisioning config files... [2020-12-07T17:30:16.643Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config3299256639120830914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:30:17.020Z] ---> docker-login.sh [2020-12-07T17:30:17.020Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:30:17.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:17.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:17.283Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:17.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:17.283Z] [2020-12-07T17:30:17.283Z] Login Succeeded [2020-12-07T17:30:17.283Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:30:17.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:17.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:17.547Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:17.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:17.547Z] [2020-12-07T17:30:17.547Z] Login Succeeded [2020-12-07T17:30:17.547Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:30:17.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:17.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:17.810Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:17.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:17.810Z] [2020-12-07T17:30:17.810Z] Login Succeeded [2020-12-07T17:30:17.810Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:30:17.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:17.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:17.810Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:17.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:17.810Z] [2020-12-07T17:30:17.810Z] Login Succeeded [2020-12-07T17:30:17.810Z] docker.io [2020-12-07T17:30:18.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:18.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:18.336Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:18.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:18.336Z] [2020-12-07T17:30:18.336Z] Login Succeeded [2020-12-07T17:30:18.336Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:30:18.346Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T17:30:18.635Z] ========================================================= [2020-12-07T17:30:18.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T17:30:18.635Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:30:18.978Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-07T17:30:18.978Z] Sending build context to Docker daemon 84.48kB [2020-12-07T17:30:18.978Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T17:30:18.978Z] Step 2/10 : FROM ${BASE} [2020-12-07T17:30:18.978Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T17:30:18.978Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T17:30:18.978Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T17:30:18.978Z] de9db76c5a1d: Pulling fs layer [2020-12-07T17:30:18.978Z] bca2f99d35d6: Pulling fs layer [2020-12-07T17:30:18.978Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T17:30:18.978Z] 7c6f9722023f: Pulling fs layer [2020-12-07T17:30:18.978Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T17:30:18.978Z] 93359f2a8cfa: Waiting [2020-12-07T17:30:18.978Z] 7c6f9722023f: Waiting [2020-12-07T17:30:18.978Z] a35cf1a2eb13: Waiting [2020-12-07T17:30:18.978Z] bca2f99d35d6: Waiting [2020-12-07T17:30:19.240Z] de9db76c5a1d: Verifying Checksum [2020-12-07T17:30:19.240Z] de9db76c5a1d: Download complete [2020-12-07T17:30:19.240Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T17:30:19.240Z] 0ef7d3d256c8: Download complete [2020-12-07T17:30:19.240Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T17:30:19.240Z] 93359f2a8cfa: Download complete [2020-12-07T17:30:19.240Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T17:30:19.240Z] 188c0c94c7c5: Download complete [2020-12-07T17:30:19.240Z] 7c6f9722023f: Verifying Checksum [2020-12-07T17:30:19.240Z] 7c6f9722023f: Download complete [2020-12-07T17:30:19.504Z] 188c0c94c7c5: Pull complete [2020-12-07T17:30:19.765Z] 0ef7d3d256c8: Pull complete [2020-12-07T17:30:19.766Z] de9db76c5a1d: Pull complete [2020-12-07T17:30:21.170Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T17:30:21.170Z] a35cf1a2eb13: Download complete [2020-12-07T17:30:21.743Z] bca2f99d35d6: Verifying Checksum [2020-12-07T17:30:21.743Z] bca2f99d35d6: Download complete [2020-12-07T17:30:26.244Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14916 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-12-07T17:30:26.302Z] Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout [2020-12-07T17:30:27.071Z] bca2f99d35d6: Pull complete [2020-12-07T17:30:27.071Z] 93359f2a8cfa: Pull complete [2020-12-07T17:30:27.071Z] 7c6f9722023f: Pull complete [2020-12-07T17:30:31.138Z] using credential edgex-jenkins-ssh [2020-12-07T17:30:31.195Z] Cloning the remote Git repository [2020-12-07T17:30:31.255Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:31.363Z] > git init /w/workspace/device-rest-go/28 # timeout=10 [2020-12-07T17:30:31.429Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:31.429Z] > git --version # timeout=10 [2020-12-07T17:30:31.453Z] > git --version # 'git version 2.17.1' [2020-12-07T17:30:31.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:30:31.550Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:30:33.477Z] Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) [2020-12-07T17:30:32.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T17:30:32.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:30:32.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T17:30:33.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T17:30:33.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:30:33.046Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T17:30:33.499Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T17:30:33.512Z] > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T17:30:35.248Z] a35cf1a2eb13: Pull complete [2020-12-07T17:30:35.248Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T17:30:35.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T17:30:35.248Z] ---> a62c8e92a672 [2020-12-07T17:30:35.248Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T17:30:35.248Z] ---> Running in cd04f8ef3653 [2020-12-07T17:30:35.248Z] Removing intermediate container cd04f8ef3653 [2020-12-07T17:30:35.248Z] ---> 84793c6a8536 [2020-12-07T17:30:35.248Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:30:35.248Z] ---> Running in 1d424236fa5e [2020-12-07T17:30:35.248Z] Removing intermediate container 1d424236fa5e [2020-12-07T17:30:35.248Z] ---> 4d973fa83378 [2020-12-07T17:30:35.248Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T17:30:35.248Z] ---> Running in 3481cf19d14a [2020-12-07T17:30:35.248Z] Removing intermediate container 3481cf19d14a [2020-12-07T17:30:35.248Z] ---> 0d4497b8d587 [2020-12-07T17:30:35.248Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:30:35.248Z] ---> Running in 0ad3dde605c2 [2020-12-07T17:30:36.202Z] Removing intermediate container 0ad3dde605c2 [2020-12-07T17:30:36.202Z] ---> 8724fc4ad144 [2020-12-07T17:30:36.202Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:30:36.202Z] ---> Running in a54751f62ea8 [2020-12-07T17:30:37.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T17:30:37.728Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T17:30:37.794Z] Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-12-07T17:30:38.307Z] OK: 166 MiB in 39 packages [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:30:38.571Z] Removing intermediate container a54751f62ea8 [2020-12-07T17:30:38.571Z] ---> ffb431107201 [2020-12-07T17:30:38.571Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T17:30:38.571Z] ---> Running in c34f4165f0b5 [2020-12-07T17:30:38.834Z] Removing intermediate container c34f4165f0b5 [2020-12-07T17:30:38.834Z] ---> 4d630593e6ce [2020-12-07T17:30:38.834Z] Step 9/10 : COPY . . [2020-12-07T17:30:39.096Z] ---> 41bf73447ab4 [2020-12-07T17:30:39.096Z] Step 10/10 : RUN go mod download [2020-12-07T17:30:39.096Z] ---> Running in 801086f4ec44 [2020-12-07T17:30:39.332Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:30:39.737Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:30:40.080Z] + true [2020-12-07T17:30:40.080Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:30:42.138Z] provisioning config files... [2020-12-07T17:30:42.173Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config7804842166146420502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:30:42.668Z] ---> docker-login.sh [2020-12-07T17:30:42.668Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:30:43.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:43.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:43.924Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:43.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:43.924Z] [2020-12-07T17:30:43.924Z] Login Succeeded [2020-12-07T17:30:43.924Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:30:44.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:44.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:44.474Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:44.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:44.474Z] [2020-12-07T17:30:44.474Z] Login Succeeded [2020-12-07T17:30:44.474Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:30:44.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:45.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:45.023Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:45.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:45.023Z] [2020-12-07T17:30:45.023Z] Login Succeeded [2020-12-07T17:30:45.023Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:30:45.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:45.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:45.574Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:45.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:45.574Z] [2020-12-07T17:30:45.574Z] Login Succeeded [2020-12-07T17:30:45.574Z] docker.io [2020-12-07T17:30:45.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:30:46.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:30:46.121Z] Configure a credential helper to remove this warning. See [2020-12-07T17:30:46.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:30:46.121Z] [2020-12-07T17:30:46.121Z] Login Succeeded [2020-12-07T17:30:46.121Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:30:46.138Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T17:30:46.551Z] ========================================================= [2020-12-07T17:30:46.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T17:30:46.551Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:30:46.923Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-07T17:30:46.923Z] Sending build context to Docker daemon 84.48kB [2020-12-07T17:30:47.196Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T17:30:47.196Z] Step 2/10 : FROM ${BASE} [2020-12-07T17:30:47.474Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T17:30:47.474Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T17:30:47.474Z] a4357932f1b6: Pulling fs layer [2020-12-07T17:30:47.474Z] 18c013af1878: Pulling fs layer [2020-12-07T17:30:47.474Z] 00ac8860ef70: Pulling fs layer [2020-12-07T17:30:47.474Z] 63d7cb157983: Pulling fs layer [2020-12-07T17:30:47.474Z] b116817d02f9: Pulling fs layer [2020-12-07T17:30:47.474Z] 745a02a5169b: Pulling fs layer [2020-12-07T17:30:47.474Z] b116817d02f9: Waiting [2020-12-07T17:30:47.474Z] 00ac8860ef70: Waiting [2020-12-07T17:30:47.474Z] 63d7cb157983: Waiting [2020-12-07T17:30:47.474Z] 745a02a5169b: Waiting [2020-12-07T17:30:47.474Z] 18c013af1878: Verifying Checksum [2020-12-07T17:30:47.474Z] 18c013af1878: Download complete [2020-12-07T17:30:47.474Z] a4357932f1b6: Verifying Checksum [2020-12-07T17:30:47.474Z] a4357932f1b6: Download complete [2020-12-07T17:30:47.474Z] 63d7cb157983: Verifying Checksum [2020-12-07T17:30:47.474Z] 63d7cb157983: Download complete [2020-12-07T17:30:47.474Z] b116817d02f9: Download complete [2020-12-07T17:30:47.474Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T17:30:47.474Z] 5f621e34cdf4: Download complete [2020-12-07T17:30:48.076Z] 5f621e34cdf4: Pull complete [2020-12-07T17:30:48.678Z] a4357932f1b6: Pull complete [2020-12-07T17:30:48.963Z] 18c013af1878: Pull complete [2020-12-07T17:30:49.953Z] 745a02a5169b: Verifying Checksum [2020-12-07T17:30:49.953Z] 745a02a5169b: Download complete [2020-12-07T17:30:50.954Z] 00ac8860ef70: Verifying Checksum [2020-12-07T17:30:50.954Z] 00ac8860ef70: Download complete [2020-12-07T17:30:57.275Z] Removing intermediate container 801086f4ec44 [2020-12-07T17:30:57.275Z] ---> 98fda9609382 [2020-12-07T17:30:57.275Z] Successfully built 98fda9609382 [2020-12-07T17:30:57.275Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:30:57.597Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T17:30:57.597Z] . [Pipeline] withDockerContainer [2020-12-07T17:30:57.832Z] prd-centos7-docker-4c-2g-14917 does not seem to be running inside a container [2020-12-07T17:30:57.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-x86_64 cat [2020-12-07T17:30:58.680Z] $ docker top b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:30:59.194Z] + go version [2020-12-07T17:30:59.194Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T17:30:59.220Z] $ docker stop --time=1 b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 [2020-12-07T17:31:00.579Z] $ docker rm -f b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-12-07T17:31:01.103Z] 00ac8860ef70: Pull complete [2020-12-07T17:31:01.103Z] 63d7cb157983: Pull complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:01.379Z] b116817d02f9: Pull complete [2020-12-07T17:31:01.466Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T17:31:01.466Z] . [Pipeline] withDockerContainer [2020-12-07T17:31:01.572Z] prd-centos7-docker-4c-2g-14917 does not seem to be running inside a container [2020-12-07T17:31:01.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-x86_64 cat [2020-12-07T17:31:02.877Z] $ docker top ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:31:03.378Z] + make test [2020-12-07T17:31:03.378Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T17:31:03.972Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T17:31:04.787Z] 745a02a5169b: Pull complete [2020-12-07T17:31:04.787Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T17:31:05.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T17:31:05.060Z] ---> b7e6874047d6 [2020-12-07T17:31:05.060Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T17:31:07.721Z] ---> Running in f0aac56503c8 [2020-12-07T17:31:08.320Z] Removing intermediate container f0aac56503c8 [2020-12-07T17:31:08.320Z] ---> 3f48543d211b [2020-12-07T17:31:08.320Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:31:08.320Z] ---> Running in b8da832b7c68 [2020-12-07T17:31:08.915Z] Removing intermediate container b8da832b7c68 [2020-12-07T17:31:08.915Z] ---> 60d757a59644 [2020-12-07T17:31:08.915Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T17:31:08.916Z] ---> Running in 447bcb2124fe [2020-12-07T17:31:09.514Z] Removing intermediate container 447bcb2124fe [2020-12-07T17:31:09.514Z] ---> a546685c9e56 [2020-12-07T17:31:09.514Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:31:09.514Z] ---> Running in e35ec907fdc1 [2020-12-07T17:31:12.139Z] Removing intermediate container e35ec907fdc1 [2020-12-07T17:31:12.139Z] ---> 1c2ae9829e9f [2020-12-07T17:31:12.139Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:31:12.139Z] ---> Running in f9b7bdec741f [2020-12-07T17:31:13.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T17:31:13.715Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T17:31:14.133Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-12-07T17:31:14.133Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.3% of statements [2020-12-07T17:31:14.315Z] OK: 142 MiB in 39 packages [2020-12-07T17:31:14.396Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T17:31:15.751Z] Removing intermediate container f9b7bdec741f [2020-12-07T17:31:15.751Z] ---> 77660ea4f1dd [2020-12-07T17:31:15.751Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T17:31:15.751Z] ---> Running in c74fa4aa67e0 [2020-12-07T17:31:16.028Z] Removing intermediate container c74fa4aa67e0 [2020-12-07T17:31:16.028Z] ---> dad1905e5483 [2020-12-07T17:31:16.028Z] Step 9/10 : COPY . . [2020-12-07T17:31:16.337Z] gofmt -l . [2020-12-07T17:31:16.337Z] [ "`gofmt -l .`" = "" ] [2020-12-07T17:31:16.600Z] ./bin/test-go-mod-tidy.sh [2020-12-07T17:31:16.863Z] ./bin/test-attribution-txt.sh [2020-12-07T17:31:17.012Z] ---> 7453258e7581 [2020-12-07T17:31:17.012Z] Step 10/10 : RUN go mod download [2020-12-07T17:31:17.012Z] ---> Running in 89ee05ce0838 [Pipeline] } [2020-12-07T17:31:17.141Z] $ docker stop --time=1 ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 [2020-12-07T17:31:19.339Z] $ docker rm -f ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T17:31:19.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T17:31:20.223Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-07T17:31:21.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T17:31:21.738Z] + ls -al . [2020-12-07T17:31:21.738Z] total 96 [2020-12-07T17:31:21.738Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 7 17:31 . [2020-12-07T17:31:21.738Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 7 17:30 .. [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 5294 Dec 7 17:30 Attribution.txt [2020-12-07T17:31:21.738Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 7 17:30 bin [2020-12-07T17:31:21.738Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 7 17:30 cmd [2020-12-07T17:31:21.738Z] -rw-r--r--. 1 jenkins jenkins 9369 Dec 7 17:31 coverage.out [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 1519 Dec 7 17:30 Dockerfile [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 989 Dec 7 17:30 Dockerfile.build [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 7 17:30 .dockerignore [2020-12-07T17:31:21.738Z] drwxrwxr-x. 2 jenkins jenkins 93 Dec 7 17:31 driver [2020-12-07T17:31:21.738Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 7 17:30 .git [2020-12-07T17:31:21.738Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 7 17:30 .github [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 339 Dec 7 17:30 .gitignore [2020-12-07T17:31:21.738Z] -rw-r--r--. 1 jenkins jenkins 267 Dec 7 17:31 go.mod [2020-12-07T17:31:21.738Z] -rw-r--r--. 1 jenkins jenkins 13790 Dec 7 17:31 go.sum [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 7 17:30 Jenkinsfile [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 7 17:30 LICENSE [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 951 Dec 7 17:30 Makefile [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 5917 Dec 7 17:30 README.md [2020-12-07T17:31:21.738Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 7 17:30 snap [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 7 17:28 VERSION [2020-12-07T17:31:21.738Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 7 17:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:22.045Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --label arch=amd64 --label version=1.2.1-dev.1 . [2020-12-07T17:31:22.045Z] Sending build context to Docker daemon 96.26kB [2020-12-07T17:31:22.045Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-12-07T17:31:22.045Z] Step 2/25 : FROM ${BASE} AS builder [2020-12-07T17:31:22.045Z] ---> 98fda9609382 [2020-12-07T17:31:22.045Z] Step 3/25 : ARG MAKE='make build' [2020-12-07T17:31:22.307Z] ---> Running in 4e4aea0f076e [2020-12-07T17:31:22.307Z] Removing intermediate container 4e4aea0f076e [2020-12-07T17:31:22.307Z] ---> 506ca5ae71fb [2020-12-07T17:31:22.307Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T17:31:22.307Z] ---> Running in 76edd1c34776 [2020-12-07T17:31:22.573Z] Removing intermediate container 76edd1c34776 [2020-12-07T17:31:22.573Z] ---> dae3ca1eebff [2020-12-07T17:31:22.573Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:31:22.573Z] ---> Running in 376500b01732 [2020-12-07T17:31:22.839Z] Removing intermediate container 376500b01732 [2020-12-07T17:31:22.839Z] ---> 9269b3f0122a [2020-12-07T17:31:22.839Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:31:22.839Z] ---> Running in 3061a816cfea [2020-12-07T17:31:24.235Z] Removing intermediate container 3061a816cfea [2020-12-07T17:31:24.235Z] ---> d53ad4ac6ec6 [2020-12-07T17:31:24.235Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:31:24.235Z] ---> Running in edd2e0fc2083 [2020-12-07T17:31:24.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T17:31:25.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T17:31:25.707Z] OK: 166 MiB in 39 packages [2020-12-07T17:31:26.282Z] Removing intermediate container edd2e0fc2083 [2020-12-07T17:31:26.282Z] ---> 0ad168b6f7f1 [2020-12-07T17:31:26.282Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-12-07T17:31:26.282Z] ---> Running in 9d5c1e0641dd [2020-12-07T17:31:26.545Z] Removing intermediate container 9d5c1e0641dd [2020-12-07T17:31:26.545Z] ---> 6d489d219a73 [2020-12-07T17:31:26.545Z] Step 9/25 : COPY go.mod . [2020-12-07T17:31:26.811Z] ---> bcb768e4ac1c [2020-12-07T17:31:26.811Z] Step 10/25 : COPY Makefile . [2020-12-07T17:31:26.811Z] ---> 866440f3d7ba [2020-12-07T17:31:26.811Z] Step 11/25 : RUN make update [2020-12-07T17:31:27.078Z] ---> Running in cf79d3669851 [2020-12-07T17:31:27.342Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-12-07T17:31:27.917Z] Removing intermediate container cf79d3669851 [2020-12-07T17:31:27.917Z] ---> 34db273a04d1 [2020-12-07T17:31:27.917Z] Step 12/25 : COPY . . [2020-12-07T17:31:28.181Z] ---> 3ec44682c09b [2020-12-07T17:31:28.181Z] Step 13/25 : RUN $MAKE [2020-12-07T17:31:28.181Z] ---> Running in afd8ddec54f4 [2020-12-07T17:31:28.770Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.1" -o cmd/device-rest-go ./cmd [2020-12-07T17:31:39.194Z] Removing intermediate container 89ee05ce0838 [2020-12-07T17:31:39.194Z] ---> 76b2396c05df [2020-12-07T17:31:39.194Z] Successfully built 76b2396c05df [2020-12-07T17:31:39.194Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:39.544Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T17:31:39.544Z] . [Pipeline] withDockerContainer [2020-12-07T17:31:39.809Z] prd-ubuntu18.04-docker-arm64-4c-16g-14916 does not seem to be running inside a container [2020-12-07T17:31:39.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-arm64 cat [2020-12-07T17:31:41.140Z] Removing intermediate container afd8ddec54f4 [2020-12-07T17:31:41.140Z] ---> 09b94967a4ef [2020-12-07T17:31:41.140Z] Step 14/25 : FROM alpine:latest [2020-12-07T17:31:41.140Z] latest: Pulling from library/alpine [2020-12-07T17:31:41.140Z] 188c0c94c7c5: Already exists [2020-12-07T17:31:41.140Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-07T17:31:41.140Z] Status: Downloaded newer image for alpine:latest [2020-12-07T17:31:41.140Z] ---> d6e46aa2470d [2020-12-07T17:31:41.140Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T17:31:41.140Z] ---> Running in bcae55130f95 [2020-12-07T17:31:41.140Z] Removing intermediate container bcae55130f95 [2020-12-07T17:31:41.140Z] ---> c93028586130 [2020-12-07T17:31:41.140Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-12-07T17:31:41.140Z] ---> Running in 13315e5beb9e [2020-12-07T17:31:41.140Z] Removing intermediate container 13315e5beb9e [2020-12-07T17:31:41.140Z] ---> 4dddbb4aa86c [2020-12-07T17:31:41.140Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-12-07T17:31:41.140Z] ---> 2e0b48ef9a18 [2020-12-07T17:31:41.140Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-12-07T17:31:41.140Z] ---> 4dcd223e7d45 [2020-12-07T17:31:41.140Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-12-07T17:31:41.387Z] $ docker top d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f -eo pid,comm [2020-12-07T17:31:41.720Z] ---> 82a40ca4b0b1 [2020-12-07T17:31:41.720Z] Step 20/25 : EXPOSE 49986 [2020-12-07T17:31:41.720Z] ---> Running in 7ccdd9ab8bae [2020-12-07T17:31:41.720Z] Removing intermediate container 7ccdd9ab8bae [2020-12-07T17:31:41.720Z] ---> 3142bbff17f4 [2020-12-07T17:31:41.720Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-12-07T17:31:41.720Z] ---> Running in 564dec89e98f [Pipeline] { [Pipeline] sh [2020-12-07T17:31:41.982Z] Removing intermediate container 564dec89e98f [2020-12-07T17:31:41.982Z] ---> 8c2b69b5363a [2020-12-07T17:31:41.982Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-12-07T17:31:41.982Z] ---> Running in aff34cab2922 [2020-12-07T17:31:42.246Z] Removing intermediate container aff34cab2922 [2020-12-07T17:31:42.246Z] ---> c379755404ac [2020-12-07T17:31:42.246Z] Step 23/25 : LABEL arch=amd64 [2020-12-07T17:31:42.246Z] ---> Running in 080ab4f067e6 [2020-12-07T17:31:42.413Z] + go version [2020-12-07T17:31:42.413Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T17:31:42.441Z] $ docker stop --time=1 d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f [2020-12-07T17:31:42.508Z] Removing intermediate container 080ab4f067e6 [2020-12-07T17:31:42.508Z] ---> fc3ef241aa17 [2020-12-07T17:31:42.508Z] Step 24/25 : LABEL git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:31:42.508Z] ---> Running in df605758d952 [2020-12-07T17:31:42.798Z] Removing intermediate container df605758d952 [2020-12-07T17:31:42.798Z] ---> 80b25e3a9f84 [2020-12-07T17:31:42.798Z] Step 25/25 : LABEL version=1.2.1-dev.1 [2020-12-07T17:31:42.798Z] ---> Running in d5326a4c18e6 [2020-12-07T17:31:42.798Z] Removing intermediate container d5326a4c18e6 [2020-12-07T17:31:42.798Z] ---> fa091694191e [2020-12-07T17:31:42.798Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T17:31:42.798Z] Successfully built fa091694191e [2020-12-07T17:31:42.798Z] Successfully tagged docker-device-rest-go:latest [2020-12-07T17:31:44.241Z] $ docker rm -f d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:31:45.302Z] provisioning config files... [2020-12-07T17:31:45.327Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config655251198418834844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:31:45.501Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T17:31:45.501Z] . [Pipeline] withDockerContainer [2020-12-07T17:31:45.687Z] ---> docker-login.sh [2020-12-07T17:31:45.687Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:31:45.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:31:45.723Z] prd-ubuntu18.04-docker-arm64-4c-16g-14916 does not seem to be running inside a container [2020-12-07T17:31:45.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-arm64 cat [2020-12-07T17:31:45.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:31:45.949Z] Configure a credential helper to remove this warning. See [2020-12-07T17:31:45.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:31:45.949Z] [2020-12-07T17:31:45.949Z] Login Succeeded [2020-12-07T17:31:45.949Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:31:45.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:31:45.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:31:45.949Z] Configure a credential helper to remove this warning. See [2020-12-07T17:31:45.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:31:45.949Z] [2020-12-07T17:31:45.949Z] Login Succeeded [2020-12-07T17:31:45.949Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:31:46.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:31:46.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:31:46.210Z] Configure a credential helper to remove this warning. See [2020-12-07T17:31:46.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:31:46.210Z] [2020-12-07T17:31:46.210Z] Login Succeeded [2020-12-07T17:31:46.210Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:31:46.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:31:46.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:31:46.471Z] Configure a credential helper to remove this warning. See [2020-12-07T17:31:46.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:31:46.471Z] [2020-12-07T17:31:46.471Z] Login Succeeded [2020-12-07T17:31:46.471Z] docker.io [2020-12-07T17:31:46.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:31:46.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:31:46.733Z] Configure a credential helper to remove this warning. See [2020-12-07T17:31:46.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:31:46.733Z] [2020-12-07T17:31:46.733Z] Login Succeeded [2020-12-07T17:31:46.733Z] ---> docker-login.sh ends [2020-12-07T17:31:47.219Z] $ docker top 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-07T17:31:47.591Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:31:47.892Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-12-07T17:31:47.892Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:31:47.892Z] latest [2020-12-07T17:31:47.892Z] 1.2.1-dev.1 [2020-12-07T17:31:47.892Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:31:47.892Z] master [2020-12-07T17:31:47.892Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:48.333Z] + make test [2020-12-07T17:31:48.333Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T17:31:48.445Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:48.741Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:31:48.741Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-12-07T17:31:48.741Z] 27150a12f334: Preparing [2020-12-07T17:31:48.741Z] bd0fa72a236a: Preparing [2020-12-07T17:31:48.741Z] b3572400db8f: Preparing [2020-12-07T17:31:48.741Z] ace0eda3e3be: Preparing [2020-12-07T17:31:48.741Z] ace0eda3e3be: Layer already exists [2020-12-07T17:31:49.003Z] bd0fa72a236a: Pushed [2020-12-07T17:31:49.003Z] b3572400db8f: Pushed [2020-12-07T17:31:49.318Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T17:31:49.948Z] 27150a12f334: Pushed [2020-12-07T17:31:50.209Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:50.513Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:50.812Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-12-07T17:31:50.812Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-12-07T17:31:50.812Z] 27150a12f334: Preparing [2020-12-07T17:31:50.812Z] bd0fa72a236a: Preparing [2020-12-07T17:31:50.812Z] b3572400db8f: Preparing [2020-12-07T17:31:50.812Z] ace0eda3e3be: Preparing [2020-12-07T17:31:50.812Z] bd0fa72a236a: Layer already exists [2020-12-07T17:31:50.812Z] 27150a12f334: Layer already exists [2020-12-07T17:31:50.812Z] b3572400db8f: Layer already exists [2020-12-07T17:31:50.812Z] ace0eda3e3be: Layer already exists [2020-12-07T17:31:50.812Z] latest: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:51.117Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:51.415Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 [2020-12-07T17:31:51.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-12-07T17:31:51.415Z] 27150a12f334: Preparing [2020-12-07T17:31:51.415Z] bd0fa72a236a: Preparing [2020-12-07T17:31:51.415Z] b3572400db8f: Preparing [2020-12-07T17:31:51.415Z] ace0eda3e3be: Preparing [2020-12-07T17:31:51.415Z] ace0eda3e3be: Layer already exists [2020-12-07T17:31:51.415Z] b3572400db8f: Layer already exists [2020-12-07T17:31:51.415Z] bd0fa72a236a: Layer already exists [2020-12-07T17:31:51.415Z] 27150a12f334: Layer already exists [2020-12-07T17:31:51.415Z] 1.2.1-dev.1: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:51.719Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:52.017Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:31:52.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-12-07T17:31:52.017Z] 27150a12f334: Preparing [2020-12-07T17:31:52.017Z] bd0fa72a236a: Preparing [2020-12-07T17:31:52.017Z] b3572400db8f: Preparing [2020-12-07T17:31:52.017Z] ace0eda3e3be: Preparing [2020-12-07T17:31:52.017Z] 27150a12f334: Layer already exists [2020-12-07T17:31:52.017Z] ace0eda3e3be: Layer already exists [2020-12-07T17:31:52.017Z] bd0fa72a236a: Layer already exists [2020-12-07T17:31:52.017Z] b3572400db8f: Layer already exists [2020-12-07T17:31:52.017Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:52.322Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:31:52.623Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-12-07T17:31:52.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-12-07T17:31:52.623Z] 27150a12f334: Preparing [2020-12-07T17:31:52.623Z] bd0fa72a236a: Preparing [2020-12-07T17:31:52.623Z] b3572400db8f: Preparing [2020-12-07T17:31:52.623Z] ace0eda3e3be: Preparing [2020-12-07T17:31:52.623Z] 27150a12f334: Layer already exists [2020-12-07T17:31:52.623Z] bd0fa72a236a: Layer already exists [2020-12-07T17:31:52.623Z] ace0eda3e3be: Layer already exists [2020-12-07T17:31:52.623Z] b3572400db8f: Layer already exists [2020-12-07T17:31:52.623Z] master: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:31:52.865Z] ===================================================== [Pipeline] echo [2020-12-07T17:31:52.916Z] taggedImages: [2020-12-07T17:31:52.916Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:31:52.916Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-12-07T17:31:52.916Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 [2020-12-07T17:31:52.916Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:31:52.916Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T17:32:28.352Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-12-07T17:32:28.352Z] ok github.com/edgexfoundry/device-rest-go/driver 0.096s coverage: 56.3% of statements [2020-12-07T17:32:28.352Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T17:32:30.338Z] gofmt -l . [2020-12-07T17:32:30.339Z] [ "`gofmt -l .`" = "" ] [2020-12-07T17:32:30.339Z] ./bin/test-go-mod-tidy.sh [2020-12-07T17:32:30.937Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-12-07T17:32:31.560Z] $ docker stop --time=1 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 [2020-12-07T17:32:33.865Z] $ docker rm -f 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T17:32:34.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T17:32:34.776Z] Warning: overwriting stash ‘coverage-report’ [2020-12-07T17:32:35.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:32:36.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T17:32:36.800Z] + ls -al . [2020-12-07T17:32:36.801Z] total 124 [2020-12-07T17:32:36.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 17:32 . [2020-12-07T17:32:36.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:30 .. [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 7 17:30 .dockerignore [2020-12-07T17:32:36.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 17:30 .git [2020-12-07T17:32:36.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:30 .github [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 339 Dec 7 17:30 .gitignore [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 5294 Dec 7 17:30 Attribution.txt [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 1519 Dec 7 17:30 Dockerfile [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 989 Dec 7 17:30 Dockerfile.build [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 7 17:30 Jenkinsfile [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 7 17:30 LICENSE [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 951 Dec 7 17:30 Makefile [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 5917 Dec 7 17:30 README.md [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 7 17:28 VERSION [2020-12-07T17:32:36.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:30 bin [2020-12-07T17:32:36.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 17:30 cmd [2020-12-07T17:32:36.801Z] -rw-r--r-- 1 jenkins jenkins 9369 Dec 7 17:32 coverage.out [2020-12-07T17:32:36.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:32 driver [2020-12-07T17:32:36.801Z] -rw-r--r-- 1 jenkins jenkins 267 Dec 7 17:32 go.mod [2020-12-07T17:32:36.801Z] -rw-r--r-- 1 jenkins jenkins 13790 Dec 7 17:32 go.sum [2020-12-07T17:32:36.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:30 snap [2020-12-07T17:32:36.801Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 7 17:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:32:37.162Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --label arch=arm64 --label version=1.2.1-dev.1 . [2020-12-07T17:32:37.162Z] Sending build context to Docker daemon 96.26kB [2020-12-07T17:32:37.438Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-12-07T17:32:37.438Z] Step 2/25 : FROM ${BASE} AS builder [2020-12-07T17:32:37.438Z] ---> 76b2396c05df [2020-12-07T17:32:37.438Z] Step 3/25 : ARG MAKE='make build' [2020-12-07T17:32:37.710Z] ---> Running in 1e561fc290bb [2020-12-07T17:32:37.983Z] Removing intermediate container 1e561fc290bb [2020-12-07T17:32:37.983Z] ---> d6ed86edc45b [2020-12-07T17:32:37.983Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T17:32:38.259Z] ---> Running in d7913f92c656 [2020-12-07T17:32:38.533Z] Removing intermediate container d7913f92c656 [2020-12-07T17:32:38.533Z] ---> b3618f0423c7 [2020-12-07T17:32:38.533Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:32:38.808Z] ---> Running in 69c1c99e05e3 [2020-12-07T17:32:39.404Z] Removing intermediate container 69c1c99e05e3 [2020-12-07T17:32:39.404Z] ---> 72c35504c479 [2020-12-07T17:32:39.404Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:32:39.404Z] ---> Running in 6ae967774f7e [2020-12-07T17:32:41.383Z] Removing intermediate container 6ae967774f7e [2020-12-07T17:32:41.383Z] ---> 12608e4106a7 [2020-12-07T17:32:41.383Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:32:41.658Z] ---> Running in 4dfcb2352b75 [2020-12-07T17:32:42.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T17:32:43.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T17:32:43.821Z] OK: 142 MiB in 39 packages [2020-12-07T17:32:45.297Z] Removing intermediate container 4dfcb2352b75 [2020-12-07T17:32:45.297Z] ---> 7375c44ea08c [2020-12-07T17:32:45.297Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-12-07T17:32:45.297Z] ---> Running in a19f8c2a4531 [2020-12-07T17:32:45.569Z] Removing intermediate container a19f8c2a4531 [2020-12-07T17:32:45.569Z] ---> 3cf73fa6cffd [2020-12-07T17:32:45.569Z] Step 9/25 : COPY go.mod . [2020-12-07T17:32:46.544Z] ---> 96faa0be4fa7 [2020-12-07T17:32:46.544Z] Step 10/25 : COPY Makefile . [2020-12-07T17:32:46.817Z] ---> f3cbf49bc7ca [2020-12-07T17:32:46.817Z] Step 11/25 : RUN make update [2020-12-07T17:32:47.092Z] ---> Running in 6cfe29d85577 [2020-12-07T17:32:48.079Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-12-07T17:32:49.510Z] Removing intermediate container 6cfe29d85577 [2020-12-07T17:32:49.510Z] ---> bcfe8da476ce [2020-12-07T17:32:49.510Z] Step 12/25 : COPY . . [2020-12-07T17:32:50.104Z] ---> 79f74ee487c9 [2020-12-07T17:32:50.104Z] Step 13/25 : RUN $MAKE [2020-12-07T17:32:50.379Z] ---> Running in 664dbe5de980 [2020-12-07T17:32:51.368Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.1" -o cmd/device-rest-go ./cmd [2020-12-07T17:33:18.174Z] Removing intermediate container 664dbe5de980 [2020-12-07T17:33:18.174Z] ---> c023d712ed95 [2020-12-07T17:33:18.174Z] Step 14/25 : FROM alpine:latest [2020-12-07T17:33:18.174Z] latest: Pulling from library/alpine [2020-12-07T17:33:18.446Z] 5f621e34cdf4: Already exists [2020-12-07T17:33:18.446Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-07T17:33:18.446Z] Status: Downloaded newer image for alpine:latest [2020-12-07T17:33:18.446Z] ---> 2e77e061c27f [2020-12-07T17:33:18.446Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T17:33:18.720Z] ---> Running in 53eafc100f9c [2020-12-07T17:33:19.011Z] Removing intermediate container 53eafc100f9c [2020-12-07T17:33:19.011Z] ---> 4deef4c2a4c0 [2020-12-07T17:33:19.011Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-12-07T17:33:19.289Z] ---> Running in 6b2d83bf167c [2020-12-07T17:33:19.881Z] Removing intermediate container 6b2d83bf167c [2020-12-07T17:33:19.881Z] ---> a1118e6bc328 [2020-12-07T17:33:19.881Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-12-07T17:33:20.480Z] ---> 6db591b67403 [2020-12-07T17:33:20.480Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-12-07T17:33:21.078Z] ---> 2f50c3c46273 [2020-12-07T17:33:21.078Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-12-07T17:33:22.514Z] ---> 23242c7fa429 [2020-12-07T17:33:22.514Z] Step 20/25 : EXPOSE 49986 [2020-12-07T17:33:22.514Z] ---> Running in 0f7de9c2fdea [2020-12-07T17:33:22.785Z] Removing intermediate container 0f7de9c2fdea [2020-12-07T17:33:22.785Z] ---> 8f0f38952c77 [2020-12-07T17:33:22.785Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-12-07T17:33:23.058Z] ---> Running in 94bf864f21b5 [2020-12-07T17:33:23.329Z] Removing intermediate container 94bf864f21b5 [2020-12-07T17:33:23.329Z] ---> 271ceb7ade76 [2020-12-07T17:33:23.329Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-12-07T17:33:23.598Z] ---> Running in e94d627ceb23 [2020-12-07T17:33:23.870Z] Removing intermediate container e94d627ceb23 [2020-12-07T17:33:23.870Z] ---> 7a77c33687d3 [2020-12-07T17:33:23.870Z] Step 23/25 : LABEL arch=arm64 [2020-12-07T17:33:24.142Z] ---> Running in 7fa83e8a7a5f [2020-12-07T17:33:24.413Z] Removing intermediate container 7fa83e8a7a5f [2020-12-07T17:33:24.413Z] ---> 85874f492889 [2020-12-07T17:33:24.413Z] Step 24/25 : LABEL git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:33:24.685Z] ---> Running in db5e6149e88a [2020-12-07T17:33:25.278Z] Removing intermediate container db5e6149e88a [2020-12-07T17:33:25.278Z] ---> 2d23691624cd [2020-12-07T17:33:25.278Z] Step 25/25 : LABEL version=1.2.1-dev.1 [2020-12-07T17:33:25.278Z] ---> Running in db88a9f2da76 [2020-12-07T17:33:25.548Z] Removing intermediate container db88a9f2da76 [2020-12-07T17:33:25.548Z] ---> 645db50f0373 [2020-12-07T17:33:25.549Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T17:33:25.549Z] Successfully built 645db50f0373 [2020-12-07T17:33:25.549Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:33:26.366Z] provisioning config files... [2020-12-07T17:33:26.401Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config4176926309560723567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:33:26.795Z] ---> docker-login.sh [2020-12-07T17:33:26.795Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:33:27.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:27.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:27.659Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:27.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:27.659Z] [2020-12-07T17:33:27.659Z] Login Succeeded [2020-12-07T17:33:27.659Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:33:27.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:28.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:28.203Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:28.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:28.203Z] [2020-12-07T17:33:28.203Z] Login Succeeded [2020-12-07T17:33:28.203Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:33:28.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:28.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:28.748Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:28.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:28.748Z] [2020-12-07T17:33:28.748Z] Login Succeeded [2020-12-07T17:33:28.748Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:33:29.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:29.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:29.022Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:29.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:29.022Z] [2020-12-07T17:33:29.022Z] Login Succeeded [2020-12-07T17:33:29.295Z] docker.io [2020-12-07T17:33:29.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:29.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:29.838Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:29.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:29.838Z] [2020-12-07T17:33:29.838Z] Login Succeeded [2020-12-07T17:33:29.838Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:33:29.854Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:33:30.082Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-12-07T17:33:30.082Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:33:30.082Z] latest [2020-12-07T17:33:30.082Z] 1.2.1-dev.1 [2020-12-07T17:33:30.082Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:33:30.082Z] master [2020-12-07T17:33:30.082Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:30.674Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:31.013Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:33:31.013Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-12-07T17:33:31.013Z] e3142cbbd1ab: Preparing [2020-12-07T17:33:31.013Z] bd9d144af2a5: Preparing [2020-12-07T17:33:31.013Z] b3e0065da6d4: Preparing [2020-12-07T17:33:31.013Z] cd3761cfa1d9: Preparing [2020-12-07T17:33:31.285Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:33:31.285Z] bd9d144af2a5: Pushed [2020-12-07T17:33:31.285Z] b3e0065da6d4: Pushed [2020-12-07T17:33:33.885Z] e3142cbbd1ab: Pushed [2020-12-07T17:33:33.885Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:34.228Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:34.562Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-12-07T17:33:34.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-12-07T17:33:34.562Z] e3142cbbd1ab: Preparing [2020-12-07T17:33:34.562Z] bd9d144af2a5: Preparing [2020-12-07T17:33:34.562Z] b3e0065da6d4: Preparing [2020-12-07T17:33:34.562Z] cd3761cfa1d9: Preparing [2020-12-07T17:33:34.562Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:33:34.834Z] bd9d144af2a5: Layer already exists [2020-12-07T17:33:34.834Z] b3e0065da6d4: Layer already exists [2020-12-07T17:33:34.834Z] e3142cbbd1ab: Layer already exists [2020-12-07T17:33:34.834Z] latest: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:35.175Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:35.513Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 [2020-12-07T17:33:35.513Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-12-07T17:33:35.513Z] e3142cbbd1ab: Preparing [2020-12-07T17:33:35.513Z] bd9d144af2a5: Preparing [2020-12-07T17:33:35.513Z] b3e0065da6d4: Preparing [2020-12-07T17:33:35.513Z] cd3761cfa1d9: Preparing [2020-12-07T17:33:35.783Z] bd9d144af2a5: Layer already exists [2020-12-07T17:33:35.783Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:33:35.783Z] e3142cbbd1ab: Layer already exists [2020-12-07T17:33:35.783Z] b3e0065da6d4: Layer already exists [2020-12-07T17:33:35.783Z] 1.2.1-dev.1: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:36.124Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:36.458Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:33:36.458Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-12-07T17:33:36.458Z] e3142cbbd1ab: Preparing [2020-12-07T17:33:36.458Z] bd9d144af2a5: Preparing [2020-12-07T17:33:36.458Z] b3e0065da6d4: Preparing [2020-12-07T17:33:36.458Z] cd3761cfa1d9: Preparing [2020-12-07T17:33:36.458Z] e3142cbbd1ab: Layer already exists [2020-12-07T17:33:36.458Z] b3e0065da6d4: Layer already exists [2020-12-07T17:33:36.458Z] bd9d144af2a5: Layer already exists [2020-12-07T17:33:36.458Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:33:36.733Z] 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:37.080Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:37.414Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-12-07T17:33:37.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-12-07T17:33:37.414Z] e3142cbbd1ab: Preparing [2020-12-07T17:33:37.414Z] bd9d144af2a5: Preparing [2020-12-07T17:33:37.414Z] b3e0065da6d4: Preparing [2020-12-07T17:33:37.414Z] cd3761cfa1d9: Preparing [2020-12-07T17:33:37.684Z] e3142cbbd1ab: Layer already exists [2020-12-07T17:33:37.684Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:33:37.684Z] b3e0065da6d4: Layer already exists [2020-12-07T17:33:37.684Z] bd9d144af2a5: Layer already exists [2020-12-07T17:33:37.684Z] master: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:33:38.019Z] ===================================================== [Pipeline] echo [2020-12-07T17:33:38.075Z] taggedImages: [2020-12-07T17:33:38.075Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [2020-12-07T17:33:38.075Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-12-07T17:33:38.075Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 [2020-12-07T17:33:38.075Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [2020-12-07T17:33:38.075Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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] wrap [2020-12-07T17:33:39.298Z] provisioning config files... [2020-12-07T17:33:39.309Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1976621551592079838tmp [Pipeline] { [Pipeline] sh [2020-12-07T17:33:39.705Z] + set +x [2020-12-07T17:33:39.705Z] + curl -s https://codecov.io/bash [2020-12-07T17:33:39.705Z] + bash -s -- [2020-12-07T17:33:39.967Z] [2020-12-07T17:33:39.967Z] _____ _ [2020-12-07T17:33:39.967Z] / ____| | | [2020-12-07T17:33:39.967Z] | | ___ __| | ___ ___ _____ __ [2020-12-07T17:33:39.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-07T17:33:39.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-07T17:33:39.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-07T17:33:39.967Z] Bash-20201130-cc6d3fe [2020-12-07T17:33:39.967Z] [2020-12-07T17:33:39.967Z] [2020-12-07T17:33:39.967Z] ==> Jenkins CI detected. [2020-12-07T17:33:39.967Z] project root: . [2020-12-07T17:33:39.967Z] --> token set from env [2020-12-07T17:33:39.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-07T17:33:39.967Z] ==> Running gcov in . (disable via -X gcov) [2020-12-07T17:33:39.967Z] ==> Python coveragepy not found [2020-12-07T17:33:39.967Z] ==> Searching for coverage reports in: [2020-12-07T17:33:39.967Z] + . [2020-12-07T17:33:39.967Z] -> Found 1 reports [2020-12-07T17:33:39.967Z] ==> Detecting git/mercurial file structure [2020-12-07T17:33:39.967Z] ==> Reading reports [2020-12-07T17:33:39.967Z] + ./coverage.out bytes=9369 [2020-12-07T17:33:39.967Z] ==> Appending adjustments [2020-12-07T17:33:39.967Z] https://docs.codecov.io/docs/fixing-reports [2020-12-07T17:33:40.241Z] + Found adjustments [2020-12-07T17:33:40.241Z] ==> Gzipping contents [2020-12-07T17:33:40.241Z] 4.0K /tmp/codecov.Wri3UV.gz [2020-12-07T17:33:40.241Z] ==> Uploading reports [2020-12-07T17:33:40.241Z] url: https://codecov.io [2020-12-07T17:33:40.241Z] query: branch=master&commit=3b3704fceb7b97b6b41b020a3a5d9692cb604e42&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T17:33:40.241Z] -> Pinging Codecov [2020-12-07T17:33:40.241Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=3b3704fceb7b97b6b41b020a3a5d9692cb604e42&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T17:33:40.503Z] -> Uploading to [2020-12-07T17:33:40.503Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-07/4E5D53B4F1F92C436F7061BF334D961C/3b3704fceb7b97b6b41b020a3a5d9692cb604e42/edadfe36-4c09-42a9-868b-9ce462391b2b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201207T173340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69cbd0f09ae1240e7926bd6daff84e954a8548cae1f32dbe6fb3eaeed94757cb [2020-12-07T17:33:40.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-07T17:33:40.503Z] Dload Upload Total Spent Left Speed [2020-12-07T17:33:41.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4221 --:--:-- --:--:-- --:--:-- 4230 [2020-12-07T17:33:41.080Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] } [2020-12-07T17:33:41.089Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-07T17:33:41.594Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-07T17:33:41.654Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:41.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:33:41.998Z] [2020-12-07T17:33:41.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:42.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:33:42.355Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-07T17:33:42.355Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T17:33:42.355Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T17:33:42.355Z] de9db76c5a1d: Pulling fs layer [2020-12-07T17:33:42.355Z] 0eba1c9be4d2: Pulling fs layer [2020-12-07T17:33:42.355Z] 0d57e429df01: Pulling fs layer [2020-12-07T17:33:42.355Z] 4e4be7b47b0d: Pulling fs layer [2020-12-07T17:33:42.355Z] e1f770b5df2f: Pulling fs layer [2020-12-07T17:33:42.355Z] 85a0685a4137: Pulling fs layer [2020-12-07T17:33:42.355Z] 4e4be7b47b0d: Waiting [2020-12-07T17:33:42.355Z] e1f770b5df2f: Waiting [2020-12-07T17:33:42.355Z] 0eba1c9be4d2: Waiting [2020-12-07T17:33:42.355Z] 0d57e429df01: Waiting [2020-12-07T17:33:42.355Z] 85a0685a4137: Waiting [2020-12-07T17:33:42.355Z] de9db76c5a1d: Verifying Checksum [2020-12-07T17:33:42.355Z] de9db76c5a1d: Download complete [2020-12-07T17:33:42.355Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T17:33:42.355Z] 0ef7d3d256c8: Download complete [2020-12-07T17:33:42.355Z] 0d57e429df01: Verifying Checksum [2020-12-07T17:33:42.355Z] 0d57e429df01: Download complete [2020-12-07T17:33:42.355Z] 4e4be7b47b0d: Verifying Checksum [2020-12-07T17:33:42.355Z] 4e4be7b47b0d: Download complete [2020-12-07T17:33:42.618Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T17:33:42.618Z] 188c0c94c7c5: Download complete [2020-12-07T17:33:42.886Z] 188c0c94c7c5: Pull complete [2020-12-07T17:33:43.150Z] 0ef7d3d256c8: Pull complete [2020-12-07T17:33:43.150Z] de9db76c5a1d: Pull complete [2020-12-07T17:33:43.731Z] e1f770b5df2f: Verifying Checksum [2020-12-07T17:33:43.731Z] e1f770b5df2f: Download complete [2020-12-07T17:33:46.305Z] 85a0685a4137: Verifying Checksum [2020-12-07T17:33:46.305Z] 85a0685a4137: Download complete [2020-12-07T17:33:46.305Z] 0eba1c9be4d2: Verifying Checksum [2020-12-07T17:33:46.305Z] 0eba1c9be4d2: Download complete [2020-12-07T17:33:51.638Z] 0eba1c9be4d2: Pull complete [2020-12-07T17:33:51.638Z] 0d57e429df01: Pull complete [2020-12-07T17:33:51.638Z] 4e4be7b47b0d: Pull complete [2020-12-07T17:33:53.566Z] e1f770b5df2f: Pull complete [2020-12-07T17:34:01.751Z] 85a0685a4137: Pull complete [2020-12-07T17:34:01.751Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-07T17:34:01.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:34:01.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-07T17:34:01.952Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:34:02.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-07T17:34:02.994Z] $ docker top e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-07T17:34:03.270Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-07T17:34:03.568Z] + set -o pipefail [2020-12-07T17:34:03.568Z] + snyk monitor '--org=edgex-jenkins' [2020-12-07T17:34:10.191Z] [2020-12-07T17:34:10.191Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-12-07T17:34:10.191Z] [2020-12-07T17:34:10.191Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/37556a71-d97b-43d1-b0c6-b3da041f254e [2020-12-07T17:34:10.191Z] [2020-12-07T17:34:10.191Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-07T17:34:10.191Z] [2020-12-07T17:34:10.191Z] [Pipeline] } [2020-12-07T17:34:10.209Z] $ docker stop --time=1 e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 [2020-12-07T17:34:12.868Z] $ docker rm -f e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-07T17:34:13.762Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42, dockerFile=Dockerfile [Pipeline] echo [2020-12-07T17:34:13.765Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-07T17:34:14.057Z] + set -o pipefail [2020-12-07T17:34:14.057Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-07T17:34:14.057Z] + tee .snyk [2020-12-07T17:34:14.321Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-07T17:34:14.321Z] version: v1.14.1 [2020-12-07T17:34:14.321Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-07T17:34:14.321Z] ignore: [2020-12-07T17:34:14.321Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-07T17:34:14.321Z] - '*': [2020-12-07T17:34:14.321Z] reason: does not apply # justification for ignoring [2020-12-07T17:34:14.321Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-07T17:34:14.321Z] SNYK-ALPINE312-JQ-588886: [2020-12-07T17:34:14.321Z] - '*': [2020-12-07T17:34:14.321Z] reason: false positive [2020-12-07T17:34:14.321Z] expires: 2021-01-01T00:00:00 [2020-12-07T17:34:14.321Z] # patch: {} [Pipeline] withCredentials [2020-12-07T17:34:14.384Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:14.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:34:14.739Z] . [Pipeline] withDockerContainer [2020-12-07T17:34:14.839Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:34:14.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-07T17:34:15.501Z] $ docker top 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:34:16.004Z] + rm -f snykReport.html [Pipeline] echo [2020-12-07T17:34:16.015Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-07T17:34:16.304Z] + set -o pipefail [2020-12-07T17:34:16.304Z] + snyk+ testsnyk-to-html -o '--org=edgex-jenkins' snykReport.html --docker [2020-12-07T17:34:16.304Z] nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-07T17:34:24.475Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-07T17:34:24.493Z] $ docker stop --time=1 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 [2020-12-07T17:34:26.041Z] $ docker rm -f 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-07T17:34:27.753Z] + git log --format=format:%s -1 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:28.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:34:28.087Z] . [Pipeline] withDockerContainer [2020-12-07T17:34:28.184Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:34:28.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T17:34:28.950Z] $ docker top 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:34:29.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:34:29.273Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:34:29.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:34:29.501Z] $ docker exec 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 ssh-agent [2020-12-07T17:34:29.673Z] SSH_AUTH_SOCK=/tmp/ssh-jk7ECwXSCBW8/agent.11 [2020-12-07T17:34:29.673Z] SSH_AGENT_PID=16 [2020-12-07T17:34:29.681Z] Running ssh-add (command line suppressed) [2020-12-07T17:34:29.847Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4280957771776177950.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4280957771776177950.key) [2020-12-07T17:34:29.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:34:30.248Z] + git semver tag [2020-12-07T17:34:30.248Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:34:30.248Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-12-07T17:34:30.248Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-12-07T17:34:30.248Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:34:30.248Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:34:30.248Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:34:30.248Z] # $SEMVER_BRANCH = master [2020-12-07T17:34:30.248Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-12-07T17:34:30.248Z] # 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 HEAD [2020-12-07T17:34:30.248Z] # -> Force: false [2020-12-07T17:34:30.248Z] # 5e8fc1465ed62ceb6427d29f5d6ed4862059ea0c refs/tags/v1.2.1-dev.1 [Pipeline] } [2020-12-07T17:34:30.262Z] $ docker exec --env ******** --env ******** 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 ssh-agent -k [2020-12-07T17:34:30.378Z] unset SSH_AUTH_SOCK; [2020-12-07T17:34:30.378Z] unset SSH_AGENT_PID; [2020-12-07T17:34:30.378Z] echo Agent pid 16 killed; [2020-12-07T17:34:30.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:34:30.947Z] + git semver [Pipeline] } [2020-12-07T17:34:30.964Z] $ docker stop --time=1 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 [2020-12-07T17:34:32.304Z] $ docker rm -f 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:32.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:34:32.910Z] [2020-12-07T17:34:32.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:33.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:34:33.264Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-07T17:34:33.264Z] ab5ef0e58194: Pulling fs layer [2020-12-07T17:34:33.264Z] 9712f1f96733: Pulling fs layer [2020-12-07T17:34:33.264Z] 63f879dbbcfc: Pulling fs layer [2020-12-07T17:34:33.264Z] 0d9ebad4ef96: Pulling fs layer [2020-12-07T17:34:33.264Z] e9a5061849ea: Pulling fs layer [2020-12-07T17:34:33.264Z] d747dcd14b5f: Pulling fs layer [2020-12-07T17:34:33.264Z] 2de7ff778b66: Pulling fs layer [2020-12-07T17:34:33.264Z] e9a5061849ea: Waiting [2020-12-07T17:34:33.264Z] d747dcd14b5f: Waiting [2020-12-07T17:34:33.264Z] 2de7ff778b66: Waiting [2020-12-07T17:34:33.264Z] 0d9ebad4ef96: Waiting [2020-12-07T17:34:33.264Z] 9712f1f96733: Verifying Checksum [2020-12-07T17:34:33.264Z] 9712f1f96733: Download complete [2020-12-07T17:34:35.188Z] 63f879dbbcfc: Verifying Checksum [2020-12-07T17:34:35.188Z] 63f879dbbcfc: Download complete [2020-12-07T17:34:35.188Z] e9a5061849ea: Verifying Checksum [2020-12-07T17:34:35.188Z] e9a5061849ea: Download complete [2020-12-07T17:34:35.188Z] d747dcd14b5f: Download complete [2020-12-07T17:34:35.451Z] 0d9ebad4ef96: Verifying Checksum [2020-12-07T17:34:35.451Z] 0d9ebad4ef96: Download complete [2020-12-07T17:34:35.714Z] 2de7ff778b66: Verifying Checksum [2020-12-07T17:34:35.714Z] 2de7ff778b66: Download complete [2020-12-07T17:34:35.714Z] ab5ef0e58194: Download complete [2020-12-07T17:34:41.049Z] ab5ef0e58194: Pull complete [2020-12-07T17:34:41.049Z] 9712f1f96733: Pull complete [2020-12-07T17:34:43.616Z] 63f879dbbcfc: Pull complete [2020-12-07T17:34:50.242Z] 0d9ebad4ef96: Pull complete [2020-12-07T17:34:51.189Z] e9a5061849ea: Pull complete [2020-12-07T17:34:51.189Z] d747dcd14b5f: Pull complete [2020-12-07T17:34:53.753Z] 2de7ff778b66: Pull complete [2020-12-07T17:34:53.753Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-07T17:34:53.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:34:53.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-07T17:34:53.976Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:34:54.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-07T17:34:57.561Z] $ docker top 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-07T17:34:57.865Z] provisioning config files... [2020-12-07T17:34:57.885Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7750963051498089101tmp [2020-12-07T17:34:57.915Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6774122245240555804tmp [2020-12-07T17:34:57.957Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8607658997794902860tmp [Pipeline] { [Pipeline] echo [2020-12-07T17:34:58.021Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:34:58.340Z] ---> sigul-configuration.sh [2020-12-07T17:34:58.340Z] gpg: directory `/root/.gnupg' created [2020-12-07T17:34:58.340Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-07T17:34:58.340Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-07T17:34:58.340Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-07T17:34:58.340Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-07T17:34:58.340Z] gpg: CAST5 encrypted data [2020-12-07T17:34:58.602Z] gpg: encrypted with 1 passphrase [2020-12-07T17:34:58.602Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-07T17:34:58.902Z] + mkdir /home/jenkins [2020-12-07T17:34:58.902Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-07T17:34:59.208Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-07T17:34:59.220Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:34:59.515Z] ---> sigul-install.sh [2020-12-07T17:35:06.137Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-07T17:35:06.443Z] + git tag --list [2020-12-07T17:35:06.443Z] v1.0.0 [2020-12-07T17:35:06.443Z] v1.1.0 [2020-12-07T17:35:06.443Z] v1.1.1 [2020-12-07T17:35:06.443Z] v1.1.2 [2020-12-07T17:35:06.443Z] v1.1.2-dev.1 [2020-12-07T17:35:06.443Z] v1.1.2-dev.2 [2020-12-07T17:35:06.443Z] v1.1.3-dev.1 [2020-12-07T17:35:06.443Z] v1.1.3-dev.10 [2020-12-07T17:35:06.443Z] v1.1.3-dev.2 [2020-12-07T17:35:06.443Z] v1.1.3-dev.3 [2020-12-07T17:35:06.443Z] v1.1.3-dev.4 [2020-12-07T17:35:06.443Z] v1.1.3-dev.5 [2020-12-07T17:35:06.443Z] v1.1.3-dev.6 [2020-12-07T17:35:06.443Z] v1.1.3-dev.7 [2020-12-07T17:35:06.443Z] v1.1.3-dev.8 [2020-12-07T17:35:06.443Z] v1.1.3-dev.9 [2020-12-07T17:35:06.443Z] v1.2.0 [2020-12-07T17:35:06.443Z] v1.2.1-dev.1 [Pipeline] sh [2020-12-07T17:35:06.748Z] + lftools sign git-tag v1.2.1-dev.1 [2020-12-07T17:35:08.141Z] Signing Git tag with Sigul... [2020-12-07T17:35:08.141Z] Signing v1.2.1-dev.1 [Pipeline] echo [2020-12-07T17:35:09.542Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:09.846Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-07T17:35:09.856Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-07T17:35:09.981Z] $ docker stop --time=1 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 [2020-12-07T17:35:12.055Z] $ docker rm -f 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:13.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:35:13.081Z] . [Pipeline] withDockerContainer [2020-12-07T17:35:13.185Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:35:13.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T17:35:14.055Z] $ docker top 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:35:14.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:35:14.381Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:35:14.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:35:14.589Z] $ docker exec 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f ssh-agent [2020-12-07T17:35:14.782Z] SSH_AUTH_SOCK=/tmp/ssh-ldQ3nUNEhxhJ/agent.13 [2020-12-07T17:35:14.782Z] SSH_AGENT_PID=18 [2020-12-07T17:35:14.789Z] Running ssh-add (command line suppressed) [2020-12-07T17:35:14.923Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_507503763254034695.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_507503763254034695.key) [2020-12-07T17:35:14.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:35:15.314Z] + git semver bump pre [2020-12-07T17:35:15.315Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:35:15.315Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-12-07T17:35:15.315Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-12-07T17:35:15.315Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:35:15.315Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:35:15.315Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:35:15.315Z] # $SEMVER_BRANCH = master [2020-12-07T17:35:15.315Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-12-07T17:35:15.315Z] 1.2.1-dev.2 [Pipeline] } [2020-12-07T17:35:15.328Z] $ docker exec --env ******** --env ******** 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f ssh-agent -k [2020-12-07T17:35:15.457Z] unset SSH_AUTH_SOCK; [2020-12-07T17:35:15.457Z] unset SSH_AGENT_PID; [2020-12-07T17:35:15.457Z] echo Agent pid 18 killed; [2020-12-07T17:35:15.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:35:15.976Z] + git semver [Pipeline] } [2020-12-07T17:35:15.994Z] $ docker stop --time=1 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f [2020-12-07T17:35:17.348Z] $ docker rm -f 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:17.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:35:17.861Z] . [Pipeline] withDockerContainer [2020-12-07T17:35:17.958Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:35:18.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T17:35:18.571Z] $ docker top 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:35:18.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:35:18.857Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:35:19.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:35:19.043Z] $ docker exec 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a ssh-agent [2020-12-07T17:35:19.214Z] SSH_AUTH_SOCK=/tmp/ssh-R4PDoQ3tN7Uu/agent.12 [2020-12-07T17:35:19.214Z] SSH_AGENT_PID=17 [2020-12-07T17:35:19.221Z] Running ssh-add (command line suppressed) [2020-12-07T17:35:19.350Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7872200751622696499.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7872200751622696499.key) [2020-12-07T17:35:19.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:35:19.742Z] + git semver push [2020-12-07T17:35:19.742Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:35:19.742Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-12-07T17:35:19.742Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-12-07T17:35:19.742Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:35:19.742Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:35:19.742Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:35:19.742Z] # $SEMVER_BRANCH = master [2020-12-07T17:35:19.742Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-12-07T17:35:26.353Z] $ docker exec --env ******** --env ******** 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a ssh-agent -k [2020-12-07T17:35:26.474Z] unset SSH_AUTH_SOCK; [2020-12-07T17:35:26.474Z] unset SSH_AGENT_PID; [2020-12-07T17:35:26.474Z] echo Agent pid 17 killed; [2020-12-07T17:35:26.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:35:27.016Z] + git semver [Pipeline] } [2020-12-07T17:35:27.035Z] $ docker stop --time=1 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a [2020-12-07T17:35:28.412Z] $ docker rm -f 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2020-12-07T17:35:30.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:30.569Z] ---> package-listing.sh [2020-12-07T17:35:30.569Z] ++ facter osfamily [2020-12-07T17:35:30.569Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T17:35:30.569Z] + OS_FAMILY=redhat [2020-12-07T17:35:30.569Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-12-07T17:35:30.569Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T17:35:30.569Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T17:35:30.569Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T17:35:30.569Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T17:35:30.569Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-12-07T17:35:30.569Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T17:35:30.569Z] + case "${OS_FAMILY}" in [2020-12-07T17:35:30.569Z] + rpm -qa [2020-12-07T17:35:30.569Z] + sort [2020-12-07T17:35:35.877Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T17:35:35.877Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T17:35:35.877Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T17:35:35.877Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-12-07T17:35:35.877Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-12-07T17:35:35.877Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2020-12-07T17:35:35.891Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T17:35:36.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:36.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:35:36.607Z] [2020-12-07T17:35:36.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:36.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:35:36.973Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T17:35:36.973Z] df20fa9351a1: Pulling fs layer [2020-12-07T17:35:36.973Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T17:35:36.973Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T17:35:36.973Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T17:35:36.973Z] 93b61091891f: Pulling fs layer [2020-12-07T17:35:36.973Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T17:35:36.973Z] 5e14af77c1be: Pulling fs layer [2020-12-07T17:35:36.973Z] 01666e4c0597: Pulling fs layer [2020-12-07T17:35:36.973Z] aa168da1d23b: Pulling fs layer [2020-12-07T17:35:36.973Z] 93b9cdb0e59b: Waiting [2020-12-07T17:35:36.973Z] 46f8f816bc3b: Waiting [2020-12-07T17:35:36.973Z] 5e14af77c1be: Waiting [2020-12-07T17:35:36.973Z] 93b61091891f: Waiting [2020-12-07T17:35:36.973Z] aa168da1d23b: Waiting [2020-12-07T17:35:36.973Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T17:35:36.973Z] 36b3adc4ff6f: Download complete [2020-12-07T17:35:36.973Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T17:35:36.973Z] 46f8f816bc3b: Download complete [2020-12-07T17:35:36.973Z] df20fa9351a1: Verifying Checksum [2020-12-07T17:35:36.973Z] df20fa9351a1: Download complete [2020-12-07T17:35:37.237Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T17:35:37.237Z] 93b9cdb0e59b: Download complete [2020-12-07T17:35:37.237Z] 5e14af77c1be: Verifying Checksum [2020-12-07T17:35:37.237Z] 5e14af77c1be: Download complete [2020-12-07T17:35:37.237Z] 93b61091891f: Download complete [2020-12-07T17:35:37.237Z] 01666e4c0597: Verifying Checksum [2020-12-07T17:35:37.237Z] 01666e4c0597: Download complete [2020-12-07T17:35:37.237Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T17:35:37.237Z] 8ad3a11d3b57: Download complete [2020-12-07T17:35:37.813Z] df20fa9351a1: Pull complete [2020-12-07T17:35:38.082Z] 36b3adc4ff6f: Pull complete [2020-12-07T17:35:39.041Z] 8ad3a11d3b57: Pull complete [2020-12-07T17:35:39.307Z] aa168da1d23b: Verifying Checksum [2020-12-07T17:35:39.307Z] aa168da1d23b: Download complete [2020-12-07T17:35:40.255Z] 46f8f816bc3b: Pull complete [2020-12-07T17:35:40.523Z] 93b61091891f: Pull complete [2020-12-07T17:35:40.523Z] 93b9cdb0e59b: Pull complete [2020-12-07T17:35:40.786Z] 5e14af77c1be: Pull complete [2020-12-07T17:35:40.786Z] 01666e4c0597: Pull complete [2020-12-07T17:35:48.965Z] aa168da1d23b: Pull complete [2020-12-07T17:35:48.965Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T17:35:48.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:35:48.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T17:35:49.100Z] prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container [2020-12-07T17:35:49.148Z] $ 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_master/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_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T17:35:51.885Z] $ docker top c42f6b48b717be0f3fae5b98efbb73bbf6aee8fb4eedee0fdd23a2e2d08207f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:35:52.439Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T17:35:52.738Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T17:35:53.037Z] + ls /var/log/sa-host [2020-12-07T17:35:53.037Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T17:35:53.037Z] file_magic: OK [2020-12-07T17:35:53.037Z] HZ: Using current value: 100 [2020-12-07T17:35:53.037Z] file_header: OK [2020-12-07T17:35:53.037Z] 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 [2020-12-07T17:35:53.037Z] Statistics: [2020-12-07T17:35:53.037Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T17:35:53.037Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T17:35:53.037Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T17:35:53.037Z] file_magic: OK [2020-12-07T17:35:53.037Z] HZ: Using current value: 100 [2020-12-07T17:35:53.037Z] file_header: OK [2020-12-07T17:35:53.037Z] 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 [2020-12-07T17:35:53.037Z] Statistics: [2020-12-07T17:35:53.037Z] Hnuu...uuuununununu... [2020-12-07T17:35:53.037Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T17:35:53.239Z] provisioning config files... [2020-12-07T17:35:53.254Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8464997142367359244tmp [Pipeline] { [Pipeline] echo [2020-12-07T17:35:53.338Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:53.637Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T17:35:53.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T17:35:53.745Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:54.046Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T17:35:54.063Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:54.401Z] ---> sudo-logs.sh [2020-12-07T17:35:54.401Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T17:35:54.413Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:54.706Z] ---> job-cost.sh [2020-12-07T17:35:54.706Z] lf-activate-venv: SKIPPING [2020-12-07T17:35:54.706Z] INFO: No Stack... [2020-12-07T17:35:56.093Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T17:35:56.354Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T17:35:56.368Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:56.662Z] ---> logs-deploy.sh [2020-12-07T17:35:56.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/28 [2020-12-07T17:35:56.662Z] INFO: archiving workspace using pattern(s): [2020-12-07T17:35:58.584Z] Archives upload complete. [2020-12-07T17:35:58.584Z] INFO: archiving logs to Nexus