Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9e4888f50a2a312870744f4f89808877d999d7c6 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21453 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 > 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 Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) > 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 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 Commit message: "Merge pull request #76 from iain-anderson/commit-lint" > git rev-list --no-walk abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T01:04:46.734Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T01:04:47.013Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T01:04:47.112Z] ========================================================= [2021-01-20T01:04:47.112Z] EdgeX Global Pipelines Version Info [2021-01-20T01:04:47.112Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:04:48.979Z] ------------------- [2021-01-20T01:04:48.979Z] stable info: [2021-01-20T01:04:48.979Z] ------------------- [2021-01-20T01:04:48.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T01:04:48.979Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T01:04:48.979Z] Message: update stable to v1.0.179 [2021-01-20T01:04:49.553Z] ------------------- [2021-01-20T01:04:49.553Z] experimental info: [2021-01-20T01:04:49.553Z] ------------------- [2021-01-20T01:04:49.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T01:04:49.553Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T01:04:49.553Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T01:04:49.818Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-20T01:04:49.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-20T01:04:49.999Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T01:04:50.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T01:04:50.198Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T01:04:50.338Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T01:04:50.430Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T01:04:50.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T01:04:50.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T01:04:50.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T01:04:50.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T01:04:50.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-20T01:04:51.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T01:04:51.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T01:04:51.218Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T01:04:51.316Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T01:04:51.405Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T01:04:51.526Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T01:04:51.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T01:04:51.753Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T01:04:51.843Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T01:04:51.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T01:04:52.036Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T01:04:52.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T01:04:52.253Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T01:04:52.340Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T01:04:52.427Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T01:04:52.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-20T01:04:52.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-20T01:04:52.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-20T01:04:52.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] echo [2021-01-20T01:04:52.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e4888f [Pipeline] echo [2021-01-20T01:04:53.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:04:53.277Z] provisioning config files... [2021-01-20T01:04:53.301Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7609787251294199838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:04:53.715Z] ---> docker-login.sh [2021-01-20T01:04:53.715Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:04:53.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:53.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:53.977Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:53.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:53.977Z] [2021-01-20T01:04:53.977Z] Login Succeeded [2021-01-20T01:04:53.977Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:04:54.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:54.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:54.239Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:54.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:54.239Z] [2021-01-20T01:04:54.239Z] Login Succeeded [2021-01-20T01:04:54.239Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:04:54.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:54.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:54.501Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:54.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:54.501Z] [2021-01-20T01:04:54.501Z] Login Succeeded [2021-01-20T01:04:54.501Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:04:54.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:54.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:54.764Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:54.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:54.764Z] [2021-01-20T01:04:54.764Z] Login Succeeded [2021-01-20T01:04:54.764Z] docker.io [2021-01-20T01:04:54.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:55.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:55.027Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:55.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:55.027Z] [2021-01-20T01:04:55.027Z] Login Succeeded [2021-01-20T01:04:55.027Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:04:55.036Z] 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 [2021-01-20T01:04:56.202Z] + git log --format=format:%s -1 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] echo [2021-01-20T01:04:56.264Z] GIT_COMMIT: 9e4888f50a2a312870744f4f89808877d999d7c6, Commit Message: Merge pull request #76 from iain-anderson/commit-lint [Pipeline] echo [2021-01-20T01:04:56.309Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:04:56.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:56.906Z] [2021-01-20T01:04:56.906Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:04:57.265Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:57.265Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T01:04:57.265Z] 31603596830f: Pulling fs layer [2021-01-20T01:04:57.265Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T01:04:57.265Z] 6ca5941a6612: Pulling fs layer [2021-01-20T01:04:57.265Z] ecc8261a40a4: Pulling fs layer [2021-01-20T01:04:57.265Z] ecc8261a40a4: Waiting [2021-01-20T01:04:57.265Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T01:04:57.265Z] 2a8b12db71e7: Download complete [2021-01-20T01:04:57.265Z] 31603596830f: Verifying Checksum [2021-01-20T01:04:57.265Z] 31603596830f: Download complete [2021-01-20T01:04:57.532Z] ecc8261a40a4: Verifying Checksum [2021-01-20T01:04:57.532Z] ecc8261a40a4: Download complete [2021-01-20T01:04:57.532Z] 6ca5941a6612: Verifying Checksum [2021-01-20T01:04:57.532Z] 6ca5941a6612: Download complete [2021-01-20T01:04:57.795Z] 31603596830f: Pull complete [2021-01-20T01:04:57.795Z] 2a8b12db71e7: Pull complete [2021-01-20T01:04:58.753Z] 6ca5941a6612: Pull complete [2021-01-20T01:04:59.016Z] ecc8261a40a4: Pull complete [2021-01-20T01:04:59.016Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T01:04:59.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:59.016Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T01:04:59.119Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:04:59.164Z] $ 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 [2021-01-20T01:05:01.048Z] $ docker top 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:05:01.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:05:01.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:05:01.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:05:01.694Z] $ docker exec 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent [2021-01-20T01:05:01.955Z] SSH_AUTH_SOCK=/tmp/ssh-mTj6RgmQdzXQ/agent.12 [2021-01-20T01:05:01.955Z] SSH_AGENT_PID=17 [2021-01-20T01:05:01.970Z] Running ssh-add (command line suppressed) [2021-01-20T01:05:02.113Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7005641499284659724.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7005641499284659724.key) [2021-01-20T01:05:02.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:05:02.512Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T01:05:02.538Z] $ docker exec --env ******** --env ******** 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent -k [2021-01-20T01:05:02.660Z] unset SSH_AUTH_SOCK; [2021-01-20T01:05:02.661Z] unset SSH_AGENT_PID; [2021-01-20T01:05:02.661Z] echo Agent pid 17 killed; [2021-01-20T01:05:02.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T01:05:02.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:05:02.860Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:05:03.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:05:03.035Z] $ docker exec 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent [2021-01-20T01:05:03.199Z] SSH_AUTH_SOCK=/tmp/ssh-co9oD38k4WOu/agent.45 [2021-01-20T01:05:03.199Z] SSH_AGENT_PID=50 [2021-01-20T01:05:03.208Z] Running ssh-add (command line suppressed) [2021-01-20T01:05:03.327Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4550273264191281550.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4550273264191281550.key) [2021-01-20T01:05:03.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:05:03.738Z] + git semver init [2021-01-20T01:05:03.739Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:05:03.739Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-20T01:05:03.739Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-20T01:05:03.739Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:05:03.739Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:05:03.739Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:05:03.739Z] # $SEMVER_BRANCH = master [2021-01-20T01:05:03.739Z] # $SEMVER_TEMP = /tmp/semver-228338990 [2021-01-20T01:05:03.739Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-20T01:05:06.297Z] # '/tmp/semver-228338990' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-01-20T01:05:06.297Z] # -> Force: false [2021-01-20T01:05:06.297Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-20T01:05:06.311Z] $ docker exec --env ******** --env ******** 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 ssh-agent -k [2021-01-20T01:05:06.421Z] unset SSH_AUTH_SOCK; [2021-01-20T01:05:06.422Z] unset SSH_AGENT_PID; [2021-01-20T01:05:06.422Z] echo Agent pid 50 killed; [2021-01-20T01:05:06.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:05:06.977Z] + git semver [Pipeline] } [2021-01-20T01:05:07.008Z] $ docker stop --time=1 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 [2021-01-20T01:05:08.421Z] $ docker rm -f 350a863f18b0913174b9cdead11056619680738cfa9c3d6db3603ca3245aa977 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:05:08.938Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T01:05:09.397Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T01:05:09.399Z] [edgeXSemver]: initialized semver on version 1.2.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-20T01:05:24.959Z] Still waiting to schedule task [2021-01-20T01:05:24.959Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21455’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-20T01:05:24.967Z] Still waiting to schedule task [2021-01-20T01:05:24.967Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-20T01:06:03.648Z] Running on prd-centos7-docker-4c-2g-21456 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-20T01:06:03.710Z] Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout [2021-01-20T01:06:06.271Z] using credential edgex-jenkins-ssh [2021-01-20T01:06:06.324Z] Cloning the remote Git repository [2021-01-20T01:06:06.274Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:06:06.346Z] > git init /w/workspace/device-rest-go/31 # timeout=10 [2021-01-20T01:06:06.411Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:06:06.412Z] > git --version # timeout=10 [2021-01-20T01:06:06.418Z] > git --version # 'git version 2.24.3' [2021-01-20T01:06:06.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:06:06.451Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:06:07.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T01:06:07.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:06:07.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T01:06:07.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:06:07.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:06:07.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T01:06:08.343Z] Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) [2021-01-20T01:06:08.352Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T01:06:08.357Z] > git checkout -f 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [2021-01-20T01:06:12.104Z] Commit message: "Merge pull request #76 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:06:13.322Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:06:13.655Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:06:13.956Z] + sudo service docker restart [2021-01-20T01:06:13.956Z] + true [2021-01-20T01:06:13.956Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:06:15.425Z] provisioning config files... [2021-01-20T01:06:15.455Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config4771840310753185441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:06:15.857Z] ---> docker-login.sh [2021-01-20T01:06:15.857Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:06:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:06:16.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:06:16.391Z] Configure a credential helper to remove this warning. See [2021-01-20T01:06:16.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:06:16.391Z] [2021-01-20T01:06:16.391Z] Login Succeeded [2021-01-20T01:06:16.391Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:06:16.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:06:16.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:06:16.655Z] Configure a credential helper to remove this warning. See [2021-01-20T01:06:16.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:06:16.655Z] [2021-01-20T01:06:16.655Z] Login Succeeded [2021-01-20T01:06:16.655Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:06:16.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:06:16.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:06:16.655Z] Configure a credential helper to remove this warning. See [2021-01-20T01:06:16.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:06:16.655Z] [2021-01-20T01:06:16.655Z] Login Succeeded [2021-01-20T01:06:16.655Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:06:16.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:06:16.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:06:16.925Z] Configure a credential helper to remove this warning. See [2021-01-20T01:06:16.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:06:16.925Z] [2021-01-20T01:06:16.925Z] Login Succeeded [2021-01-20T01:06:16.925Z] docker.io [2021-01-20T01:06:17.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:06:17.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:06:17.452Z] Configure a credential helper to remove this warning. See [2021-01-20T01:06:17.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:06:17.452Z] [2021-01-20T01:06:17.452Z] Login Succeeded [2021-01-20T01:06:17.452Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:06:17.461Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T01:06:17.795Z] ========================================================= [2021-01-20T01:06:17.795Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T01:06:17.795Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:06:18.154Z] + 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 . [2021-01-20T01:06:18.154Z] Sending build context to Docker daemon 89.6kB [2021-01-20T01:06:18.154Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:06:18.154Z] Step 2/10 : FROM ${BASE} [2021-01-20T01:06:18.418Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T01:06:18.418Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T01:06:18.418Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T01:06:18.418Z] de9db76c5a1d: Pulling fs layer [2021-01-20T01:06:18.418Z] bca2f99d35d6: Pulling fs layer [2021-01-20T01:06:18.418Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T01:06:18.418Z] 7c6f9722023f: Pulling fs layer [2021-01-20T01:06:18.418Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T01:06:18.418Z] bca2f99d35d6: Waiting [2021-01-20T01:06:18.418Z] 93359f2a8cfa: Waiting [2021-01-20T01:06:18.418Z] 7c6f9722023f: Waiting [2021-01-20T01:06:18.418Z] a35cf1a2eb13: Waiting [2021-01-20T01:06:18.418Z] de9db76c5a1d: Verifying Checksum [2021-01-20T01:06:18.418Z] de9db76c5a1d: Download complete [2021-01-20T01:06:18.418Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T01:06:18.418Z] 0ef7d3d256c8: Download complete [2021-01-20T01:06:18.418Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T01:06:18.418Z] 93359f2a8cfa: Download complete [2021-01-20T01:06:18.418Z] 7c6f9722023f: Verifying Checksum [2021-01-20T01:06:18.418Z] 7c6f9722023f: Download complete [2021-01-20T01:06:18.418Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T01:06:18.418Z] 188c0c94c7c5: Download complete [2021-01-20T01:06:18.692Z] 188c0c94c7c5: Pull complete [2021-01-20T01:06:18.959Z] 0ef7d3d256c8: Pull complete [2021-01-20T01:06:19.225Z] de9db76c5a1d: Pull complete [2021-01-20T01:06:21.204Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T01:06:21.204Z] a35cf1a2eb13: Download complete [2021-01-20T01:06:21.204Z] bca2f99d35d6: Verifying Checksum [2021-01-20T01:06:21.204Z] bca2f99d35d6: Download complete [2021-01-20T01:06:26.585Z] bca2f99d35d6: Pull complete [2021-01-20T01:06:26.585Z] 93359f2a8cfa: Pull complete [2021-01-20T01:06:26.585Z] 7c6f9722023f: Pull complete [2021-01-20T01:06:36.614Z] a35cf1a2eb13: Pull complete [2021-01-20T01:06:36.614Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T01:06:36.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T01:06:36.614Z] ---> a62c8e92a672 [2021-01-20T01:06:36.614Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T01:06:36.614Z] ---> Running in 4d03db437e29 [2021-01-20T01:06:36.614Z] Removing intermediate container 4d03db437e29 [2021-01-20T01:06:36.614Z] ---> 8d8b0f71269d [2021-01-20T01:06:36.614Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T01:06:36.614Z] ---> Running in 4807eedcda90 [2021-01-20T01:06:36.877Z] Removing intermediate container 4807eedcda90 [2021-01-20T01:06:36.877Z] ---> 0acb63d08033 [2021-01-20T01:06:36.877Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T01:06:36.877Z] ---> Running in 3d4d812de05c [2021-01-20T01:06:37.144Z] Removing intermediate container 3d4d812de05c [2021-01-20T01:06:37.145Z] ---> 5b4e889a8734 [2021-01-20T01:06:37.145Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:06:37.145Z] ---> Running in fba09df31b59 [2021-01-20T01:06:38.104Z] Removing intermediate container fba09df31b59 [2021-01-20T01:06:38.104Z] ---> faa517f4090d [2021-01-20T01:06:38.104Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T01:06:38.104Z] ---> Running in 16175321e37e [2021-01-20T01:06:39.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T01:06:39.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T01:06:39.901Z] OK: 166 MiB in 39 packages [2021-01-20T01:06:40.476Z] Removing intermediate container 16175321e37e [2021-01-20T01:06:40.477Z] ---> 954cde181e19 [2021-01-20T01:06:40.477Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T01:06:40.477Z] ---> Running in 8c35dd31a3b3 [2021-01-20T01:06:40.739Z] Removing intermediate container 8c35dd31a3b3 [2021-01-20T01:06:40.739Z] ---> db803c802fde [2021-01-20T01:06:40.739Z] Step 9/10 : COPY . . [2021-01-20T01:06:41.002Z] ---> ff991fb6e57f [2021-01-20T01:06:41.002Z] Step 10/10 : RUN go mod download [2021-01-20T01:06:41.002Z] ---> Running in 7f68d5ab6dbc [2021-01-20T01:07:03.034Z] Removing intermediate container 7f68d5ab6dbc [2021-01-20T01:07:03.035Z] ---> c346e39c289e [2021-01-20T01:07:03.035Z] Successfully built c346e39c289e [2021-01-20T01:07:03.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:03.352Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T01:07:03.352Z] . [Pipeline] withDockerContainer [2021-01-20T01:07:03.635Z] prd-centos7-docker-4c-2g-21456 does not seem to be running inside a container [2021-01-20T01:07:03.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T01:07:04.628Z] $ docker top 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:07:05.152Z] + go version [2021-01-20T01:07:05.153Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T01:07:05.167Z] $ docker stop --time=1 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 [2021-01-20T01:07:06.510Z] $ docker rm -f 7d7172fe3f9f258e5f8bc2087eaf466983117a6e2a9a8e33a7df07f710e3c208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:07.350Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T01:07:07.350Z] . [Pipeline] withDockerContainer [2021-01-20T01:07:07.444Z] prd-centos7-docker-4c-2g-21456 does not seem to be running inside a container [2021-01-20T01:07:07.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T01:07:08.107Z] $ docker top eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:07:08.601Z] + make test [2021-01-20T01:07:08.601Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T01:07:09.181Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T01:07:19.305Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T01:07:19.899Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements [2021-01-20T01:07:19.899Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T01:07:22.478Z] gofmt -l . [2021-01-20T01:07:22.478Z] [ "`gofmt -l .`" = "" ] [2021-01-20T01:07:22.478Z] ./bin/test-go-mod-tidy.sh [2021-01-20T01:07:22.746Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-20T01:07:23.026Z] $ docker stop --time=1 eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b [2021-01-20T01:07:25.386Z] $ docker rm -f eb73ce97779b31a4f4dacba008c896cb7a58d375914326ecf69a2a490daf2f5b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:07:26.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T01:07:26.296Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-20T01:07:27.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T01:07:27.758Z] + ls -al . [2021-01-20T01:07:27.758Z] total 96 [2021-01-20T01:07:27.758Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 01:07 . [2021-01-20T01:07:27.758Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 20 01:06 .. [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 20 01:06 Attribution.txt [2021-01-20T01:07:27.758Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 01:06 bin [2021-01-20T01:07:27.758Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 01:06 cmd [2021-01-20T01:07:27.758Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 20 01:07 coverage.out [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 20 01:06 Dockerfile [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 20 01:06 Dockerfile.build [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 01:06 .dockerignore [2021-01-20T01:07:27.758Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 20 01:07 driver [2021-01-20T01:07:27.758Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 01:06 .git [2021-01-20T01:07:27.758Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 01:06 .github [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 20 01:06 .gitignore [2021-01-20T01:07:27.758Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 20 01:07 go.mod [2021-01-20T01:07:27.758Z] -rw-r--r--. 1 jenkins jenkins 13985 Jan 20 01:07 go.sum [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 01:06 Jenkinsfile [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 01:06 LICENSE [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 20 01:06 Makefile [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 20 01:06 README.md [2021-01-20T01:07:27.758Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 01:06 snap [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 01:05 VERSION [2021-01-20T01:07:27.758Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 01:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:28.077Z] + 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=9e4888f50a2a312870744f4f89808877d999d7c6 --label arch=amd64 --label version=1.2.1-dev.4 . [2021-01-20T01:07:28.077Z] Sending build context to Docker daemon 101.4kB [2021-01-20T01:07:28.077Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:07:28.077Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-20T01:07:28.077Z] ---> c346e39c289e [2021-01-20T01:07:28.077Z] Step 3/25 : ARG MAKE='make build' [2021-01-20T01:07:28.340Z] ---> Running in c6f191b17961 [2021-01-20T01:07:28.340Z] Removing intermediate container c6f191b17961 [2021-01-20T01:07:28.340Z] ---> 1d4973aaa7e4 [2021-01-20T01:07:28.340Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T01:07:28.604Z] ---> Running in cb93ea13d296 [2021-01-20T01:07:28.604Z] Removing intermediate container cb93ea13d296 [2021-01-20T01:07:28.604Z] ---> d512d22bd3cd [2021-01-20T01:07:28.604Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T01:07:28.870Z] ---> Running in 4a6c89236ea7 [2021-01-20T01:07:28.870Z] Removing intermediate container 4a6c89236ea7 [2021-01-20T01:07:28.870Z] ---> 0b9c7ca96599 [2021-01-20T01:07:28.870Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:07:28.870Z] ---> Running in e655e2404a23 [2021-01-20T01:07:29.816Z] Removing intermediate container e655e2404a23 [2021-01-20T01:07:29.816Z] ---> 1d63488d8460 [2021-01-20T01:07:29.816Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T01:07:29.816Z] ---> Running in a24cdeb3de0a [2021-01-20T01:07:30.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T01:07:30.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T01:07:31.552Z] OK: 166 MiB in 39 packages [2021-01-20T01:07:31.818Z] Removing intermediate container a24cdeb3de0a [2021-01-20T01:07:31.818Z] ---> 2422328acb3f [2021-01-20T01:07:31.818Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-20T01:07:32.086Z] ---> Running in 1a40add3b466 [2021-01-20T01:07:32.086Z] Removing intermediate container 1a40add3b466 [2021-01-20T01:07:32.086Z] ---> e190dc2fbc62 [2021-01-20T01:07:32.086Z] Step 9/25 : COPY go.mod . [2021-01-20T01:07:32.349Z] ---> 80016fea543f [2021-01-20T01:07:32.349Z] Step 10/25 : COPY Makefile . [2021-01-20T01:07:32.612Z] ---> 8aba524ece19 [2021-01-20T01:07:32.612Z] Step 11/25 : RUN make update [2021-01-20T01:07:32.612Z] ---> Running in 3e349d32ee47 [2021-01-20T01:07:33.196Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-20T01:07:33.459Z] Removing intermediate container 3e349d32ee47 [2021-01-20T01:07:33.459Z] ---> 8b555781d70c [2021-01-20T01:07:33.459Z] Step 12/25 : COPY . . [2021-01-20T01:07:34.411Z] ---> c8add4b19114 [2021-01-20T01:07:34.411Z] Step 13/25 : RUN $MAKE [2021-01-20T01:07:34.411Z] ---> Running in 42119cdaed91 [2021-01-20T01:07:34.687Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.4" -o cmd/device-rest-go ./cmd [2021-01-20T01:07:47.088Z] Removing intermediate container 42119cdaed91 [2021-01-20T01:07:47.088Z] ---> e70c3cbb0e90 [2021-01-20T01:07:47.088Z] Step 14/25 : FROM alpine:3.12 [2021-01-20T01:07:47.088Z] 3.12: Pulling from library/alpine [2021-01-20T01:07:47.088Z] 801bfaa63ef2: Pulling fs layer [2021-01-20T01:07:47.088Z] 801bfaa63ef2: Download complete [2021-01-20T01:07:47.088Z] 801bfaa63ef2: Pull complete [2021-01-20T01:07:47.088Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-20T01:07:47.088Z] Status: Downloaded newer image for alpine:3.12 [2021-01-20T01:07:47.088Z] ---> 389fef711851 [2021-01-20T01:07:47.088Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T01:07:47.088Z] ---> Running in 05ee88b1e44b [2021-01-20T01:07:47.088Z] Removing intermediate container 05ee88b1e44b [2021-01-20T01:07:47.088Z] ---> da8b1a640e94 [2021-01-20T01:07:47.088Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-20T01:07:47.088Z] ---> Running in 85665ec7dfa1 [2021-01-20T01:07:47.088Z] Removing intermediate container 85665ec7dfa1 [2021-01-20T01:07:47.088Z] ---> 7689d6f9a58c [2021-01-20T01:07:47.088Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-20T01:07:47.088Z] ---> 198dd39e6951 [2021-01-20T01:07:47.088Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-20T01:07:47.355Z] ---> f3b6fc4957cd [2021-01-20T01:07:47.355Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-20T01:07:47.935Z] ---> 5c02a66d9c04 [2021-01-20T01:07:47.935Z] Step 20/25 : EXPOSE 49986 [2021-01-20T01:07:47.935Z] ---> Running in 12c46763b826 [2021-01-20T01:07:48.199Z] Removing intermediate container 12c46763b826 [2021-01-20T01:07:48.199Z] ---> ff5a15d8daf9 [2021-01-20T01:07:48.199Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-20T01:07:48.199Z] ---> Running in 7170a79b028c [2021-01-20T01:07:48.461Z] Removing intermediate container 7170a79b028c [2021-01-20T01:07:48.461Z] ---> 1a00217d8858 [2021-01-20T01:07:48.461Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-20T01:07:48.461Z] ---> Running in f231c8b283f2 [2021-01-20T01:07:48.726Z] Removing intermediate container f231c8b283f2 [2021-01-20T01:07:48.726Z] ---> 5a2426200b26 [2021-01-20T01:07:48.726Z] Step 23/25 : LABEL arch=amd64 [2021-01-20T01:07:48.726Z] ---> Running in c15d1b531093 [2021-01-20T01:07:48.726Z] Removing intermediate container c15d1b531093 [2021-01-20T01:07:48.726Z] ---> d4086ec37ed2 [2021-01-20T01:07:48.726Z] Step 24/25 : LABEL git_sha=9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:07:48.988Z] ---> Running in 9ebaec987adb [2021-01-20T01:07:49.255Z] Removing intermediate container 9ebaec987adb [2021-01-20T01:07:49.255Z] ---> a36b9c5b0558 [2021-01-20T01:07:49.255Z] Step 25/25 : LABEL version=1.2.1-dev.4 [2021-01-20T01:07:49.255Z] ---> Running in 2331d3e24bd7 [2021-01-20T01:07:49.517Z] Removing intermediate container 2331d3e24bd7 [2021-01-20T01:07:49.517Z] ---> 17f930fddf44 [2021-01-20T01:07:49.517Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T01:07:49.517Z] Successfully built 17f930fddf44 [2021-01-20T01:07:49.517Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:07:49.863Z] provisioning config files... [2021-01-20T01:07:51.298Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config1224171461924254643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:07:51.663Z] ---> docker-login.sh [2021-01-20T01:07:51.664Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:07:51.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:51.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:51.926Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:51.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:51.926Z] [2021-01-20T01:07:51.926Z] Login Succeeded [2021-01-20T01:07:51.926Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:07:51.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:51.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:51.926Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:51.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:51.926Z] [2021-01-20T01:07:51.926Z] Login Succeeded [2021-01-20T01:07:51.926Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:07:52.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:52.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:52.189Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:52.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:52.189Z] [2021-01-20T01:07:52.189Z] Login Succeeded [2021-01-20T01:07:52.189Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:07:52.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:52.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:52.452Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:52.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:52.452Z] [2021-01-20T01:07:52.452Z] Login Succeeded [2021-01-20T01:07:52.452Z] docker.io [2021-01-20T01:07:52.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:52.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:52.717Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:52.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:52.717Z] [2021-01-20T01:07:52.717Z] Login Succeeded [2021-01-20T01:07:52.717Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:07:52.728Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:07:52.922Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-01-20T01:07:52.922Z] 9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:07:52.922Z] latest [2021-01-20T01:07:52.922Z] 1.2.1-dev.4 [2021-01-20T01:07:52.922Z] 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:07:52.922Z] master [2021-01-20T01:07:52.922Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:53.432Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:53.736Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:07:53.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-20T01:07:53.736Z] b73e820a81a3: Preparing [2021-01-20T01:07:53.736Z] bb2ea235c3ec: Preparing [2021-01-20T01:07:53.736Z] ef2a8562566e: Preparing [2021-01-20T01:07:53.736Z] 777b2c648970: Preparing [2021-01-20T01:07:53.736Z] 777b2c648970: Layer already exists [2021-01-20T01:07:53.998Z] bb2ea235c3ec: Pushed [2021-01-20T01:07:53.998Z] ef2a8562566e: Pushed [2021-01-20T01:07:54.946Z] b73e820a81a3: Pushed [2021-01-20T01:07:54.946Z] 9e4888f50a2a312870744f4f89808877d999d7c6: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:55.516Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:55.821Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-20T01:07:55.822Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-20T01:07:55.822Z] b73e820a81a3: Preparing [2021-01-20T01:07:55.822Z] bb2ea235c3ec: Preparing [2021-01-20T01:07:55.822Z] ef2a8562566e: Preparing [2021-01-20T01:07:55.822Z] 777b2c648970: Preparing [2021-01-20T01:07:55.822Z] bb2ea235c3ec: Layer already exists [2021-01-20T01:07:55.822Z] ef2a8562566e: Layer already exists [2021-01-20T01:07:55.822Z] b73e820a81a3: Layer already exists [2021-01-20T01:07:55.822Z] 777b2c648970: Layer already exists [2021-01-20T01:07:55.822Z] latest: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:56.129Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:56.431Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 [2021-01-20T01:07:56.431Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-20T01:07:56.431Z] b73e820a81a3: Preparing [2021-01-20T01:07:56.431Z] bb2ea235c3ec: Preparing [2021-01-20T01:07:56.431Z] ef2a8562566e: Preparing [2021-01-20T01:07:56.431Z] 777b2c648970: Preparing [2021-01-20T01:07:56.431Z] 777b2c648970: Layer already exists [2021-01-20T01:07:56.431Z] b73e820a81a3: Layer already exists [2021-01-20T01:07:56.431Z] bb2ea235c3ec: Layer already exists [2021-01-20T01:07:56.431Z] ef2a8562566e: Layer already exists [2021-01-20T01:07:56.432Z] 1.2.1-dev.4: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:56.743Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:57.046Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:07:57.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-20T01:07:57.046Z] b73e820a81a3: Preparing [2021-01-20T01:07:57.046Z] bb2ea235c3ec: Preparing [2021-01-20T01:07:57.046Z] ef2a8562566e: Preparing [2021-01-20T01:07:57.046Z] 777b2c648970: Preparing [2021-01-20T01:07:57.046Z] 777b2c648970: Layer already exists [2021-01-20T01:07:57.046Z] ef2a8562566e: Layer already exists [2021-01-20T01:07:57.046Z] b73e820a81a3: Layer already exists [2021-01-20T01:07:57.046Z] bb2ea235c3ec: Layer already exists [2021-01-20T01:07:57.046Z] 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:57.355Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:57.656Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-01-20T01:07:57.656Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-20T01:07:57.656Z] b73e820a81a3: Preparing [2021-01-20T01:07:57.656Z] bb2ea235c3ec: Preparing [2021-01-20T01:07:57.656Z] ef2a8562566e: Preparing [2021-01-20T01:07:57.656Z] 777b2c648970: Preparing [2021-01-20T01:07:57.656Z] bb2ea235c3ec: Layer already exists [2021-01-20T01:07:57.656Z] b73e820a81a3: Layer already exists [2021-01-20T01:07:57.656Z] 777b2c648970: Layer already exists [2021-01-20T01:07:57.656Z] ef2a8562566e: Layer already exists [2021-01-20T01:07:57.656Z] master: digest: sha256:7d328db3fd2e9ed83400ab3d48fc61470f72ee91c7f028db33c5dae5099bc8e6 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:07:57.841Z] ===================================================== [Pipeline] echo [2021-01-20T01:07:57.939Z] taggedImages: [2021-01-20T01:07:57.939Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:07:57.939Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-20T01:07:57.939Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.4 [2021-01-20T01:07:57.939Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:07:57.939Z] - 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] } [2021-01-20T01:08:18.212Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21458 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-20T01:08:18.262Z] Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout [2021-01-20T01:08:22.968Z] using credential edgex-jenkins-ssh [2021-01-20T01:08:23.023Z] Cloning the remote Git repository [2021-01-20T01:08:23.081Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:08:23.211Z] > git init /w/workspace/device-rest-go/31 # timeout=10 [2021-01-20T01:08:23.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:08:23.321Z] > git --version # timeout=10 [2021-01-20T01:08:23.336Z] > git --version # 'git version 2.17.1' [2021-01-20T01:08:23.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:08:23.397Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:08:30.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T01:08:30.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:08:31.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T01:08:31.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T01:08:31.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:08:31.139Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T01:08:31.598Z] Checking out Revision 9e4888f50a2a312870744f4f89808877d999d7c6 (master) [2021-01-20T01:08:31.620Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T01:08:31.644Z] > git checkout -f 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [2021-01-20T01:08:36.056Z] Commit message: "Merge pull request #76 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:08:38.147Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:08:38.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:08:38.900Z] + true [2021-01-20T01:08:38.900Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:08:41.008Z] provisioning config files... [2021-01-20T01:08:41.050Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config683696105043107392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:08:41.468Z] ---> docker-login.sh [2021-01-20T01:08:41.468Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:08:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:08:42.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:08:42.736Z] Configure a credential helper to remove this warning. See [2021-01-20T01:08:42.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:08:42.736Z] [2021-01-20T01:08:42.736Z] Login Succeeded [2021-01-20T01:08:42.736Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:08:43.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:08:43.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:08:43.282Z] Configure a credential helper to remove this warning. See [2021-01-20T01:08:43.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:08:43.282Z] [2021-01-20T01:08:43.282Z] Login Succeeded [2021-01-20T01:08:43.282Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:08:43.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:08:43.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:08:43.829Z] Configure a credential helper to remove this warning. See [2021-01-20T01:08:43.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:08:43.829Z] [2021-01-20T01:08:43.829Z] Login Succeeded [2021-01-20T01:08:43.829Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:08:44.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:08:44.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:08:44.377Z] Configure a credential helper to remove this warning. See [2021-01-20T01:08:44.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:08:44.377Z] [2021-01-20T01:08:44.377Z] Login Succeeded [2021-01-20T01:08:44.377Z] docker.io [2021-01-20T01:08:44.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:08:44.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:08:44.932Z] Configure a credential helper to remove this warning. See [2021-01-20T01:08:44.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:08:44.932Z] [2021-01-20T01:08:44.932Z] Login Succeeded [2021-01-20T01:08:44.932Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:08:44.951Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T01:08:45.407Z] ========================================================= [2021-01-20T01:08:45.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T01:08:45.407Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:08:45.782Z] + 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 . [2021-01-20T01:08:45.782Z] Sending build context to Docker daemon 89.6kB [2021-01-20T01:08:46.055Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:08:46.055Z] Step 2/10 : FROM ${BASE} [2021-01-20T01:08:46.329Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T01:08:46.329Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T01:08:46.329Z] a4357932f1b6: Pulling fs layer [2021-01-20T01:08:46.329Z] 18c013af1878: Pulling fs layer [2021-01-20T01:08:46.329Z] 00ac8860ef70: Pulling fs layer [2021-01-20T01:08:46.329Z] 63d7cb157983: Pulling fs layer [2021-01-20T01:08:46.329Z] b116817d02f9: Pulling fs layer [2021-01-20T01:08:46.329Z] 745a02a5169b: Pulling fs layer [2021-01-20T01:08:46.329Z] 00ac8860ef70: Waiting [2021-01-20T01:08:46.329Z] 63d7cb157983: Waiting [2021-01-20T01:08:46.329Z] b116817d02f9: Waiting [2021-01-20T01:08:46.329Z] 745a02a5169b: Waiting [2021-01-20T01:08:46.329Z] a4357932f1b6: Verifying Checksum [2021-01-20T01:08:46.329Z] a4357932f1b6: Download complete [2021-01-20T01:08:46.329Z] 18c013af1878: Verifying Checksum [2021-01-20T01:08:46.329Z] 18c013af1878: Download complete [2021-01-20T01:08:46.329Z] 63d7cb157983: Verifying Checksum [2021-01-20T01:08:46.329Z] 63d7cb157983: Download complete [2021-01-20T01:08:46.931Z] b116817d02f9: Verifying Checksum [2021-01-20T01:08:46.931Z] b116817d02f9: Download complete [2021-01-20T01:08:46.931Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T01:08:46.931Z] 5f621e34cdf4: Download complete [2021-01-20T01:08:47.545Z] 5f621e34cdf4: Pull complete [2021-01-20T01:08:48.159Z] a4357932f1b6: Pull complete [2021-01-20T01:08:48.760Z] 18c013af1878: Pull complete [2021-01-20T01:08:49.370Z] 745a02a5169b: Verifying Checksum [2021-01-20T01:08:49.370Z] 745a02a5169b: Download complete [2021-01-20T01:08:50.364Z] 00ac8860ef70: Verifying Checksum [2021-01-20T01:08:50.364Z] 00ac8860ef70: Download complete [2021-01-20T01:09:00.533Z] 00ac8860ef70: Pull complete [2021-01-20T01:09:00.533Z] 63d7cb157983: Pull complete [2021-01-20T01:09:00.806Z] b116817d02f9: Pull complete [2021-01-20T01:09:05.129Z] 745a02a5169b: Pull complete [2021-01-20T01:09:05.129Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T01:09:05.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T01:09:05.129Z] ---> b7e6874047d6 [2021-01-20T01:09:05.129Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T01:09:07.106Z] ---> Running in 22adb538bec6 [2021-01-20T01:09:07.380Z] Removing intermediate container 22adb538bec6 [2021-01-20T01:09:07.380Z] ---> c1b12835168a [2021-01-20T01:09:07.380Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T01:09:07.656Z] ---> Running in d5e7e4b5904b [2021-01-20T01:09:07.929Z] Removing intermediate container d5e7e4b5904b [2021-01-20T01:09:07.929Z] ---> fcce5d3b5602 [2021-01-20T01:09:07.929Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T01:09:08.205Z] ---> Running in 054aa7fd1b3d [2021-01-20T01:09:08.483Z] Removing intermediate container 054aa7fd1b3d [2021-01-20T01:09:08.483Z] ---> 28823a6b4796 [2021-01-20T01:09:08.483Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:09:08.755Z] ---> Running in ee0e5e99a9da [2021-01-20T01:09:10.750Z] Removing intermediate container ee0e5e99a9da [2021-01-20T01:09:10.750Z] ---> 7e7588dda7b7 [2021-01-20T01:09:10.750Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T01:09:11.026Z] ---> Running in 31cea9055c2d [2021-01-20T01:09:12.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T01:09:12.992Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T01:09:13.589Z] OK: 142 MiB in 39 packages [2021-01-20T01:09:14.568Z] Removing intermediate container 31cea9055c2d [2021-01-20T01:09:14.568Z] ---> 8f116748a49a [2021-01-20T01:09:14.568Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T01:09:14.843Z] ---> Running in cc3428514c8a [2021-01-20T01:09:15.436Z] Removing intermediate container cc3428514c8a [2021-01-20T01:09:15.436Z] ---> 8c19b1f4c35b [2021-01-20T01:09:15.436Z] Step 9/10 : COPY . . [2021-01-20T01:09:16.039Z] ---> 6bcbb9901aa2 [2021-01-20T01:09:16.039Z] Step 10/10 : RUN go mod download [2021-01-20T01:09:16.039Z] ---> Running in d8b19dafed38 [2021-01-20T01:09:42.850Z] Removing intermediate container d8b19dafed38 [2021-01-20T01:09:42.850Z] ---> 881d558b00aa [2021-01-20T01:09:42.850Z] Successfully built 881d558b00aa [2021-01-20T01:09:42.850Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:09:43.197Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T01:09:43.197Z] . [Pipeline] withDockerContainer [2021-01-20T01:09:43.441Z] prd-ubuntu18.04-docker-arm64-4c-16g-21458 does not seem to be running inside a container [2021-01-20T01:09:43.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 [2021-01-20T01:09:45.045Z] $ docker top 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:09:46.099Z] + go version [2021-01-20T01:09:46.099Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T01:09:46.125Z] $ docker stop --time=1 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc [2021-01-20T01:09:48.092Z] $ docker rm -f 860260078fa1382a74f1072e85b92c52672f281b912fc82d0b52cbd09efe81dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:09:49.141Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T01:09:49.141Z] . [Pipeline] withDockerContainer [2021-01-20T01:09:49.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-21458 does not seem to be running inside a container [2021-01-20T01:09:49.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 [2021-01-20T01:09:50.854Z] $ docker top 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:09:51.892Z] + make test [2021-01-20T01:09:51.892Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T01:09:52.871Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T01:10:25.256Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T01:10:26.234Z] ok github.com/edgexfoundry/device-rest-go/driver 0.088s coverage: 56.3% of statements [2021-01-20T01:10:26.505Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T01:10:33.262Z] gofmt -l . [2021-01-20T01:10:33.536Z] [ "`gofmt -l .`" = "" ] [2021-01-20T01:10:33.536Z] ./bin/test-go-mod-tidy.sh [2021-01-20T01:10:33.809Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-20T01:10:34.817Z] $ docker stop --time=1 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a [2021-01-20T01:10:37.251Z] $ docker rm -f 0006dea6aa0e0544154c8e2e6112bcd4a1344097608462b19a36f1b58186440a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:10:38.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T01:10:38.106Z] Warning: overwriting stash ‘coverage-report’ [2021-01-20T01:10:38.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:10:39.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T01:10:39.958Z] + ls -al . [2021-01-20T01:10:39.958Z] total 124 [2021-01-20T01:10:39.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:10 . [2021-01-20T01:10:39.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:08 .. [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 01:08 .dockerignore [2021-01-20T01:10:39.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:08 .git [2021-01-20T01:10:39.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:08 .github [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 20 01:08 .gitignore [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 20 01:08 Attribution.txt [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 20 01:08 Dockerfile [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 20 01:08 Dockerfile.build [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 01:08 Jenkinsfile [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 01:08 LICENSE [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 20 01:08 Makefile [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 20 01:08 README.md [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 01:05 VERSION [2021-01-20T01:10:39.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:08 bin [2021-01-20T01:10:39.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:08 cmd [2021-01-20T01:10:39.959Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 20 01:10 coverage.out [2021-01-20T01:10:39.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:10 driver [2021-01-20T01:10:39.959Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 20 01:10 go.mod [2021-01-20T01:10:39.959Z] -rw-r--r-- 1 jenkins jenkins 13985 Jan 20 01:10 go.sum [2021-01-20T01:10:39.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:08 snap [2021-01-20T01:10:39.959Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 01:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:40.316Z] + 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=9e4888f50a2a312870744f4f89808877d999d7c6 --label arch=arm64 --label version=1.2.1-dev.4 . [2021-01-20T01:10:40.316Z] Sending build context to Docker daemon 101.4kB [2021-01-20T01:10:40.590Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:10:40.590Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-20T01:10:40.590Z] ---> 881d558b00aa [2021-01-20T01:10:40.590Z] Step 3/25 : ARG MAKE='make build' [2021-01-20T01:10:40.867Z] ---> Running in fa3f86abec00 [2021-01-20T01:10:41.464Z] Removing intermediate container fa3f86abec00 [2021-01-20T01:10:41.464Z] ---> fbdf3589872c [2021-01-20T01:10:41.464Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T01:10:41.464Z] ---> Running in e2436ce87513 [2021-01-20T01:10:42.085Z] Removing intermediate container e2436ce87513 [2021-01-20T01:10:42.085Z] ---> c7321abe3c43 [2021-01-20T01:10:42.085Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T01:10:42.085Z] ---> Running in f9a893163bd5 [2021-01-20T01:10:42.371Z] Removing intermediate container f9a893163bd5 [2021-01-20T01:10:42.371Z] ---> 214b98cfa633 [2021-01-20T01:10:42.371Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:10:42.642Z] ---> Running in 3d51d1ce1fef [2021-01-20T01:10:44.609Z] Removing intermediate container 3d51d1ce1fef [2021-01-20T01:10:44.609Z] ---> 81b03a8a26b6 [2021-01-20T01:10:44.609Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T01:10:44.609Z] ---> Running in a5825910a533 [2021-01-20T01:10:45.590Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T01:10:46.563Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T01:10:47.155Z] OK: 142 MiB in 39 packages [2021-01-20T01:10:48.141Z] Removing intermediate container a5825910a533 [2021-01-20T01:10:48.141Z] ---> d181e8d6a8e8 [2021-01-20T01:10:48.141Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-20T01:10:48.415Z] ---> Running in 6cbf63965e3c [2021-01-20T01:10:49.009Z] Removing intermediate container 6cbf63965e3c [2021-01-20T01:10:49.010Z] ---> dfcc5fef5d22 [2021-01-20T01:10:49.010Z] Step 9/25 : COPY go.mod . [2021-01-20T01:10:49.607Z] ---> 54b1b83b0aac [2021-01-20T01:10:49.607Z] Step 10/25 : COPY Makefile . [2021-01-20T01:10:50.203Z] ---> c0385f0b41ac [2021-01-20T01:10:50.203Z] Step 11/25 : RUN make update [2021-01-20T01:10:50.477Z] ---> Running in aa74ddcb8551 [2021-01-20T01:10:51.454Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-20T01:10:52.890Z] Removing intermediate container aa74ddcb8551 [2021-01-20T01:10:52.890Z] ---> ca5e8817062d [2021-01-20T01:10:52.890Z] Step 12/25 : COPY . . [2021-01-20T01:10:53.485Z] ---> b1611f969813 [2021-01-20T01:10:53.485Z] Step 13/25 : RUN $MAKE [2021-01-20T01:10:53.485Z] ---> Running in 4f0f38d69041 [2021-01-20T01:10:54.930Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.4" -o cmd/device-rest-go ./cmd [2021-01-20T01:11:21.756Z] Removing intermediate container 4f0f38d69041 [2021-01-20T01:11:21.756Z] ---> ae79d44eebd0 [2021-01-20T01:11:21.756Z] Step 14/25 : FROM alpine:3.12 [2021-01-20T01:11:22.029Z] 3.12: Pulling from library/alpine [2021-01-20T01:11:22.029Z] 159e5727ea61: Pulling fs layer [2021-01-20T01:11:22.300Z] 159e5727ea61: Download complete [2021-01-20T01:11:22.899Z] 159e5727ea61: Pull complete [2021-01-20T01:11:22.899Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-20T01:11:22.899Z] Status: Downloaded newer image for alpine:3.12 [2021-01-20T01:11:22.899Z] ---> afeebe901d6b [2021-01-20T01:11:22.899Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T01:11:23.172Z] ---> Running in 2d8ccf6dff40 [2021-01-20T01:11:23.767Z] Removing intermediate container 2d8ccf6dff40 [2021-01-20T01:11:23.767Z] ---> 651ed09609ba [2021-01-20T01:11:23.767Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-20T01:11:23.767Z] ---> Running in d706e26a0da8 [2021-01-20T01:11:24.363Z] Removing intermediate container d706e26a0da8 [2021-01-20T01:11:24.363Z] ---> bd70509327d6 [2021-01-20T01:11:24.363Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-20T01:11:24.958Z] ---> c5eb0826c712 [2021-01-20T01:11:24.958Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-20T01:11:25.551Z] ---> 9029ab4b000f [2021-01-20T01:11:25.551Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-20T01:11:26.527Z] ---> 928bde0d4ef0 [2021-01-20T01:11:26.527Z] Step 20/25 : EXPOSE 49986 [2021-01-20T01:11:26.837Z] ---> Running in 6085332e6a56 [2021-01-20T01:11:27.433Z] Removing intermediate container 6085332e6a56 [2021-01-20T01:11:27.433Z] ---> 74c6fbb27e81 [2021-01-20T01:11:27.433Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-20T01:11:27.433Z] ---> Running in 95f454ebdeb9 [2021-01-20T01:11:27.706Z] Removing intermediate container 95f454ebdeb9 [2021-01-20T01:11:27.706Z] ---> cede777ca2b0 [2021-01-20T01:11:27.706Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-20T01:11:27.981Z] ---> Running in 1d3af145eeca [2021-01-20T01:11:28.579Z] Removing intermediate container 1d3af145eeca [2021-01-20T01:11:28.579Z] ---> 522eea17a8b1 [2021-01-20T01:11:28.579Z] Step 23/25 : LABEL arch=arm64 [2021-01-20T01:11:28.579Z] ---> Running in efcb7208a990 [2021-01-20T01:11:29.176Z] Removing intermediate container efcb7208a990 [2021-01-20T01:11:29.176Z] ---> 6c4b0a2112b8 [2021-01-20T01:11:29.176Z] Step 24/25 : LABEL git_sha=9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:11:29.176Z] ---> Running in b07bc21a224f [2021-01-20T01:11:29.769Z] Removing intermediate container b07bc21a224f [2021-01-20T01:11:29.769Z] ---> ee48556efff3 [2021-01-20T01:11:29.769Z] Step 25/25 : LABEL version=1.2.1-dev.4 [2021-01-20T01:11:29.769Z] ---> Running in 5ab47a65b9b7 [2021-01-20T01:11:30.360Z] Removing intermediate container 5ab47a65b9b7 [2021-01-20T01:11:30.360Z] ---> 9485ec13f9ab [2021-01-20T01:11:30.360Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T01:11:30.360Z] Successfully built 9485ec13f9ab [2021-01-20T01:11:30.360Z] 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 [2021-01-20T01:11:30.764Z] provisioning config files... [2021-01-20T01:11:30.795Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config2833390003531159883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:11:31.176Z] ---> docker-login.sh [2021-01-20T01:11:31.176Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:11:31.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:11:31.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:11:31.448Z] Configure a credential helper to remove this warning. See [2021-01-20T01:11:31.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:11:31.448Z] [2021-01-20T01:11:31.448Z] Login Succeeded [2021-01-20T01:11:31.721Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:11:31.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:11:32.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:11:32.266Z] Configure a credential helper to remove this warning. See [2021-01-20T01:11:32.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:11:32.266Z] [2021-01-20T01:11:32.266Z] Login Succeeded [2021-01-20T01:11:32.266Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:11:32.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:11:32.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:11:32.810Z] Configure a credential helper to remove this warning. See [2021-01-20T01:11:32.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:11:32.810Z] [2021-01-20T01:11:32.810Z] Login Succeeded [2021-01-20T01:11:32.810Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:11:33.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:11:33.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:11:33.354Z] Configure a credential helper to remove this warning. See [2021-01-20T01:11:33.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:11:33.354Z] [2021-01-20T01:11:33.354Z] Login Succeeded [2021-01-20T01:11:33.354Z] docker.io [2021-01-20T01:11:33.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:11:34.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:11:34.217Z] Configure a credential helper to remove this warning. See [2021-01-20T01:11:34.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:11:34.217Z] [2021-01-20T01:11:34.217Z] Login Succeeded [2021-01-20T01:11:34.217Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:11:34.233Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:11:34.424Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-01-20T01:11:34.425Z] 9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:11:34.425Z] latest [2021-01-20T01:11:34.425Z] 1.2.1-dev.4 [2021-01-20T01:11:34.425Z] 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:11:34.425Z] master [2021-01-20T01:11:34.425Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:34.924Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:35.257Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:11:35.257Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-20T01:11:35.257Z] 0223829fcce0: Preparing [2021-01-20T01:11:35.257Z] 9b74916b496a: Preparing [2021-01-20T01:11:35.257Z] f2b62bf540d2: Preparing [2021-01-20T01:11:35.257Z] 379067d0cb53: Preparing [2021-01-20T01:11:35.528Z] 379067d0cb53: Layer already exists [2021-01-20T01:11:35.528Z] 9b74916b496a: Pushed [2021-01-20T01:11:35.528Z] f2b62bf540d2: Pushed [2021-01-20T01:11:38.124Z] 0223829fcce0: Pushed [2021-01-20T01:11:38.124Z] 9e4888f50a2a312870744f4f89808877d999d7c6: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:38.464Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:38.798Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-20T01:11:38.798Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-20T01:11:38.798Z] 0223829fcce0: Preparing [2021-01-20T01:11:38.798Z] 9b74916b496a: Preparing [2021-01-20T01:11:38.798Z] f2b62bf540d2: Preparing [2021-01-20T01:11:38.798Z] 379067d0cb53: Preparing [2021-01-20T01:11:38.798Z] 0223829fcce0: Layer already exists [2021-01-20T01:11:38.798Z] 379067d0cb53: Layer already exists [2021-01-20T01:11:38.798Z] f2b62bf540d2: Layer already exists [2021-01-20T01:11:38.798Z] 9b74916b496a: Layer already exists [2021-01-20T01:11:39.069Z] latest: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:39.406Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:39.758Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 [2021-01-20T01:11:39.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-20T01:11:39.758Z] 0223829fcce0: Preparing [2021-01-20T01:11:39.758Z] 9b74916b496a: Preparing [2021-01-20T01:11:39.758Z] f2b62bf540d2: Preparing [2021-01-20T01:11:39.758Z] 379067d0cb53: Preparing [2021-01-20T01:11:39.758Z] 379067d0cb53: Layer already exists [2021-01-20T01:11:39.758Z] 9b74916b496a: Layer already exists [2021-01-20T01:11:39.758Z] f2b62bf540d2: Layer already exists [2021-01-20T01:11:39.758Z] 0223829fcce0: Layer already exists [2021-01-20T01:11:40.028Z] 1.2.1-dev.4: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:40.363Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:40.699Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:11:40.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-20T01:11:40.699Z] 0223829fcce0: Preparing [2021-01-20T01:11:40.699Z] 9b74916b496a: Preparing [2021-01-20T01:11:40.699Z] f2b62bf540d2: Preparing [2021-01-20T01:11:40.699Z] 379067d0cb53: Preparing [2021-01-20T01:11:40.699Z] 9b74916b496a: Layer already exists [2021-01-20T01:11:40.699Z] 379067d0cb53: Layer already exists [2021-01-20T01:11:40.699Z] 0223829fcce0: Layer already exists [2021-01-20T01:11:40.699Z] f2b62bf540d2: Layer already exists [2021-01-20T01:11:40.971Z] 9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:41.313Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:41.649Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-01-20T01:11:41.649Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-20T01:11:41.649Z] 0223829fcce0: Preparing [2021-01-20T01:11:41.649Z] 9b74916b496a: Preparing [2021-01-20T01:11:41.649Z] f2b62bf540d2: Preparing [2021-01-20T01:11:41.649Z] 379067d0cb53: Preparing [2021-01-20T01:11:41.649Z] 379067d0cb53: Layer already exists [2021-01-20T01:11:41.649Z] 9b74916b496a: Layer already exists [2021-01-20T01:11:41.649Z] f2b62bf540d2: Layer already exists [2021-01-20T01:11:41.649Z] 0223829fcce0: Layer already exists [2021-01-20T01:11:41.921Z] master: digest: sha256:e67c967eed7c146ccf15f3c80f210e4622b93de9e112e205cffe751d88cfd77b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:11:42.124Z] ===================================================== [Pipeline] echo [2021-01-20T01:11:42.174Z] taggedImages: [2021-01-20T01:11:42.174Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6 [2021-01-20T01:11:42.174Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-20T01:11:42.174Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.4 [2021-01-20T01:11:42.174Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:9e4888f50a2a312870744f4f89808877d999d7c6-1.2.1-dev.4 [2021-01-20T01:11:42.174Z] - 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 [2021-01-20T01:11:43.355Z] provisioning config files... [2021-01-20T01:11:43.373Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3160336725365661838tmp [Pipeline] { [Pipeline] sh [2021-01-20T01:11:43.755Z] + set +x [2021-01-20T01:11:43.755Z] + bash -s -- [2021-01-20T01:11:43.755Z] + curl -s https://codecov.io/bash [2021-01-20T01:11:44.024Z] [2021-01-20T01:11:44.024Z] _____ _ [2021-01-20T01:11:44.024Z] / ____| | | [2021-01-20T01:11:44.024Z] | | ___ __| | ___ ___ _____ __ [2021-01-20T01:11:44.024Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-20T01:11:44.024Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-20T01:11:44.024Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-20T01:11:44.024Z] Bash-20210115-cec3c92 [2021-01-20T01:11:44.024Z] [2021-01-20T01:11:44.024Z] [2021-01-20T01:11:44.024Z] ==> git version 2.24.3 found [2021-01-20T01:11:44.024Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-20T01:11:44.024Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-20T01:11:44.024Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-20T01:11:44.024Z] ==> Jenkins CI detected. [2021-01-20T01:11:44.024Z] project root: . [2021-01-20T01:11:44.024Z] --> token set from env [2021-01-20T01:11:44.024Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-20T01:11:44.024Z] ==> Running gcov in . (disable via -X gcov) [2021-01-20T01:11:44.024Z] ==> Python coveragepy not found [2021-01-20T01:11:44.024Z] ==> Searching for coverage reports in: [2021-01-20T01:11:44.024Z] + . [2021-01-20T01:11:44.024Z] -> Found 1 reports [2021-01-20T01:11:44.024Z] ==> Detecting git/mercurial file structure [2021-01-20T01:11:44.024Z] ==> Reading reports [2021-01-20T01:11:44.024Z] + ./coverage.out bytes=9369 [2021-01-20T01:11:44.024Z] ==> Appending adjustments [2021-01-20T01:11:44.024Z] https://docs.codecov.io/docs/fixing-reports [2021-01-20T01:11:44.024Z] + Found adjustments [2021-01-20T01:11:44.024Z] ==> Gzipping contents [2021-01-20T01:11:44.024Z] 4.0K /tmp/codecov.VoZgOq.gz [2021-01-20T01:11:44.024Z] ==> Uploading reports [2021-01-20T01:11:44.024Z] url: https://codecov.io [2021-01-20T01:11:44.024Z] query: branch=master&commit=9e4888f50a2a312870744f4f89808877d999d7c6&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-20T01:11:44.024Z] -> Pinging Codecov [2021-01-20T01:11:44.024Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=9e4888f50a2a312870744f4f89808877d999d7c6&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-20T01:11:44.605Z] -> Uploading to [2021-01-20T01:11:44.605Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-20/4E5D53B4F1F92C436F7061BF334D961C/9e4888f50a2a312870744f4f89808877d999d7c6/e8c8581a-63f7-4ad8-a873-799bd14ca2fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T011144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=311f2159786df0cd44470d6c64138cf65a62c8c60b4dac9eb2f561c666f51427 [2021-01-20T01:11:44.605Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-20T01:11:44.605Z] Dload Upload Total Spent Left Speed [2021-01-20T01:11:45.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3265 --:--:-- --:--:-- --:--:-- 3262 [2021-01-20T01:11:45.181Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] } [2021-01-20T01:11:45.194Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-20T01:11:45.647Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-20T01:11:45.706Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:46.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:11:46.047Z] [2021-01-20T01:11:46.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:46.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:11:46.403Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-20T01:11:46.403Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T01:11:46.403Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T01:11:46.403Z] de9db76c5a1d: Pulling fs layer [2021-01-20T01:11:46.403Z] 0eba1c9be4d2: Pulling fs layer [2021-01-20T01:11:46.403Z] 0d57e429df01: Pulling fs layer [2021-01-20T01:11:46.403Z] 4e4be7b47b0d: Pulling fs layer [2021-01-20T01:11:46.403Z] e1f770b5df2f: Pulling fs layer [2021-01-20T01:11:46.403Z] 85a0685a4137: Pulling fs layer [2021-01-20T01:11:46.403Z] 4e4be7b47b0d: Waiting [2021-01-20T01:11:46.403Z] e1f770b5df2f: Waiting [2021-01-20T01:11:46.403Z] 85a0685a4137: Waiting [2021-01-20T01:11:46.403Z] 0eba1c9be4d2: Waiting [2021-01-20T01:11:46.403Z] 0d57e429df01: Waiting [2021-01-20T01:11:46.403Z] de9db76c5a1d: Verifying Checksum [2021-01-20T01:11:46.403Z] de9db76c5a1d: Download complete [2021-01-20T01:11:46.403Z] 0ef7d3d256c8: Download complete [2021-01-20T01:11:46.403Z] 0d57e429df01: Verifying Checksum [2021-01-20T01:11:46.403Z] 0d57e429df01: Download complete [2021-01-20T01:11:46.403Z] 4e4be7b47b0d: Verifying Checksum [2021-01-20T01:11:46.403Z] 4e4be7b47b0d: Download complete [2021-01-20T01:11:46.403Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T01:11:46.993Z] 188c0c94c7c5: Pull complete [2021-01-20T01:11:46.993Z] 0ef7d3d256c8: Pull complete [2021-01-20T01:11:47.274Z] de9db76c5a1d: Pull complete [2021-01-20T01:11:48.223Z] e1f770b5df2f: Verifying Checksum [2021-01-20T01:11:48.223Z] e1f770b5df2f: Download complete [2021-01-20T01:11:50.153Z] 0eba1c9be4d2: Verifying Checksum [2021-01-20T01:11:50.153Z] 0eba1c9be4d2: Download complete [2021-01-20T01:11:50.734Z] 85a0685a4137: Verifying Checksum [2021-01-20T01:11:50.734Z] 85a0685a4137: Download complete [2021-01-20T01:11:56.079Z] 0eba1c9be4d2: Pull complete [2021-01-20T01:11:56.379Z] 0d57e429df01: Pull complete [2021-01-20T01:11:56.379Z] 4e4be7b47b0d: Pull complete [2021-01-20T01:11:58.314Z] e1f770b5df2f: Pull complete [2021-01-20T01:12:06.526Z] 85a0685a4137: Pull complete [2021-01-20T01:12:06.526Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-20T01:12:06.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:12:06.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-20T01:12:06.739Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:12:06.796Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-20T01:12:07.889Z] $ docker top e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-20T01:12:08.144Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-20T01:12:08.441Z] + set -o pipefail [2021-01-20T01:12:08.442Z] + snyk monitor '--org=edgex-jenkins' [2021-01-20T01:12:16.612Z] [2021-01-20T01:12:16.612Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-01-20T01:12:16.612Z] [2021-01-20T01:12:16.612Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/57f0d43c-2acd-4235-9bb9-a42254376412 [2021-01-20T01:12:16.612Z] [2021-01-20T01:12:16.612Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-20T01:12:16.612Z] [2021-01-20T01:12:16.612Z] [Pipeline] } [2021-01-20T01:12:16.630Z] $ docker stop --time=1 e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 [2021-01-20T01:12:19.230Z] $ docker rm -f e12f30c6df9b3c627ffd8ec720ff105ef2b48d499e79a395923acdb4bd53c0a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-20T01:12:21.064Z] + git log --format=format:%s -1 9e4888f50a2a312870744f4f89808877d999d7c6 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:21.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:12:21.377Z] . [Pipeline] withDockerContainer [2021-01-20T01:12:21.495Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:12:21.543Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T01:12:22.281Z] $ docker top a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:12:22.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:12:22.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:12:22.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:12:22.852Z] $ docker exec a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 ssh-agent [2021-01-20T01:12:23.022Z] SSH_AUTH_SOCK=/tmp/ssh-JtJsQrm1xEWp/agent.12 [2021-01-20T01:12:23.022Z] SSH_AGENT_PID=17 [2021-01-20T01:12:23.030Z] Running ssh-add (command line suppressed) [2021-01-20T01:12:23.164Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5493071804839341567.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5493071804839341567.key) [2021-01-20T01:12:23.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:12:23.561Z] + git semver tag [2021-01-20T01:12:23.561Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:12:23.561Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-20T01:12:23.561Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-20T01:12:23.561Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:12:23.561Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:12:23.561Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:12:23.561Z] # $SEMVER_BRANCH = master [2021-01-20T01:12:23.561Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-20T01:12:23.561Z] # 9e4888f50a2a312870744f4f89808877d999d7c6 HEAD [2021-01-20T01:12:23.561Z] # -> Force: false [2021-01-20T01:12:23.561Z] # 7759b8bf36b2a7ee62e6a897b0fb907de320acac refs/tags/v1.2.1-dev.4 [Pipeline] } [2021-01-20T01:12:23.576Z] $ docker exec --env ******** --env ******** a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 ssh-agent -k [2021-01-20T01:12:23.700Z] unset SSH_AUTH_SOCK; [2021-01-20T01:12:23.700Z] unset SSH_AGENT_PID; [2021-01-20T01:12:23.701Z] echo Agent pid 17 killed; [2021-01-20T01:12:23.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:12:24.230Z] + git semver [Pipeline] } [2021-01-20T01:12:24.257Z] $ docker stop --time=1 a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 [2021-01-20T01:12:25.612Z] $ docker rm -f a4ed70a371652367e693515f150edfdabc16ef53db0d2b27d708902abe284226 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:26.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:12:26.343Z] [2021-01-20T01:12:26.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:26.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:12:26.691Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-20T01:12:26.691Z] ab5ef0e58194: Pulling fs layer [2021-01-20T01:12:26.691Z] 9712f1f96733: Pulling fs layer [2021-01-20T01:12:26.691Z] 63f879dbbcfc: Pulling fs layer [2021-01-20T01:12:26.691Z] 0d9ebad4ef96: Pulling fs layer [2021-01-20T01:12:26.691Z] e9a5061849ea: Pulling fs layer [2021-01-20T01:12:26.691Z] d747dcd14b5f: Pulling fs layer [2021-01-20T01:12:26.691Z] 2de7ff778b66: Pulling fs layer [2021-01-20T01:12:26.691Z] 0d9ebad4ef96: Waiting [2021-01-20T01:12:26.691Z] e9a5061849ea: Waiting [2021-01-20T01:12:26.691Z] d747dcd14b5f: Waiting [2021-01-20T01:12:26.691Z] 2de7ff778b66: Waiting [2021-01-20T01:12:26.691Z] 9712f1f96733: Verifying Checksum [2021-01-20T01:12:26.691Z] 9712f1f96733: Download complete [2021-01-20T01:12:28.631Z] 63f879dbbcfc: Verifying Checksum [2021-01-20T01:12:28.631Z] 63f879dbbcfc: Download complete [2021-01-20T01:12:28.631Z] e9a5061849ea: Verifying Checksum [2021-01-20T01:12:28.631Z] e9a5061849ea: Download complete [2021-01-20T01:12:28.631Z] d747dcd14b5f: Verifying Checksum [2021-01-20T01:12:28.631Z] d747dcd14b5f: Download complete [2021-01-20T01:12:28.893Z] 2de7ff778b66: Verifying Checksum [2021-01-20T01:12:28.893Z] 2de7ff778b66: Download complete [2021-01-20T01:12:29.158Z] ab5ef0e58194: Verifying Checksum [2021-01-20T01:12:29.158Z] ab5ef0e58194: Download complete [2021-01-20T01:12:29.158Z] 0d9ebad4ef96: Verifying Checksum [2021-01-20T01:12:29.158Z] 0d9ebad4ef96: Download complete [2021-01-20T01:12:33.550Z] ab5ef0e58194: Pull complete [2021-01-20T01:12:33.550Z] 9712f1f96733: Pull complete [2021-01-20T01:12:35.546Z] 63f879dbbcfc: Pull complete [2021-01-20T01:12:42.173Z] 0d9ebad4ef96: Pull complete [2021-01-20T01:12:44.738Z] e9a5061849ea: Pull complete [2021-01-20T01:12:45.002Z] d747dcd14b5f: Pull complete [2021-01-20T01:12:46.398Z] 2de7ff778b66: Pull complete [2021-01-20T01:12:46.398Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-20T01:12:46.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:12:46.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-20T01:12:46.600Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:12:46.648Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-20T01:12:50.086Z] $ docker top 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-20T01:12:50.304Z] provisioning config files... [2021-01-20T01:12:50.315Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6186157885602407713tmp [2021-01-20T01:12:50.333Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3733461370903505782tmp [2021-01-20T01:12:50.348Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5570939445899131557tmp [Pipeline] { [Pipeline] echo [2021-01-20T01:12:50.513Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:50.812Z] ---> sigul-configuration.sh [2021-01-20T01:12:50.812Z] gpg: directory `/root/.gnupg' created [2021-01-20T01:12:50.812Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-20T01:12:50.812Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-20T01:12:50.812Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-20T01:12:50.812Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-20T01:12:50.812Z] gpg: CAST5 encrypted data [2021-01-20T01:12:51.074Z] gpg: encrypted with 1 passphrase [2021-01-20T01:12:51.074Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-20T01:12:51.375Z] + mkdir /home/jenkins [2021-01-20T01:12:51.375Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-20T01:12:51.674Z] + 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 [2021-01-20T01:12:51.686Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:51.985Z] ---> sigul-install.sh [2021-01-20T01:12:57.288Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-20T01:12:57.594Z] + git tag --list [2021-01-20T01:12:57.594Z] v1.0.0 [2021-01-20T01:12:57.594Z] v1.1.0 [2021-01-20T01:12:57.594Z] v1.1.1 [2021-01-20T01:12:57.594Z] v1.1.2 [2021-01-20T01:12:57.594Z] v1.1.2-dev.1 [2021-01-20T01:12:57.594Z] v1.1.2-dev.2 [2021-01-20T01:12:57.594Z] v1.1.3-dev.1 [2021-01-20T01:12:57.594Z] v1.1.3-dev.10 [2021-01-20T01:12:57.594Z] v1.1.3-dev.2 [2021-01-20T01:12:57.594Z] v1.1.3-dev.3 [2021-01-20T01:12:57.594Z] v1.1.3-dev.4 [2021-01-20T01:12:57.594Z] v1.1.3-dev.5 [2021-01-20T01:12:57.594Z] v1.1.3-dev.6 [2021-01-20T01:12:57.594Z] v1.1.3-dev.7 [2021-01-20T01:12:57.594Z] v1.1.3-dev.8 [2021-01-20T01:12:57.594Z] v1.1.3-dev.9 [2021-01-20T01:12:57.594Z] v1.2.0 [2021-01-20T01:12:57.594Z] v1.2.1-dev.1 [2021-01-20T01:12:57.594Z] v1.2.1-dev.2 [2021-01-20T01:12:57.594Z] v1.2.1-dev.3 [2021-01-20T01:12:57.594Z] v1.2.1-dev.4 [Pipeline] sh [2021-01-20T01:12:57.891Z] + lftools sign git-tag v1.2.1-dev.4 [2021-01-20T01:12:59.286Z] Signing Git tag with Sigul... [2021-01-20T01:12:59.286Z] Signing v1.2.1-dev.4 [Pipeline] echo [2021-01-20T01:13:00.249Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:00.560Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-20T01:13:00.570Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-20T01:13:00.667Z] $ docker stop --time=1 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 [2021-01-20T01:13:02.751Z] $ docker rm -f 82de70654595e67bb5a54f77135e5e81c8aaba70cf58ea942ff532fbf9d0d877 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:13:03.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:13:03.705Z] . [Pipeline] withDockerContainer [2021-01-20T01:13:03.820Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:13:03.900Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T01:13:04.618Z] $ docker top fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:13:05.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:13:05.053Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:13:05.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:13:05.301Z] $ docker exec fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 ssh-agent [2021-01-20T01:13:05.476Z] SSH_AUTH_SOCK=/tmp/ssh-Wz9nhsz3lCqW/agent.11 [2021-01-20T01:13:05.476Z] SSH_AGENT_PID=16 [2021-01-20T01:13:05.484Z] Running ssh-add (command line suppressed) [2021-01-20T01:13:05.614Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3982839367701154361.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3982839367701154361.key) [2021-01-20T01:13:05.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:13:06.014Z] + git semver bump pre [2021-01-20T01:13:06.014Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:13:06.014Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-20T01:13:06.014Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-20T01:13:06.014Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:13:06.014Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:13:06.014Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:13:06.015Z] # $SEMVER_BRANCH = master [2021-01-20T01:13:06.015Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-20T01:13:06.015Z] 1.2.1-dev.5 [Pipeline] } [2021-01-20T01:13:06.029Z] $ docker exec --env ******** --env ******** fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 ssh-agent -k [2021-01-20T01:13:06.152Z] unset SSH_AUTH_SOCK; [2021-01-20T01:13:06.153Z] unset SSH_AGENT_PID; [2021-01-20T01:13:06.153Z] echo Agent pid 16 killed; [2021-01-20T01:13:06.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:13:06.730Z] + git semver [Pipeline] } [2021-01-20T01:13:06.748Z] $ docker stop --time=1 fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 [2021-01-20T01:13:08.125Z] $ docker rm -f fe652541dfdbc214d23a02b41bfcd2a8f6abbdf6b5604d6b920f3192d87d60a5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:13:08.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:13:08.646Z] . [Pipeline] withDockerContainer [2021-01-20T01:13:08.742Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:13:08.788Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T01:13:09.520Z] $ docker top 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:13:09.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:13:09.832Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:13:10.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:13:10.052Z] $ docker exec 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 ssh-agent [2021-01-20T01:13:10.229Z] SSH_AUTH_SOCK=/tmp/ssh-Wqf5yRCZpnUQ/agent.12 [2021-01-20T01:13:10.229Z] SSH_AGENT_PID=18 [2021-01-20T01:13:10.237Z] Running ssh-add (command line suppressed) [2021-01-20T01:13:10.373Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8705748137081259477.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8705748137081259477.key) [2021-01-20T01:13:10.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:13:10.764Z] + git semver push [2021-01-20T01:13:10.764Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:13:10.764Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-20T01:13:10.764Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-20T01:13:10.764Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:13:10.764Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:13:10.764Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:13:10.764Z] # $SEMVER_BRANCH = master [2021-01-20T01:13:10.765Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-20T01:13:17.381Z] $ docker exec --env ******** --env ******** 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 ssh-agent -k [2021-01-20T01:13:17.519Z] unset SSH_AUTH_SOCK; [2021-01-20T01:13:17.520Z] unset SSH_AGENT_PID; [2021-01-20T01:13:17.520Z] echo Agent pid 18 killed; [2021-01-20T01:13:17.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:13:18.041Z] + git semver [Pipeline] } [2021-01-20T01:13:18.062Z] $ docker stop --time=1 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 [2021-01-20T01:13:19.426Z] $ docker rm -f 2da710e49dc8885ac854536460e9f85ee397992adb1e5c68cf6436ec5e41a6b5 [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 [2021-01-20T01:13:20.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:21.518Z] ---> package-listing.sh [2021-01-20T01:13:21.518Z] ++ facter osfamily [2021-01-20T01:13:21.518Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T01:13:21.518Z] + OS_FAMILY=redhat [2021-01-20T01:13:21.518Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-01-20T01:13:21.518Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T01:13:21.518Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T01:13:21.518Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T01:13:21.518Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T01:13:21.518Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-20T01:13:21.518Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T01:13:21.518Z] + case "${OS_FAMILY}" in [2021-01-20T01:13:21.518Z] + rpm -qa [2021-01-20T01:13:21.518Z] + sort [2021-01-20T01:13:26.963Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T01:13:26.963Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T01:13:26.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T01:13:26.963Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-20T01:13:26.963Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-01-20T01:13:26.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2021-01-20T01:13:26.993Z] 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 [2021-01-20T01:13:27.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:13:27.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:13:27.703Z] [2021-01-20T01:13:27.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:13:28.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:13:28.053Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T01:13:28.053Z] df20fa9351a1: Pulling fs layer [2021-01-20T01:13:28.053Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T01:13:28.053Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T01:13:28.053Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T01:13:28.053Z] 93b61091891f: Pulling fs layer [2021-01-20T01:13:28.053Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T01:13:28.053Z] 5e14af77c1be: Pulling fs layer [2021-01-20T01:13:28.053Z] 01666e4c0597: Pulling fs layer [2021-01-20T01:13:28.053Z] aa168da1d23b: Pulling fs layer [2021-01-20T01:13:28.053Z] 93b9cdb0e59b: Waiting [2021-01-20T01:13:28.053Z] 93b61091891f: Waiting [2021-01-20T01:13:28.053Z] 5e14af77c1be: Waiting [2021-01-20T01:13:28.053Z] 01666e4c0597: Waiting [2021-01-20T01:13:28.053Z] aa168da1d23b: Waiting [2021-01-20T01:13:28.053Z] 46f8f816bc3b: Waiting [2021-01-20T01:13:28.053Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T01:13:28.053Z] 36b3adc4ff6f: Download complete [2021-01-20T01:13:28.053Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T01:13:28.053Z] 46f8f816bc3b: Download complete [2021-01-20T01:13:28.053Z] df20fa9351a1: Verifying Checksum [2021-01-20T01:13:28.321Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T01:13:28.321Z] 93b9cdb0e59b: Download complete [2021-01-20T01:13:28.321Z] 5e14af77c1be: Verifying Checksum [2021-01-20T01:13:28.321Z] 5e14af77c1be: Download complete [2021-01-20T01:13:28.321Z] 01666e4c0597: Verifying Checksum [2021-01-20T01:13:28.321Z] 01666e4c0597: Download complete [2021-01-20T01:13:28.321Z] 93b61091891f: Verifying Checksum [2021-01-20T01:13:28.321Z] 93b61091891f: Download complete [2021-01-20T01:13:28.321Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T01:13:28.321Z] 8ad3a11d3b57: Download complete [2021-01-20T01:13:28.897Z] df20fa9351a1: Pull complete [2021-01-20T01:13:29.171Z] 36b3adc4ff6f: Pull complete [2021-01-20T01:13:30.572Z] aa168da1d23b: Verifying Checksum [2021-01-20T01:13:30.572Z] aa168da1d23b: Download complete [2021-01-20T01:13:30.572Z] 8ad3a11d3b57: Pull complete [2021-01-20T01:13:30.834Z] 46f8f816bc3b: Pull complete [2021-01-20T01:13:31.099Z] 93b61091891f: Pull complete [2021-01-20T01:13:31.362Z] 93b9cdb0e59b: Pull complete [2021-01-20T01:13:31.362Z] 5e14af77c1be: Pull complete [2021-01-20T01:13:31.629Z] 01666e4c0597: Pull complete [2021-01-20T01:13:39.816Z] aa168da1d23b: Pull complete [2021-01-20T01:13:39.816Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T01:13:39.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:13:39.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T01:13:39.938Z] prd-centos7-docker-4c-2g-21453 does not seem to be running inside a container [2021-01-20T01:13:39.987Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T01:13:42.498Z] $ docker top 99ce429481f673f7a1834ebd411ce245ffb782d4b05a0072fa5034fcfd2eb93c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:13:43.066Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T01:13:43.364Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T01:13:43.660Z] + ls /var/log/sa-host [2021-01-20T01:13:43.661Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T01:13:43.661Z] file_magic: OK [2021-01-20T01:13:43.661Z] HZ: Using current value: 100 [2021-01-20T01:13:43.661Z] file_header: OK [2021-01-20T01:13:43.661Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-20T01:13:43.661Z] Statistics: [2021-01-20T01:13:43.661Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T01:13:43.661Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T01:13:43.661Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T01:13:43.661Z] file_magic: OK [2021-01-20T01:13:43.661Z] HZ: Using current value: 100 [2021-01-20T01:13:43.661Z] file_header: OK [2021-01-20T01:13:43.661Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-20T01:13:43.661Z] Statistics: [2021-01-20T01:13:43.661Z] Hnuu...uuuununununu... [2021-01-20T01:13:43.661Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T01:13:43.874Z] provisioning config files... [2021-01-20T01:13:43.888Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4465989842379516943tmp [Pipeline] { [Pipeline] echo [2021-01-20T01:13:43.971Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:44.269Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T01:13:44.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T01:13:44.366Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:44.667Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T01:13:44.678Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:44.978Z] ---> sudo-logs.sh [2021-01-20T01:13:44.979Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T01:13:44.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:45.285Z] ---> job-cost.sh [2021-01-20T01:13:45.285Z] lf-activate-venv: SKIPPING [2021-01-20T01:13:45.285Z] INFO: No Stack... [2021-01-20T01:13:46.232Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T01:13:46.494Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T01:13:46.507Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:13:46.804Z] ---> logs-deploy.sh [2021-01-20T01:13:46.804Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/31 [2021-01-20T01:13:46.804Z] INFO: archiving workspace using pattern(s): [2021-01-20T01:13:48.734Z] Archives upload complete. [2021-01-20T01:13:48.734Z] INFO: archiving logs to Nexus