Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 793fa606b8324739f564128f9001c967c619a4b2 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-18204 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 793fa606b8324739f564128f9001c967c619a4b2 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" > git rev-list --no-walk 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:45:17.862Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:45:18.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:45:19.361Z] ========================================================= [2021-01-04T16:45:19.361Z] EdgeX Global Pipelines Version Info [2021-01-04T16:45:19.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:20.896Z] ------------------- [2021-01-04T16:45:20.896Z] stable info: [2021-01-04T16:45:20.896Z] ------------------- [2021-01-04T16:45:20.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:45:20.896Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:45:20.896Z] Message: update stable to v1.0.173 [2021-01-04T16:45:21.840Z] ------------------- [2021-01-04T16:45:21.841Z] experimental info: [2021-01-04T16:45:21.841Z] ------------------- [2021-01-04T16:45:21.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:45:21.841Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:45:21.841Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:45:22.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-04T16:45:22.183Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-04T16:45:22.260Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:45:22.350Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:45:22.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:45:22.556Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:45:22.662Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:45:22.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:45:22.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T16:45:22.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:45:23.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:45:23.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-04T16:45:23.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:45:23.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:45:23.402Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:45:23.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:45:23.622Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:45:23.713Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:45:23.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:45:23.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T16:45:24.007Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T16:45:24.148Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T16:45:24.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:45:24.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:45:24.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:45:24.616Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:45:24.720Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:45:24.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-04T16:45:24.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-04T16:45:25.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-04T16:45:25.131Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] echo [2021-01-04T16:45:25.289Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 793fa60 [Pipeline] echo [2021-01-04T16:45:25.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:45:25.753Z] provisioning config files... [2021-01-04T16:45:25.783Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3999378462167923086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:26.146Z] ---> docker-login.sh [2021-01-04T16:45:26.146Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:45:26.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:26.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:26.410Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:26.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:26.410Z] [2021-01-04T16:45:26.410Z] Login Succeeded [2021-01-04T16:45:26.410Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:45:26.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:26.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:26.678Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:26.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:26.678Z] [2021-01-04T16:45:26.678Z] Login Succeeded [2021-01-04T16:45:26.678Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:45:26.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:26.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:26.943Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:26.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:26.943Z] [2021-01-04T16:45:26.943Z] Login Succeeded [2021-01-04T16:45:26.943Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:45:26.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:26.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:26.944Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:26.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:26.944Z] [2021-01-04T16:45:26.944Z] Login Succeeded [2021-01-04T16:45:26.944Z] docker.io [2021-01-04T16:45:27.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:27.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:27.472Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:27.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:27.472Z] [2021-01-04T16:45:27.472Z] Login Succeeded [2021-01-04T16:45:27.472Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:45:27.482Z] 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-04T16:45:28.319Z] + git log --format=format:%s -1 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] echo [2021-01-04T16:45:28.404Z] GIT_COMMIT: 793fa606b8324739f564128f9001c967c619a4b2, Commit Message: Merge pull request #66 from ernestojeda/devops-std-dockerfiles [Pipeline] echo [2021-01-04T16:45:28.448Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:29.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:45:29.030Z] [2021-01-04T16:45:29.030Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:29.408Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:45:29.408Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:45:29.408Z] 31603596830f: Pulling fs layer [2021-01-04T16:45:29.408Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:45:29.408Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:45:29.408Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:45:29.408Z] ecc8261a40a4: Waiting [2021-01-04T16:45:29.408Z] 2a8b12db71e7: Download complete [2021-01-04T16:45:29.408Z] 31603596830f: Verifying Checksum [2021-01-04T16:45:29.408Z] 31603596830f: Download complete [2021-01-04T16:45:29.670Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:45:29.670Z] ecc8261a40a4: Download complete [2021-01-04T16:45:29.670Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:45:29.670Z] 6ca5941a6612: Download complete [2021-01-04T16:45:29.957Z] 31603596830f: Pull complete [2021-01-04T16:45:29.957Z] 2a8b12db71e7: Pull complete [2021-01-04T16:45:30.914Z] 6ca5941a6612: Pull complete [2021-01-04T16:45:30.914Z] ecc8261a40a4: Pull complete [2021-01-04T16:45:30.914Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:45:31.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:45:31.180Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:45:31.289Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:45:31.437Z] $ 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-04T16:45:33.287Z] $ docker top c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:45:33.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:45:33.606Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:45:33.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:45:33.819Z] $ docker exec c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent [2021-01-04T16:45:33.977Z] SSH_AUTH_SOCK=/tmp/ssh-sJLGKTXhogVH/agent.11 [2021-01-04T16:45:33.977Z] SSH_AGENT_PID=16 [2021-01-04T16:45:33.987Z] Running ssh-add (command line suppressed) [2021-01-04T16:45:34.104Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6013962163156167335.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6013962163156167335.key) [2021-01-04T16:45:34.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:45:34.490Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:45:34.515Z] $ docker exec --env ******** --env ******** c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent -k [2021-01-04T16:45:34.645Z] unset SSH_AUTH_SOCK; [2021-01-04T16:45:34.645Z] unset SSH_AGENT_PID; [2021-01-04T16:45:34.646Z] echo Agent pid 16 killed; [2021-01-04T16:45:34.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:45:34.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:45:34.848Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:45:35.011Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:45:35.016Z] $ docker exec c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent [2021-01-04T16:45:35.182Z] SSH_AUTH_SOCK=/tmp/ssh-j95FQeYTeUYF/agent.46 [2021-01-04T16:45:35.182Z] SSH_AGENT_PID=51 [2021-01-04T16:45:35.194Z] Running ssh-add (command line suppressed) [2021-01-04T16:45:35.321Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7391449743890839684.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7391449743890839684.key) [2021-01-04T16:45:35.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:45:35.726Z] + git semver init [2021-01-04T16:45:35.726Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:45:35.726Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-04T16:45:35.726Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-04T16:45:35.726Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:45:35.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:45:35.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:45:35.726Z] # $SEMVER_BRANCH = master [2021-01-04T16:45:35.726Z] # $SEMVER_TEMP = /tmp/semver-197949940 [2021-01-04T16:45:35.726Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-04T16:45:36.674Z] # '/tmp/semver-197949940' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-01-04T16:45:36.674Z] # -> Force: false [2021-01-04T16:45:36.674Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-04T16:45:36.690Z] $ docker exec --env ******** --env ******** c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 ssh-agent -k [2021-01-04T16:45:36.806Z] unset SSH_AUTH_SOCK; [2021-01-04T16:45:36.806Z] unset SSH_AGENT_PID; [2021-01-04T16:45:36.806Z] echo Agent pid 51 killed; [2021-01-04T16:45:36.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:45:37.322Z] + git semver [Pipeline] } [2021-01-04T16:45:37.341Z] $ docker stop --time=1 c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 [2021-01-04T16:45:38.865Z] $ docker rm -f c9630b72b375ce402b30d85b68e3257aa1fa8dc0668621098f738447e97a4812 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:45:39.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:45:39.739Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:45:39.742Z] [edgeXSemver]: initialized semver on version 1.2.1-dev.2 [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-04T16:45:55.404Z] Still waiting to schedule task [2021-01-04T16:45:55.404Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T16:45:55.404Z] Still waiting to schedule task [2021-01-04T16:45:55.404Z] ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18194’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18199’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18197’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-04T16:47:10.089Z] Running on prd-centos7-docker-4c-2g-18211 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:47:10.144Z] Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout [2021-01-04T16:47:13.091Z] using credential edgex-jenkins-ssh [2021-01-04T16:47:13.178Z] Cloning the remote Git repository [2021-01-04T16:47:13.211Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:47:13.285Z] > git init /w/workspace/device-rest-go/29 # timeout=10 [2021-01-04T16:47:13.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:47:13.346Z] > git --version # timeout=10 [2021-01-04T16:47:13.364Z] > git --version # 'git version 2.24.3' [2021-01-04T16:47:13.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:13.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:16.883Z] Checking out Revision 793fa606b8324739f564128f9001c967c619a4b2 (master) [2021-01-04T16:47:16.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:47:16.418Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:16.432Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:47:16.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:47:16.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:16.452Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:47:16.891Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:47:16.898Z] > git checkout -f 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-04T16:47:20.564Z] Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:47:21.751Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:47:22.093Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:47:22.407Z] + sudo service docker restart [2021-01-04T16:47:22.407Z] + true [2021-01-04T16:47:22.407Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:47:23.464Z] provisioning config files... [2021-01-04T16:47:23.492Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config7861468816235921456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:23.870Z] ---> docker-login.sh [2021-01-04T16:47:23.870Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:47:24.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:24.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:24.401Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:24.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:24.401Z] [2021-01-04T16:47:24.401Z] Login Succeeded [2021-01-04T16:47:24.401Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:47:24.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:24.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:24.401Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:24.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:24.401Z] [2021-01-04T16:47:24.401Z] Login Succeeded [2021-01-04T16:47:24.401Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:47:24.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:24.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:24.667Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:24.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:24.667Z] [2021-01-04T16:47:24.667Z] Login Succeeded [2021-01-04T16:47:24.667Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:47:24.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:25.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:25.194Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:25.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:25.194Z] [2021-01-04T16:47:25.194Z] Login Succeeded [2021-01-04T16:47:25.194Z] docker.io [2021-01-04T16:47:25.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:25.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:25.456Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:25.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:25.456Z] [2021-01-04T16:47:25.456Z] Login Succeeded [2021-01-04T16:47:25.456Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:47:25.468Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:47:25.810Z] ========================================================= [2021-01-04T16:47:25.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:47:25.810Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:26.153Z] + 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-04T16:47:26.153Z] Sending build context to Docker daemon 84.48kB [2021-01-04T16:47:26.416Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:47:26.416Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:47:26.416Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:47:26.416Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:47:26.416Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:47:26.416Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:47:26.416Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:47:26.416Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:47:26.416Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:47:26.416Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:47:26.416Z] bca2f99d35d6: Waiting [2021-01-04T16:47:26.416Z] 93359f2a8cfa: Waiting [2021-01-04T16:47:26.416Z] a35cf1a2eb13: Waiting [2021-01-04T16:47:26.416Z] 7c6f9722023f: Waiting [2021-01-04T16:47:26.416Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:47:26.416Z] de9db76c5a1d: Download complete [2021-01-04T16:47:26.416Z] 0ef7d3d256c8: Download complete [2021-01-04T16:47:26.416Z] 93359f2a8cfa: Download complete [2021-01-04T16:47:26.416Z] 7c6f9722023f: Verifying Checksum [2021-01-04T16:47:26.416Z] 7c6f9722023f: Download complete [2021-01-04T16:47:27.819Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:47:27.819Z] 188c0c94c7c5: Download complete [2021-01-04T16:47:27.819Z] 188c0c94c7c5: Pull complete [2021-01-04T16:47:28.084Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:47:28.348Z] de9db76c5a1d: Pull complete [2021-01-04T16:47:29.309Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:47:29.309Z] a35cf1a2eb13: Download complete [2021-01-04T16:47:29.886Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:47:29.887Z] bca2f99d35d6: Download complete [2021-01-04T16:47:35.235Z] bca2f99d35d6: Pull complete [2021-01-04T16:47:35.499Z] 93359f2a8cfa: Pull complete [2021-01-04T16:47:35.499Z] 7c6f9722023f: Pull complete [2021-01-04T16:47:42.147Z] a35cf1a2eb13: Pull complete [2021-01-04T16:47:42.147Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:47:42.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:47:42.147Z] ---> a62c8e92a672 [2021-01-04T16:47:42.147Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:47:42.416Z] ---> Running in ead94104bed4 [2021-01-04T16:47:42.679Z] Removing intermediate container ead94104bed4 [2021-01-04T16:47:42.679Z] ---> e44769ef325b [2021-01-04T16:47:42.679Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:47:42.679Z] ---> Running in 675ffec38cf5 [2021-01-04T16:47:42.941Z] Removing intermediate container 675ffec38cf5 [2021-01-04T16:47:42.941Z] ---> 8623fc7d7af1 [2021-01-04T16:47:42.941Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:47:42.941Z] ---> Running in 276ebc706e5b [2021-01-04T16:47:42.941Z] Removing intermediate container 276ebc706e5b [2021-01-04T16:47:42.941Z] ---> c6b626e05798 [2021-01-04T16:47:42.941Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:47:43.203Z] ---> Running in 468e80b515ea [2021-01-04T16:47:44.151Z] Removing intermediate container 468e80b515ea [2021-01-04T16:47:44.151Z] ---> 2e07ed96f529 [2021-01-04T16:47:44.151Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:47:44.151Z] ---> Running in a2e73fa6ba4d [2021-01-04T16:47:44.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:47:46.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:47:47.670Z] OK: 166 MiB in 39 packages [2021-01-04T16:47:48.248Z] Removing intermediate container a2e73fa6ba4d [2021-01-04T16:47:48.248Z] ---> b53ad15d300a [2021-01-04T16:47:48.248Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T16:47:48.248Z] ---> Running in b0b04cd9a9cc [2021-01-04T16:47:48.248Z] Removing intermediate container b0b04cd9a9cc [2021-01-04T16:47:48.248Z] ---> 4d9feefb582a [2021-01-04T16:47:48.248Z] Step 9/10 : COPY . . [2021-01-04T16:47:48.513Z] ---> ee2925c81733 [2021-01-04T16:47:48.513Z] Step 10/10 : RUN go mod download [2021-01-04T16:47:48.790Z] ---> Running in 408faeef8ee8 [2021-01-04T16:48:10.870Z] Removing intermediate container 408faeef8ee8 [2021-01-04T16:48:10.870Z] ---> 89a6902db2b8 [2021-01-04T16:48:10.870Z] Successfully built 89a6902db2b8 [2021-01-04T16:48:10.870Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:11.192Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:48:11.192Z] . [Pipeline] withDockerContainer [2021-01-04T16:48:11.329Z] prd-centos7-docker-4c-2g-18211 does not seem to be running inside a container [2021-01-04T16:48:11.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-04T16:48:12.256Z] $ docker top 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:48:12.758Z] + go version [2021-01-04T16:48:12.758Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T16:48:12.772Z] $ docker stop --time=1 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f [2021-01-04T16:48:14.124Z] $ docker rm -f 565423b5bd8cb62d14becd3265d86d365005405176f348de60d35b8411046d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:15.032Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:48:15.032Z] . [Pipeline] withDockerContainer [2021-01-04T16:48:15.138Z] prd-centos7-docker-4c-2g-18211 does not seem to be running inside a container [2021-01-04T16:48:15.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-04T16:48:15.773Z] $ docker top 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:48:16.251Z] + make test [2021-01-04T16:48:16.251Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T16:48:17.200Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-04T16:48:29.612Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-04T16:48:29.612Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements [2021-01-04T16:48:29.612Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:48:31.029Z] gofmt -l . [2021-01-04T16:48:31.295Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:48:31.295Z] ./bin/test-go-mod-tidy.sh [2021-01-04T16:48:31.561Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-04T16:48:32.154Z] $ docker stop --time=1 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e [2021-01-04T16:48:35.563Z] $ docker rm -f 73447b81a3c757a888d91ff47fd6c27f6a4947b145f10724d21b16911d85756e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:48:36.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:48:36.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-04T16:48:37.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:48:38.008Z] + ls -al . [2021-01-04T16:48:38.008Z] total 96 [2021-01-04T16:48:38.008Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 4 16:48 . [2021-01-04T16:48:38.008Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 4 16:47 .. [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 4 16:47 Attribution.txt [2021-01-04T16:48:38.008Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:47 bin [2021-01-04T16:48:38.008Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:47 cmd [2021-01-04T16:48:38.008Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 4 16:48 coverage.out [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 4 16:47 Dockerfile [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 4 16:47 Dockerfile.build [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 4 16:47 .dockerignore [2021-01-04T16:48:38.008Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 4 16:48 driver [2021-01-04T16:48:38.008Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 4 16:47 .git [2021-01-04T16:48:38.008Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:47 .github [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 4 16:47 .gitignore [2021-01-04T16:48:38.008Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 4 16:48 go.mod [2021-01-04T16:48:38.008Z] -rw-r--r--. 1 jenkins jenkins 13790 Jan 4 16:48 go.sum [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 4 16:47 Jenkinsfile [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:47 LICENSE [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 4 16:47 Makefile [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 4 16:47 README.md [2021-01-04T16:48:38.008Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 4 16:47 snap [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 4 16:45 VERSION [2021-01-04T16:48:38.008Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 4 16:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:38.315Z] + 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=793fa606b8324739f564128f9001c967c619a4b2 --label arch=amd64 --label version=1.2.1-dev.2 . [2021-01-04T16:48:38.315Z] Sending build context to Docker daemon 96.26kB [2021-01-04T16:48:38.315Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:48:38.315Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-04T16:48:38.315Z] ---> 89a6902db2b8 [2021-01-04T16:48:38.315Z] Step 3/25 : ARG MAKE='make build' [2021-01-04T16:48:38.580Z] ---> Running in b7fb7bd814c7 [2021-01-04T16:48:38.580Z] Removing intermediate container b7fb7bd814c7 [2021-01-04T16:48:38.580Z] ---> 9799a2493eb0 [2021-01-04T16:48:38.580Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:48:38.842Z] ---> Running in fcf38446fd19 [2021-01-04T16:48:38.842Z] Removing intermediate container fcf38446fd19 [2021-01-04T16:48:38.842Z] ---> 127a0dea7f2a [2021-01-04T16:48:38.842Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:48:38.842Z] ---> Running in 412f70a8525d [2021-01-04T16:48:39.105Z] Removing intermediate container 412f70a8525d [2021-01-04T16:48:39.105Z] ---> 80cad47c357b [2021-01-04T16:48:39.105Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:48:39.105Z] ---> Running in 1da451d36001 [2021-01-04T16:48:40.062Z] Removing intermediate container 1da451d36001 [2021-01-04T16:48:40.062Z] ---> e189d4608f01 [2021-01-04T16:48:40.062Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:48:40.062Z] ---> Running in 8793e2a37d8b [2021-01-04T16:48:40.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:48:42.042Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:48:44.606Z] OK: 166 MiB in 39 packages [2021-01-04T16:48:45.188Z] Removing intermediate container 8793e2a37d8b [2021-01-04T16:48:45.188Z] ---> 1b412bb0e4f5 [2021-01-04T16:48:45.188Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-04T16:48:45.188Z] ---> Running in 48b2725271e4 [2021-01-04T16:48:45.188Z] Removing intermediate container 48b2725271e4 [2021-01-04T16:48:45.188Z] ---> 94cb499cc742 [2021-01-04T16:48:45.188Z] Step 9/25 : COPY go.mod . [2021-01-04T16:48:45.453Z] ---> a68e66283b5d [2021-01-04T16:48:45.453Z] Step 10/25 : COPY Makefile . [2021-01-04T16:48:45.719Z] ---> 1a3df46e16cf [2021-01-04T16:48:45.719Z] Step 11/25 : RUN make update [2021-01-04T16:48:45.719Z] ---> Running in 585c9d1315b1 [2021-01-04T16:48:46.294Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:48:46.871Z] Removing intermediate container 585c9d1315b1 [2021-01-04T16:48:46.871Z] ---> 4a756f49d013 [2021-01-04T16:48:46.871Z] Step 12/25 : COPY . . [2021-01-04T16:48:47.140Z] ---> e379f26b8cfb [2021-01-04T16:48:47.140Z] Step 13/25 : RUN $MAKE [2021-01-04T16:48:47.140Z] ---> Running in 2350ad74f08e [2021-01-04T16:48:47.728Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.2" -o cmd/device-rest-go ./cmd [2021-01-04T16:49:00.137Z] Removing intermediate container 2350ad74f08e [2021-01-04T16:49:00.137Z] ---> c010b190b95b [2021-01-04T16:49:00.137Z] Step 14/25 : FROM alpine:3.12 [2021-01-04T16:49:00.137Z] 3.12: Pulling from library/alpine [2021-01-04T16:49:00.137Z] 801bfaa63ef2: Pulling fs layer [2021-01-04T16:49:00.137Z] 801bfaa63ef2: Verifying Checksum [2021-01-04T16:49:00.137Z] 801bfaa63ef2: Download complete [2021-01-04T16:49:00.137Z] 801bfaa63ef2: Pull complete [2021-01-04T16:49:00.137Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:49:00.137Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:49:00.137Z] ---> 389fef711851 [2021-01-04T16:49:00.137Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:49:00.137Z] ---> Running in dbed8bde6436 [2021-01-04T16:49:00.137Z] Removing intermediate container dbed8bde6436 [2021-01-04T16:49:00.137Z] ---> 37844f673010 [2021-01-04T16:49:00.137Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-04T16:49:00.137Z] ---> Running in b9b9e5082021 [2021-01-04T16:49:00.137Z] Removing intermediate container b9b9e5082021 [2021-01-04T16:49:00.137Z] ---> b281cd39179c [2021-01-04T16:49:00.137Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-04T16:49:00.137Z] ---> 5dea860b253a [2021-01-04T16:49:00.137Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-04T16:49:00.400Z] ---> b881296c2f22 [2021-01-04T16:49:00.400Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-04T16:49:00.980Z] ---> ebf88d80fce9 [2021-01-04T16:49:00.980Z] Step 20/25 : EXPOSE 49986 [2021-01-04T16:49:00.980Z] ---> Running in 74fe0c5baa92 [2021-01-04T16:49:01.248Z] Removing intermediate container 74fe0c5baa92 [2021-01-04T16:49:01.248Z] ---> fd25f1eaa277 [2021-01-04T16:49:01.248Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-04T16:49:01.248Z] ---> Running in 7f56748d6951 [2021-01-04T16:49:01.511Z] Removing intermediate container 7f56748d6951 [2021-01-04T16:49:01.511Z] ---> 3b008731f368 [2021-01-04T16:49:01.511Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:49:01.511Z] ---> Running in 5a1416e3c329 [2021-01-04T16:49:01.772Z] Removing intermediate container 5a1416e3c329 [2021-01-04T16:49:01.772Z] ---> 1078461404dc [2021-01-04T16:49:01.772Z] Step 23/25 : LABEL arch=amd64 [2021-01-04T16:49:01.772Z] ---> Running in fca3ce973311 [2021-01-04T16:49:02.038Z] Removing intermediate container fca3ce973311 [2021-01-04T16:49:02.038Z] ---> 465cd157d49e [2021-01-04T16:49:02.038Z] Step 24/25 : LABEL git_sha=793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:49:02.038Z] ---> Running in 442994b3b9cf [2021-01-04T16:49:02.038Z] Removing intermediate container 442994b3b9cf [2021-01-04T16:49:02.038Z] ---> ffb5daff5266 [2021-01-04T16:49:02.038Z] Step 25/25 : LABEL version=1.2.1-dev.2 [2021-01-04T16:49:02.302Z] ---> Running in c95df240f4b4 [2021-01-04T16:49:02.302Z] Removing intermediate container c95df240f4b4 [2021-01-04T16:49:02.302Z] ---> a581d3f01909 [2021-01-04T16:49:02.302Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:49:02.302Z] Successfully built a581d3f01909 [2021-01-04T16:49:02.302Z] 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-04T16:49:02.634Z] provisioning config files... [2021-01-04T16:49:02.666Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config2563957734150405873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:49:03.077Z] ---> docker-login.sh [2021-01-04T16:49:03.077Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:49:03.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:03.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:03.340Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:03.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:03.340Z] [2021-01-04T16:49:03.340Z] Login Succeeded [2021-01-04T16:49:03.340Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:49:03.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:03.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:03.603Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:03.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:03.603Z] [2021-01-04T16:49:03.603Z] Login Succeeded [2021-01-04T16:49:03.603Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:49:03.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:03.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:03.603Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:03.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:03.603Z] [2021-01-04T16:49:03.603Z] Login Succeeded [2021-01-04T16:49:03.603Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:49:03.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:03.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:03.873Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:03.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:03.873Z] [2021-01-04T16:49:03.873Z] Login Succeeded [2021-01-04T16:49:03.873Z] docker.io [2021-01-04T16:49:03.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:04.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:04.135Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:04.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:04.135Z] [2021-01-04T16:49:04.711Z] Login Succeeded [2021-01-04T16:49:04.711Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:49:04.723Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:49:04.930Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-01-04T16:49:04.930Z] 793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:49:04.930Z] latest [2021-01-04T16:49:04.930Z] 1.2.1-dev.2 [2021-01-04T16:49:04.930Z] 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:49:04.930Z] master [2021-01-04T16:49:04.930Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:05.309Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18214 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:49:05.360Z] Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout [2021-01-04T16:49:05.466Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:05.780Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:49:05.780Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-04T16:49:05.780Z] c8ba6e42b2ff: Preparing [2021-01-04T16:49:05.780Z] 7cb9084f7662: Preparing [2021-01-04T16:49:05.780Z] b7c6fccee4b7: Preparing [2021-01-04T16:49:05.780Z] 777b2c648970: Preparing [2021-01-04T16:49:05.780Z] 777b2c648970: Layer already exists [2021-01-04T16:49:05.780Z] 7cb9084f7662: Pushed [2021-01-04T16:49:05.780Z] b7c6fccee4b7: Pushed [2021-01-04T16:49:07.177Z] c8ba6e42b2ff: Pushed [2021-01-04T16:49:07.177Z] 793fa606b8324739f564128f9001c967c619a4b2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:07.486Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:07.791Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-04T16:49:07.792Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-04T16:49:07.792Z] c8ba6e42b2ff: Preparing [2021-01-04T16:49:07.792Z] 7cb9084f7662: Preparing [2021-01-04T16:49:07.792Z] b7c6fccee4b7: Preparing [2021-01-04T16:49:07.792Z] 777b2c648970: Preparing [2021-01-04T16:49:07.792Z] 7cb9084f7662: Layer already exists [2021-01-04T16:49:07.792Z] b7c6fccee4b7: Layer already exists [2021-01-04T16:49:07.792Z] 777b2c648970: Layer already exists [2021-01-04T16:49:07.792Z] c8ba6e42b2ff: Layer already exists [2021-01-04T16:49:07.792Z] latest: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:08.108Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:08.474Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 [2021-01-04T16:49:08.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-04T16:49:08.474Z] c8ba6e42b2ff: Preparing [2021-01-04T16:49:08.474Z] 7cb9084f7662: Preparing [2021-01-04T16:49:08.474Z] b7c6fccee4b7: Preparing [2021-01-04T16:49:08.474Z] 777b2c648970: Preparing [2021-01-04T16:49:08.474Z] b7c6fccee4b7: Layer already exists [2021-01-04T16:49:08.474Z] 777b2c648970: Layer already exists [2021-01-04T16:49:08.474Z] 7cb9084f7662: Layer already exists [2021-01-04T16:49:08.474Z] c8ba6e42b2ff: Layer already exists [2021-01-04T16:49:08.474Z] 1.2.1-dev.2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:08.915Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:10.316Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:49:10.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-04T16:49:10.316Z] c8ba6e42b2ff: Preparing [2021-01-04T16:49:10.316Z] 7cb9084f7662: Preparing [2021-01-04T16:49:10.316Z] b7c6fccee4b7: Preparing [2021-01-04T16:49:10.316Z] 777b2c648970: Preparing [2021-01-04T16:49:10.316Z] c8ba6e42b2ff: Layer already exists [2021-01-04T16:49:10.316Z] b7c6fccee4b7: Layer already exists [2021-01-04T16:49:10.316Z] 7cb9084f7662: Layer already exists [2021-01-04T16:49:10.316Z] 777b2c648970: Layer already exists [2021-01-04T16:49:10.316Z] 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:10.633Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:10.941Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-01-04T16:49:10.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-04T16:49:10.941Z] c8ba6e42b2ff: Preparing [2021-01-04T16:49:10.941Z] 7cb9084f7662: Preparing [2021-01-04T16:49:10.941Z] b7c6fccee4b7: Preparing [2021-01-04T16:49:10.941Z] 777b2c648970: Preparing [2021-01-04T16:49:10.941Z] b7c6fccee4b7: Layer already exists [2021-01-04T16:49:10.941Z] 7cb9084f7662: Layer already exists [2021-01-04T16:49:10.941Z] c8ba6e42b2ff: Layer already exists [2021-01-04T16:49:10.941Z] 777b2c648970: Layer already exists [2021-01-04T16:49:10.941Z] master: digest: sha256:5a93b667f0be589afdb6eb26aa42171d91791726182ddf5e620dfb240b05265c size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:49:11.224Z] ===================================================== [Pipeline] echo [2021-01-04T16:49:11.272Z] taggedImages: [2021-01-04T16:49:11.272Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:49:11.272Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-04T16:49:11.272Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.2 [2021-01-04T16:49:11.272Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:49:11.273Z] - 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-04T16:49:12.268Z] using credential edgex-jenkins-ssh [2021-01-04T16:49:12.335Z] Cloning the remote Git repository [2021-01-04T16:49:12.411Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:49:12.569Z] > git init /w/workspace/device-rest-go/29 # timeout=10 [2021-01-04T16:49:12.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:49:12.678Z] > git --version # timeout=10 [2021-01-04T16:49:12.696Z] > git --version # 'git version 2.17.1' [2021-01-04T16:49:12.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:49:12.808Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:49:15.112Z] Checking out Revision 793fa606b8324739f564128f9001c967c619a4b2 (master) [2021-01-04T16:49:14.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:49:14.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:49:14.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:49:14.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:49:14.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:49:14.656Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:49:15.137Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:49:15.162Z] > git checkout -f 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-04T16:49:19.907Z] Commit message: "Merge pull request #66 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:49:21.381Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:49:21.795Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:49:22.153Z] + sudo service docker restart [2021-01-04T16:49:22.153Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:49:25.365Z] provisioning config files... [2021-01-04T16:49:25.408Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config7235107570101999108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:49:25.953Z] ---> docker-login.sh [2021-01-04T16:49:25.953Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:49:26.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:27.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:27.223Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:27.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:27.223Z] [2021-01-04T16:49:27.223Z] Login Succeeded [2021-01-04T16:49:27.223Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:49:27.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:27.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:27.828Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:27.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:27.828Z] [2021-01-04T16:49:27.828Z] Login Succeeded [2021-01-04T16:49:27.828Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:49:28.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:28.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:28.425Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:28.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:28.425Z] [2021-01-04T16:49:28.425Z] Login Succeeded [2021-01-04T16:49:28.425Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:49:29.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:29.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:29.024Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:29.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:29.024Z] [2021-01-04T16:49:29.024Z] Login Succeeded [2021-01-04T16:49:29.024Z] docker.io [2021-01-04T16:49:29.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:49:29.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:49:29.898Z] Configure a credential helper to remove this warning. See [2021-01-04T16:49:29.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:49:29.898Z] [2021-01-04T16:49:29.898Z] Login Succeeded [2021-01-04T16:49:29.898Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:49:29.915Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:49:30.461Z] ========================================================= [2021-01-04T16:49:30.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:49:30.461Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:30.860Z] + 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-04T16:49:30.860Z] Sending build context to Docker daemon 84.48kB [2021-01-04T16:49:31.143Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:49:31.143Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:49:31.418Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:49:31.418Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:49:31.418Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:49:31.418Z] 18c013af1878: Pulling fs layer [2021-01-04T16:49:31.418Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:49:31.418Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:49:31.418Z] b116817d02f9: Pulling fs layer [2021-01-04T16:49:31.418Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:49:31.418Z] 63d7cb157983: Waiting [2021-01-04T16:49:31.418Z] b116817d02f9: Waiting [2021-01-04T16:49:31.418Z] 745a02a5169b: Waiting [2021-01-04T16:49:31.418Z] 00ac8860ef70: Waiting [2021-01-04T16:49:31.418Z] 18c013af1878: Verifying Checksum [2021-01-04T16:49:31.418Z] 18c013af1878: Download complete [2021-01-04T16:49:31.418Z] a4357932f1b6: Verifying Checksum [2021-01-04T16:49:31.418Z] a4357932f1b6: Download complete [2021-01-04T16:49:31.418Z] 63d7cb157983: Verifying Checksum [2021-01-04T16:49:31.418Z] 63d7cb157983: Download complete [2021-01-04T16:49:31.418Z] b116817d02f9: Verifying Checksum [2021-01-04T16:49:31.418Z] b116817d02f9: Download complete [2021-01-04T16:49:31.418Z] 5f621e34cdf4: Download complete [2021-01-04T16:49:32.023Z] 5f621e34cdf4: Pull complete [2021-01-04T16:49:33.045Z] a4357932f1b6: Pull complete [2021-01-04T16:49:33.320Z] 18c013af1878: Pull complete [2021-01-04T16:49:33.920Z] 745a02a5169b: Download complete [2021-01-04T16:49:35.363Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:49:35.363Z] 00ac8860ef70: Download complete [2021-01-04T16:49:45.553Z] 00ac8860ef70: Pull complete [2021-01-04T16:49:45.553Z] 63d7cb157983: Pull complete [2021-01-04T16:49:45.553Z] b116817d02f9: Pull complete [2021-01-04T16:49:48.959Z] 745a02a5169b: Pull complete [2021-01-04T16:49:48.960Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:49:48.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:49:48.960Z] ---> b7e6874047d6 [2021-01-04T16:49:48.960Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:49:52.357Z] ---> Running in 44e123115b79 [2021-01-04T16:49:52.357Z] Removing intermediate container 44e123115b79 [2021-01-04T16:49:52.357Z] ---> 5808bcf6fb48 [2021-01-04T16:49:52.357Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:49:52.630Z] ---> Running in db4523417e7a [2021-01-04T16:49:52.902Z] Removing intermediate container db4523417e7a [2021-01-04T16:49:52.902Z] ---> d50721acbb58 [2021-01-04T16:49:52.902Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:49:53.177Z] ---> Running in 9090270d5032 [2021-01-04T16:49:53.460Z] Removing intermediate container 9090270d5032 [2021-01-04T16:49:53.460Z] ---> f562ab3ec240 [2021-01-04T16:49:53.460Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:49:53.737Z] ---> Running in db9f059a6532 [2021-01-04T16:49:56.391Z] Removing intermediate container db9f059a6532 [2021-01-04T16:49:56.391Z] ---> 0cbd9f772105 [2021-01-04T16:49:56.391Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:49:56.391Z] ---> Running in 5a18eb4c1bcd [2021-01-04T16:49:57.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:49:58.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:49:58.950Z] OK: 142 MiB in 39 packages [2021-01-04T16:50:00.384Z] Removing intermediate container 5a18eb4c1bcd [2021-01-04T16:50:00.384Z] ---> 22dfd90121b5 [2021-01-04T16:50:00.384Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T16:50:00.384Z] ---> Running in d89a86ac7eb7 [2021-01-04T16:50:00.982Z] Removing intermediate container d89a86ac7eb7 [2021-01-04T16:50:00.982Z] ---> 371e40e998a1 [2021-01-04T16:50:00.982Z] Step 9/10 : COPY . . [2021-01-04T16:50:01.580Z] ---> 6db49d64debf [2021-01-04T16:50:01.580Z] Step 10/10 : RUN go mod download [2021-01-04T16:50:01.580Z] ---> Running in fd301225b895 [2021-01-04T16:50:23.758Z] Removing intermediate container fd301225b895 [2021-01-04T16:50:23.758Z] ---> e419740e0e91 [2021-01-04T16:50:23.758Z] Successfully built e419740e0e91 [2021-01-04T16:50:23.758Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:24.114Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:50:24.114Z] . [Pipeline] withDockerContainer [2021-01-04T16:50:24.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-18214 does not seem to be running inside a container [2021-01-04T16:50:24.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-arm64 cat [2021-01-04T16:50:26.110Z] $ docker top 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:50:27.181Z] + go version [2021-01-04T16:50:27.181Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:50:27.209Z] $ docker stop --time=1 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b [2021-01-04T16:50:29.045Z] $ docker rm -f 8aade8c7ed6361ca81d05ab5e69fcf126310433abce85b9946b629e3f5439b1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:30.099Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:50:30.099Z] . [Pipeline] withDockerContainer [2021-01-04T16:50:30.355Z] prd-ubuntu18.04-docker-arm64-4c-16g-18214 does not seem to be running inside a container [2021-01-04T16:50:30.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-arm64 cat [2021-01-04T16:50:31.805Z] $ docker top 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:50:32.828Z] + make test [2021-01-04T16:50:32.828Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T16:50:33.819Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-04T16:51:06.215Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-04T16:51:07.193Z] ok github.com/edgexfoundry/device-rest-go/driver 0.081s coverage: 56.3% of statements [2021-01-04T16:51:07.466Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:51:15.765Z] gofmt -l . [2021-01-04T16:51:15.765Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:51:15.765Z] ./bin/test-go-mod-tidy.sh [2021-01-04T16:51:15.765Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-04T16:51:16.388Z] $ docker stop --time=1 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd [2021-01-04T16:51:18.722Z] $ docker rm -f 3b6afebf7e56618135f3a429e4c0984d679b7a3e24ef3af1e5e551b20256ffcd [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:51:19.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:51:19.588Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:51:20.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:51:21.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:51:21.374Z] + ls -al . [2021-01-04T16:51:21.374Z] total 124 [2021-01-04T16:51:21.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:51 . [2021-01-04T16:51:21.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:49 .. [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 16:49 .dockerignore [2021-01-04T16:51:21.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:49 .git [2021-01-04T16:51:21.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:49 .github [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 4 16:49 .gitignore [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 4 16:49 Attribution.txt [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 4 16:49 Dockerfile [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 4 16:49 Dockerfile.build [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 16:49 Jenkinsfile [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:49 LICENSE [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 4 16:49 Makefile [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 4 16:49 README.md [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 4 16:45 VERSION [2021-01-04T16:51:21.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:49 bin [2021-01-04T16:51:21.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:49 cmd [2021-01-04T16:51:21.374Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 4 16:51 coverage.out [2021-01-04T16:51:21.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:51 driver [2021-01-04T16:51:21.374Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 4 16:51 go.mod [2021-01-04T16:51:21.374Z] -rw-r--r-- 1 jenkins jenkins 13790 Jan 4 16:51 go.sum [2021-01-04T16:51:21.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:49 snap [2021-01-04T16:51:21.374Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 16:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:51:21.726Z] + 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=793fa606b8324739f564128f9001c967c619a4b2 --label arch=arm64 --label version=1.2.1-dev.2 . [2021-01-04T16:51:21.727Z] Sending build context to Docker daemon 96.26kB [2021-01-04T16:51:22.025Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:51:22.025Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-04T16:51:22.025Z] ---> e419740e0e91 [2021-01-04T16:51:22.025Z] Step 3/25 : ARG MAKE='make build' [2021-01-04T16:51:22.308Z] ---> Running in bde86c99b0e7 [2021-01-04T16:51:22.586Z] Removing intermediate container bde86c99b0e7 [2021-01-04T16:51:22.586Z] ---> 8cde60f26cec [2021-01-04T16:51:22.586Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:51:22.862Z] ---> Running in 7db5fdf07b1e [2021-01-04T16:51:23.133Z] Removing intermediate container 7db5fdf07b1e [2021-01-04T16:51:23.133Z] ---> bf2c3c6c1913 [2021-01-04T16:51:23.133Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:51:23.403Z] ---> Running in 9d957e826b57 [2021-01-04T16:51:23.675Z] Removing intermediate container 9d957e826b57 [2021-01-04T16:51:23.675Z] ---> 73f81d36c858 [2021-01-04T16:51:23.675Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:51:23.948Z] ---> Running in 513d13b51332 [2021-01-04T16:51:25.925Z] Removing intermediate container 513d13b51332 [2021-01-04T16:51:25.925Z] ---> 0eb5a327d504 [2021-01-04T16:51:25.925Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:51:26.200Z] ---> Running in d3801fe68698 [2021-01-04T16:51:27.181Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:51:28.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:51:28.749Z] OK: 142 MiB in 39 packages [2021-01-04T16:51:30.186Z] Removing intermediate container d3801fe68698 [2021-01-04T16:51:30.186Z] ---> 3b70f061ecb4 [2021-01-04T16:51:30.186Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-04T16:51:30.186Z] ---> Running in 7c2085f6e951 [2021-01-04T16:51:30.786Z] Removing intermediate container 7c2085f6e951 [2021-01-04T16:51:30.786Z] ---> 8a1f13df72f0 [2021-01-04T16:51:30.786Z] Step 9/25 : COPY go.mod . [2021-01-04T16:51:31.379Z] ---> 4827d5ed288c [2021-01-04T16:51:31.379Z] Step 10/25 : COPY Makefile . [2021-01-04T16:51:31.973Z] ---> 82c67bd38f4c [2021-01-04T16:51:31.973Z] Step 11/25 : RUN make update [2021-01-04T16:51:32.246Z] ---> Running in ddf5d9564516 [2021-01-04T16:51:33.237Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:51:34.684Z] Removing intermediate container ddf5d9564516 [2021-01-04T16:51:34.684Z] ---> 8b585a7e1658 [2021-01-04T16:51:34.684Z] Step 12/25 : COPY . . [2021-01-04T16:51:35.281Z] ---> 3a0dde188963 [2021-01-04T16:51:35.281Z] Step 13/25 : RUN $MAKE [2021-01-04T16:51:35.281Z] ---> Running in c9170831f497 [2021-01-04T16:51:36.715Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.2" -o cmd/device-rest-go ./cmd [2021-01-04T16:52:03.542Z] Removing intermediate container c9170831f497 [2021-01-04T16:52:03.542Z] ---> 88bde81a917a [2021-01-04T16:52:03.542Z] Step 14/25 : FROM alpine:3.12 [2021-01-04T16:52:04.139Z] 3.12: Pulling from library/alpine [2021-01-04T16:52:04.139Z] 159e5727ea61: Pulling fs layer [2021-01-04T16:52:04.412Z] 159e5727ea61: Download complete [2021-01-04T16:52:05.010Z] 159e5727ea61: Pull complete [2021-01-04T16:52:05.010Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:52:05.010Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:52:05.010Z] ---> afeebe901d6b [2021-01-04T16:52:05.010Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:52:05.284Z] ---> Running in 3156f2786cb8 [2021-01-04T16:52:05.875Z] Removing intermediate container 3156f2786cb8 [2021-01-04T16:52:05.875Z] ---> 9c80d906b953 [2021-01-04T16:52:05.875Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-04T16:52:05.875Z] ---> Running in 51fa925a776f [2021-01-04T16:52:06.147Z] Removing intermediate container 51fa925a776f [2021-01-04T16:52:06.147Z] ---> 7b6bc21b90bd [2021-01-04T16:52:06.147Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-04T16:52:07.127Z] ---> 26045a30319e [2021-01-04T16:52:07.127Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-04T16:52:07.722Z] ---> e9354d3698cf [2021-01-04T16:52:07.722Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-04T16:52:08.697Z] ---> 5b3bb83e4d7c [2021-01-04T16:52:08.697Z] Step 20/25 : EXPOSE 49986 [2021-01-04T16:52:08.970Z] ---> Running in bca827aab52d [2021-01-04T16:52:09.241Z] Removing intermediate container bca827aab52d [2021-01-04T16:52:09.241Z] ---> 8ec6906e9142 [2021-01-04T16:52:09.241Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-04T16:52:09.514Z] ---> Running in 4241646f32df [2021-01-04T16:52:09.788Z] Removing intermediate container 4241646f32df [2021-01-04T16:52:09.788Z] ---> 7f7f41ff059d [2021-01-04T16:52:09.788Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:52:10.058Z] ---> Running in cf58fc92f14e [2021-01-04T16:52:10.652Z] Removing intermediate container cf58fc92f14e [2021-01-04T16:52:10.652Z] ---> e5b70d5af493 [2021-01-04T16:52:10.652Z] Step 23/25 : LABEL arch=arm64 [2021-01-04T16:52:10.652Z] ---> Running in cb1cd9142688 [2021-01-04T16:52:11.251Z] Removing intermediate container cb1cd9142688 [2021-01-04T16:52:11.251Z] ---> c6cf53d12ccc [2021-01-04T16:52:11.251Z] Step 24/25 : LABEL git_sha=793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:52:11.251Z] ---> Running in 43d2301a1e7b [2021-01-04T16:52:11.856Z] Removing intermediate container 43d2301a1e7b [2021-01-04T16:52:11.856Z] ---> 6bb755afa724 [2021-01-04T16:52:11.856Z] Step 25/25 : LABEL version=1.2.1-dev.2 [2021-01-04T16:52:11.856Z] ---> Running in cb7cf9f6758e [2021-01-04T16:52:12.446Z] Removing intermediate container cb7cf9f6758e [2021-01-04T16:52:12.446Z] ---> ab36692f8c80 [2021-01-04T16:52:12.446Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:52:12.446Z] Successfully built ab36692f8c80 [2021-01-04T16:52:12.446Z] 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-04T16:52:12.890Z] provisioning config files... [2021-01-04T16:52:12.925Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config540398642310562888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:13.318Z] ---> docker-login.sh [2021-01-04T16:52:13.318Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:52:13.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:52:13.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:52:13.591Z] Configure a credential helper to remove this warning. See [2021-01-04T16:52:13.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:52:13.591Z] [2021-01-04T16:52:13.591Z] Login Succeeded [2021-01-04T16:52:13.591Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:52:14.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:52:14.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:52:14.186Z] Configure a credential helper to remove this warning. See [2021-01-04T16:52:14.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:52:14.186Z] [2021-01-04T16:52:14.186Z] Login Succeeded [2021-01-04T16:52:14.186Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:52:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:52:14.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:52:14.784Z] Configure a credential helper to remove this warning. See [2021-01-04T16:52:14.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:52:14.784Z] [2021-01-04T16:52:14.784Z] Login Succeeded [2021-01-04T16:52:14.784Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:52:15.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:52:15.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:52:15.331Z] Configure a credential helper to remove this warning. See [2021-01-04T16:52:15.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:52:15.331Z] [2021-01-04T16:52:15.331Z] Login Succeeded [2021-01-04T16:52:15.331Z] docker.io [2021-01-04T16:52:15.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:52:15.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:52:15.883Z] Configure a credential helper to remove this warning. See [2021-01-04T16:52:15.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:52:15.883Z] [2021-01-04T16:52:15.883Z] Login Succeeded [2021-01-04T16:52:16.156Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:52:16.173Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:52:16.391Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-01-04T16:52:16.391Z] 793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:52:16.391Z] latest [2021-01-04T16:52:16.391Z] 1.2.1-dev.2 [2021-01-04T16:52:16.391Z] 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:52:16.391Z] master [2021-01-04T16:52:16.391Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:16.912Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:17.257Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:52:17.257Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-04T16:52:17.257Z] f5c8d9d5faa1: Preparing [2021-01-04T16:52:17.257Z] 26ead86feb67: Preparing [2021-01-04T16:52:17.257Z] 21d1d367fd0a: Preparing [2021-01-04T16:52:17.257Z] 379067d0cb53: Preparing [2021-01-04T16:52:17.532Z] 379067d0cb53: Layer already exists [2021-01-04T16:52:17.532Z] 26ead86feb67: Pushed [2021-01-04T16:52:17.532Z] 21d1d367fd0a: Pushed [2021-01-04T16:52:20.170Z] f5c8d9d5faa1: Pushed [2021-01-04T16:52:20.170Z] 793fa606b8324739f564128f9001c967c619a4b2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:20.523Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:20.868Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-04T16:52:20.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-04T16:52:20.868Z] f5c8d9d5faa1: Preparing [2021-01-04T16:52:20.868Z] 26ead86feb67: Preparing [2021-01-04T16:52:20.868Z] 21d1d367fd0a: Preparing [2021-01-04T16:52:20.868Z] 379067d0cb53: Preparing [2021-01-04T16:52:21.140Z] f5c8d9d5faa1: Layer already exists [2021-01-04T16:52:21.140Z] 21d1d367fd0a: Layer already exists [2021-01-04T16:52:21.140Z] 26ead86feb67: Layer already exists [2021-01-04T16:52:21.140Z] 379067d0cb53: Layer already exists [2021-01-04T16:52:21.140Z] latest: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:21.477Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:21.814Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 [2021-01-04T16:52:21.815Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-04T16:52:21.815Z] f5c8d9d5faa1: Preparing [2021-01-04T16:52:21.815Z] 26ead86feb67: Preparing [2021-01-04T16:52:21.815Z] 21d1d367fd0a: Preparing [2021-01-04T16:52:21.815Z] 379067d0cb53: Preparing [2021-01-04T16:52:22.087Z] f5c8d9d5faa1: Layer already exists [2021-01-04T16:52:22.087Z] 379067d0cb53: Layer already exists [2021-01-04T16:52:22.087Z] 26ead86feb67: Layer already exists [2021-01-04T16:52:22.087Z] 21d1d367fd0a: Layer already exists [2021-01-04T16:52:22.087Z] 1.2.1-dev.2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:22.432Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:22.775Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:52:22.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-04T16:52:22.775Z] f5c8d9d5faa1: Preparing [2021-01-04T16:52:22.775Z] 26ead86feb67: Preparing [2021-01-04T16:52:22.775Z] 21d1d367fd0a: Preparing [2021-01-04T16:52:22.775Z] 379067d0cb53: Preparing [2021-01-04T16:52:23.045Z] 26ead86feb67: Layer already exists [2021-01-04T16:52:23.046Z] 379067d0cb53: Layer already exists [2021-01-04T16:52:23.046Z] 21d1d367fd0a: Layer already exists [2021-01-04T16:52:23.317Z] f5c8d9d5faa1: Layer already exists [2021-01-04T16:52:23.588Z] 793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:23.929Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:24.267Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-01-04T16:52:24.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-04T16:52:24.267Z] f5c8d9d5faa1: Preparing [2021-01-04T16:52:24.267Z] 26ead86feb67: Preparing [2021-01-04T16:52:24.267Z] 21d1d367fd0a: Preparing [2021-01-04T16:52:24.267Z] 379067d0cb53: Preparing [2021-01-04T16:52:24.540Z] f5c8d9d5faa1: Layer already exists [2021-01-04T16:52:24.540Z] 379067d0cb53: Layer already exists [2021-01-04T16:52:24.540Z] 21d1d367fd0a: Layer already exists [2021-01-04T16:52:24.540Z] 26ead86feb67: Layer already exists [2021-01-04T16:52:24.540Z] master: digest: sha256:1864ffaee2e51385d69e47d44b00d1d9a08b502a394a43cdbe2b04ad48e8d640 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:52:24.775Z] ===================================================== [Pipeline] echo [2021-01-04T16:52:24.821Z] taggedImages: [2021-01-04T16:52:24.821Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2 [2021-01-04T16:52:24.822Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-04T16:52:24.822Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.2 [2021-01-04T16:52:24.822Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:793fa606b8324739f564128f9001c967c619a4b2-1.2.1-dev.2 [2021-01-04T16:52:24.822Z] - 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-04T16:52:26.041Z] provisioning config files... [2021-01-04T16:52:26.058Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4693439574910275791tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:52:26.452Z] + set +x [2021-01-04T16:52:26.452Z] + curl -s https://codecov.io/bash [2021-01-04T16:52:26.452Z] + bash -s -- [2021-01-04T16:52:26.717Z] [2021-01-04T16:52:26.717Z] _____ _ [2021-01-04T16:52:26.717Z] / ____| | | [2021-01-04T16:52:26.717Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:52:26.717Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:52:26.717Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:52:26.717Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:52:26.717Z] Bash-20201231-23d4836 [2021-01-04T16:52:26.717Z] [2021-01-04T16:52:26.717Z] [2021-01-04T16:52:26.717Z] ==> git version 2.24.3 found [2021-01-04T16:52:26.717Z] ==> 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-04T16:52:26.717Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:52:26.717Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:52:26.717Z] ==> Jenkins CI detected. [2021-01-04T16:52:26.717Z] project root: . [2021-01-04T16:52:26.717Z] --> token set from env [2021-01-04T16:52:26.717Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:52:26.717Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:52:26.717Z] ==> Python coveragepy not found [2021-01-04T16:52:26.717Z] ==> Searching for coverage reports in: [2021-01-04T16:52:26.717Z] + . [2021-01-04T16:52:26.717Z] -> Found 1 reports [2021-01-04T16:52:26.717Z] ==> Detecting git/mercurial file structure [2021-01-04T16:52:26.717Z] ==> Reading reports [2021-01-04T16:52:26.717Z] + ./coverage.out bytes=9369 [2021-01-04T16:52:26.717Z] ==> Appending adjustments [2021-01-04T16:52:26.717Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:52:26.717Z] + Found adjustments [2021-01-04T16:52:26.717Z] ==> Gzipping contents [2021-01-04T16:52:26.717Z] 4.0K /tmp/codecov.KFEhcq.gz [2021-01-04T16:52:26.717Z] ==> Uploading reports [2021-01-04T16:52:26.717Z] url: https://codecov.io [2021-01-04T16:52:26.717Z] query: branch=master&commit=793fa606b8324739f564128f9001c967c619a4b2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:52:26.717Z] -> Pinging Codecov [2021-01-04T16:52:26.717Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=793fa606b8324739f564128f9001c967c619a4b2&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:52:27.308Z] -> Uploading to [2021-01-04T16:52:27.308Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/4E5D53B4F1F92C436F7061BF334D961C/793fa606b8324739f564128f9001c967c619a4b2/db37225c-22d8-46da-b830-73cfdde9f7fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T165227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0a1bfaf8004e87ee8fb89d29dd408426364f12f6eba4190fe59544718aca61d [2021-01-04T16:52:27.308Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:52:27.308Z] Dload Upload Total Spent Left Speed [2021-01-04T16:52:27.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3686 --:--:-- --:--:-- --:--:-- 3680 100 1726 0 0 100 1726 0 3684 --:--:-- --:--:-- --:--:-- 3680 [2021-01-04T16:52:27.891Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] } [2021-01-04T16:52:27.902Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-04T16:52:28.387Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-04T16:52:28.435Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:28.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:28.781Z] [2021-01-04T16:52:28.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:29.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:29.133Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-04T16:52:29.133Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:52:29.133Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:52:29.133Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:52:29.133Z] 0eba1c9be4d2: Pulling fs layer [2021-01-04T16:52:29.133Z] 0d57e429df01: Pulling fs layer [2021-01-04T16:52:29.133Z] 4e4be7b47b0d: Pulling fs layer [2021-01-04T16:52:29.133Z] e1f770b5df2f: Pulling fs layer [2021-01-04T16:52:29.133Z] 85a0685a4137: Pulling fs layer [2021-01-04T16:52:29.133Z] 4e4be7b47b0d: Waiting [2021-01-04T16:52:29.133Z] e1f770b5df2f: Waiting [2021-01-04T16:52:29.133Z] 0eba1c9be4d2: Waiting [2021-01-04T16:52:29.133Z] 85a0685a4137: Waiting [2021-01-04T16:52:29.133Z] 0d57e429df01: Waiting [2021-01-04T16:52:29.133Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:52:29.133Z] de9db76c5a1d: Download complete [2021-01-04T16:52:29.133Z] 0ef7d3d256c8: Download complete [2021-01-04T16:52:29.133Z] 0d57e429df01: Verifying Checksum [2021-01-04T16:52:29.133Z] 0d57e429df01: Download complete [2021-01-04T16:52:29.133Z] 4e4be7b47b0d: Verifying Checksum [2021-01-04T16:52:29.133Z] 4e4be7b47b0d: Download complete [2021-01-04T16:52:29.133Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:52:29.133Z] 188c0c94c7c5: Download complete [2021-01-04T16:52:29.720Z] 188c0c94c7c5: Pull complete [2021-01-04T16:52:29.986Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:52:29.986Z] de9db76c5a1d: Pull complete [2021-01-04T16:52:30.249Z] e1f770b5df2f: Verifying Checksum [2021-01-04T16:52:30.249Z] e1f770b5df2f: Download complete [2021-01-04T16:52:32.203Z] 0eba1c9be4d2: Download complete [2021-01-04T16:52:32.468Z] 85a0685a4137: Verifying Checksum [2021-01-04T16:52:32.468Z] 85a0685a4137: Download complete [2021-01-04T16:52:37.810Z] 0eba1c9be4d2: Pull complete [2021-01-04T16:52:37.810Z] 0d57e429df01: Pull complete [2021-01-04T16:52:37.811Z] 4e4be7b47b0d: Pull complete [2021-01-04T16:52:39.742Z] e1f770b5df2f: Pull complete [2021-01-04T16:52:47.934Z] 85a0685a4137: Pull complete [2021-01-04T16:52:47.934Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-04T16:52:47.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:47.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-04T16:52:48.130Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:52:48.181Z] $ 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-04T16:52:49.103Z] $ docker top 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-04T16:52:49.302Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-04T16:52:49.596Z] + set -o pipefail [2021-01-04T16:52:49.596Z] + snyk monitor '--org=edgex-jenkins' [2021-01-04T16:53:01.881Z] [2021-01-04T16:53:01.882Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-01-04T16:53:01.882Z] [2021-01-04T16:53:01.882Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e8e320a1-a002-48ad-8e90-490eef0153fb [2021-01-04T16:53:01.882Z] [2021-01-04T16:53:01.882Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-04T16:53:01.882Z] [2021-01-04T16:53:01.882Z] [Pipeline] } [2021-01-04T16:53:01.900Z] $ docker stop --time=1 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 [2021-01-04T16:53:04.590Z] $ docker rm -f 793f1316efbf6bdca63892d2169b271705e9c59c61569123b8999bb3ea4ba842 [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-04T16:53:06.493Z] + git log --format=format:%s -1 793fa606b8324739f564128f9001c967c619a4b2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:06.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:53:06.839Z] . [Pipeline] withDockerContainer [2021-01-04T16:53:06.943Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:53:06.998Z] $ 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-04T16:53:07.767Z] $ docker top 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:08.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:08.106Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:08.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:08.361Z] $ docker exec 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 ssh-agent [2021-01-04T16:53:08.525Z] SSH_AUTH_SOCK=/tmp/ssh-tBwPzcCuNIFS/agent.11 [2021-01-04T16:53:08.525Z] SSH_AGENT_PID=16 [2021-01-04T16:53:08.531Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:08.670Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_666105082761157335.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_666105082761157335.key) [2021-01-04T16:53:08.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:09.054Z] + git semver tag [2021-01-04T16:53:09.054Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:09.054Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-04T16:53:09.054Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-04T16:53:09.054Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:09.054Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:09.054Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:09.054Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:09.054Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-04T16:53:09.054Z] # 793fa606b8324739f564128f9001c967c619a4b2 HEAD [2021-01-04T16:53:09.054Z] # -> Force: false [2021-01-04T16:53:09.054Z] # 56df58a2d555a803a70a5b709135ca4311b4d3ba refs/tags/v1.2.1-dev.2 [Pipeline] } [2021-01-04T16:53:09.070Z] $ docker exec --env ******** --env ******** 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 ssh-agent -k [2021-01-04T16:53:09.188Z] unset SSH_AUTH_SOCK; [2021-01-04T16:53:09.188Z] unset SSH_AGENT_PID; [2021-01-04T16:53:09.188Z] echo Agent pid 16 killed; [2021-01-04T16:53:09.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:53:09.689Z] + git semver [Pipeline] } [2021-01-04T16:53:09.709Z] $ docker stop --time=1 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 [2021-01-04T16:53:11.079Z] $ docker rm -f 36b9ff7cb29c3432621ddc4e93e6d8e287f1116361c1378cf9c88ec3a2ba45d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:11.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:11.672Z] [2021-01-04T16:53:11.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:12.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:12.025Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-04T16:53:12.025Z] ab5ef0e58194: Pulling fs layer [2021-01-04T16:53:12.025Z] 9712f1f96733: Pulling fs layer [2021-01-04T16:53:12.025Z] 63f879dbbcfc: Pulling fs layer [2021-01-04T16:53:12.025Z] 0d9ebad4ef96: Pulling fs layer [2021-01-04T16:53:12.025Z] e9a5061849ea: Pulling fs layer [2021-01-04T16:53:12.025Z] d747dcd14b5f: Pulling fs layer [2021-01-04T16:53:12.025Z] 2de7ff778b66: Pulling fs layer [2021-01-04T16:53:12.025Z] e9a5061849ea: Waiting [2021-01-04T16:53:12.025Z] d747dcd14b5f: Waiting [2021-01-04T16:53:12.025Z] 2de7ff778b66: Waiting [2021-01-04T16:53:12.025Z] 0d9ebad4ef96: Waiting [2021-01-04T16:53:12.025Z] 9712f1f96733: Verifying Checksum [2021-01-04T16:53:12.025Z] 9712f1f96733: Download complete [2021-01-04T16:53:13.438Z] 63f879dbbcfc: Verifying Checksum [2021-01-04T16:53:13.438Z] 63f879dbbcfc: Download complete [2021-01-04T16:53:13.709Z] e9a5061849ea: Verifying Checksum [2021-01-04T16:53:13.709Z] e9a5061849ea: Download complete [2021-01-04T16:53:13.709Z] d747dcd14b5f: Download complete [2021-01-04T16:53:13.978Z] 2de7ff778b66: Verifying Checksum [2021-01-04T16:53:13.978Z] 2de7ff778b66: Download complete [2021-01-04T16:53:14.242Z] 0d9ebad4ef96: Verifying Checksum [2021-01-04T16:53:14.242Z] 0d9ebad4ef96: Download complete [2021-01-04T16:53:14.506Z] ab5ef0e58194: Verifying Checksum [2021-01-04T16:53:14.506Z] ab5ef0e58194: Download complete [2021-01-04T16:53:18.768Z] ab5ef0e58194: Pull complete [2021-01-04T16:53:18.768Z] 9712f1f96733: Pull complete [2021-01-04T16:53:21.334Z] 63f879dbbcfc: Pull complete [2021-01-04T16:53:27.978Z] 0d9ebad4ef96: Pull complete [2021-01-04T16:53:29.898Z] e9a5061849ea: Pull complete [2021-01-04T16:53:29.898Z] d747dcd14b5f: Pull complete [2021-01-04T16:53:32.506Z] 2de7ff778b66: Pull complete [2021-01-04T16:53:32.506Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-04T16:53:32.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:32.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-04T16:53:32.748Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:53:32.833Z] $ 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-04T16:53:37.268Z] $ docker top fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:53:37.500Z] provisioning config files... [2021-01-04T16:53:37.511Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config192361771178820846tmp [2021-01-04T16:53:37.528Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1215651398904398902tmp [2021-01-04T16:53:37.549Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2869243893548601799tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:53:37.604Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:37.905Z] ---> sigul-configuration.sh [2021-01-04T16:53:37.905Z] gpg: directory `/root/.gnupg' created [2021-01-04T16:53:37.905Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-04T16:53:37.905Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-04T16:53:37.905Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-04T16:53:37.905Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-04T16:53:37.905Z] gpg: CAST5 encrypted data [2021-01-04T16:53:38.168Z] gpg: encrypted with 1 passphrase [2021-01-04T16:53:38.168Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-04T16:53:38.473Z] + mkdir /home/jenkins [2021-01-04T16:53:38.473Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-04T16:53:38.775Z] + 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-04T16:53:38.786Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:39.086Z] ---> sigul-install.sh [2021-01-04T16:53:44.441Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-04T16:53:44.748Z] + git tag --list [2021-01-04T16:53:44.748Z] v1.0.0 [2021-01-04T16:53:44.748Z] v1.1.0 [2021-01-04T16:53:44.748Z] v1.1.1 [2021-01-04T16:53:44.748Z] v1.1.2 [2021-01-04T16:53:44.748Z] v1.1.2-dev.1 [2021-01-04T16:53:44.748Z] v1.1.2-dev.2 [2021-01-04T16:53:44.748Z] v1.1.3-dev.1 [2021-01-04T16:53:44.748Z] v1.1.3-dev.10 [2021-01-04T16:53:44.748Z] v1.1.3-dev.2 [2021-01-04T16:53:44.748Z] v1.1.3-dev.3 [2021-01-04T16:53:44.748Z] v1.1.3-dev.4 [2021-01-04T16:53:44.748Z] v1.1.3-dev.5 [2021-01-04T16:53:44.748Z] v1.1.3-dev.6 [2021-01-04T16:53:44.748Z] v1.1.3-dev.7 [2021-01-04T16:53:44.748Z] v1.1.3-dev.8 [2021-01-04T16:53:44.748Z] v1.1.3-dev.9 [2021-01-04T16:53:44.748Z] v1.2.0 [2021-01-04T16:53:44.748Z] v1.2.1-dev.1 [2021-01-04T16:53:44.748Z] v1.2.1-dev.2 [Pipeline] sh [2021-01-04T16:53:45.054Z] + lftools sign git-tag v1.2.1-dev.2 [2021-01-04T16:53:46.450Z] Signing Git tag with Sigul... [2021-01-04T16:53:46.450Z] Signing v1.2.1-dev.2 [Pipeline] echo [2021-01-04T16:53:47.411Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:47.713Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-04T16:53:47.724Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-04T16:53:47.823Z] $ docker stop --time=1 fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 [2021-01-04T16:53:49.923Z] $ docker rm -f fe04a22b802ee3f8b103a1e6a8d3ac855138c57ec75e432abc1493a9ab851494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:51.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:53:51.006Z] . [Pipeline] withDockerContainer [2021-01-04T16:53:51.108Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:53:51.159Z] $ 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-04T16:53:51.879Z] $ docker top 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:52.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:52.142Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:52.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:52.346Z] $ docker exec 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 ssh-agent [2021-01-04T16:53:52.527Z] SSH_AUTH_SOCK=/tmp/ssh-r2qXteL4rcIM/agent.11 [2021-01-04T16:53:52.527Z] SSH_AGENT_PID=16 [2021-01-04T16:53:52.533Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:52.664Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8739142479939601602.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8739142479939601602.key) [2021-01-04T16:53:52.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:53.059Z] + git semver bump pre [2021-01-04T16:53:53.059Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:53.059Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-04T16:53:53.059Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-04T16:53:53.059Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:53.059Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:53.059Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:53.059Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:53.059Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-04T16:53:53.059Z] 1.2.1-dev.3 [Pipeline] } [2021-01-04T16:53:53.075Z] $ docker exec --env ******** --env ******** 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 ssh-agent -k [2021-01-04T16:53:53.196Z] unset SSH_AUTH_SOCK; [2021-01-04T16:53:53.196Z] unset SSH_AGENT_PID; [2021-01-04T16:53:53.196Z] echo Agent pid 16 killed; [2021-01-04T16:53:53.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:53:53.713Z] + git semver [Pipeline] } [2021-01-04T16:53:53.735Z] $ docker stop --time=1 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 [2021-01-04T16:53:55.087Z] $ docker rm -f 908633cec34a7f6d266043a8903839ecf4a2bd2c3fb9280e3e52f470f9ed2478 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:55.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:53:55.615Z] . [Pipeline] withDockerContainer [2021-01-04T16:53:55.728Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:53:55.777Z] $ 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-04T16:53:56.427Z] $ docker top 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:56.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:56.722Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:56.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:56.941Z] $ docker exec 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 ssh-agent [2021-01-04T16:53:57.114Z] SSH_AUTH_SOCK=/tmp/ssh-oaQHaf0xTOMF/agent.12 [2021-01-04T16:53:57.114Z] SSH_AGENT_PID=17 [2021-01-04T16:53:57.121Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:57.251Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8872674464260277899.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8872674464260277899.key) [2021-01-04T16:53:57.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:57.636Z] + git semver push [2021-01-04T16:53:57.636Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:57.636Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-04T16:53:57.636Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-04T16:53:57.636Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:57.636Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:57.636Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:57.636Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:57.636Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-04T16:54:04.261Z] $ docker exec --env ******** --env ******** 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 ssh-agent -k [2021-01-04T16:54:04.404Z] unset SSH_AUTH_SOCK; [2021-01-04T16:54:04.404Z] unset SSH_AGENT_PID; [2021-01-04T16:54:04.405Z] echo Agent pid 17 killed; [2021-01-04T16:54:04.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:54:04.950Z] + git semver [Pipeline] } [2021-01-04T16:54:04.971Z] $ docker stop --time=1 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 [2021-01-04T16:54:06.628Z] $ docker rm -f 6ecc6097a7e33ff81a3bd7f9a279ddb0d9550290aaee6dcf5e737a747e7040b7 [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-04T16:54:09.277Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:09.848Z] ---> package-listing.sh [2021-01-04T16:54:09.848Z] ++ facter osfamily [2021-01-04T16:54:09.848Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:54:09.848Z] + OS_FAMILY=redhat [2021-01-04T16:54:09.848Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-01-04T16:54:09.848Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:54:09.848Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:54:09.848Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:54:09.848Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:54:09.848Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-04T16:54:09.848Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:54:09.848Z] + case "${OS_FAMILY}" in [2021-01-04T16:54:09.848Z] + rpm -qa [2021-01-04T16:54:09.848Z] + sort [2021-01-04T16:54:15.166Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:54:15.166Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:54:15.166Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:54:15.166Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-04T16:54:15.166Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-01-04T16:54:15.166Z] + 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-04T16:54:15.180Z] 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-04T16:54:15.535Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:54:15.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:15.872Z] [2021-01-04T16:54:15.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:54:16.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:16.221Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:54:16.221Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:54:16.221Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:54:16.221Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:54:16.221Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:54:16.221Z] 93b61091891f: Pulling fs layer [2021-01-04T16:54:16.221Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:54:16.221Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:54:16.221Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:54:16.221Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:54:16.221Z] 93b61091891f: Waiting [2021-01-04T16:54:16.221Z] 93b9cdb0e59b: Waiting [2021-01-04T16:54:16.221Z] 5e14af77c1be: Waiting [2021-01-04T16:54:16.221Z] 01666e4c0597: Waiting [2021-01-04T16:54:16.221Z] aa168da1d23b: Waiting [2021-01-04T16:54:16.221Z] 46f8f816bc3b: Waiting [2021-01-04T16:54:16.221Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:54:16.221Z] 36b3adc4ff6f: Download complete [2021-01-04T16:54:16.221Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:54:16.221Z] 46f8f816bc3b: Download complete [2021-01-04T16:54:16.221Z] df20fa9351a1: Verifying Checksum [2021-01-04T16:54:16.221Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:54:16.221Z] 93b9cdb0e59b: Download complete [2021-01-04T16:54:16.483Z] 5e14af77c1be: Verifying Checksum [2021-01-04T16:54:16.483Z] 5e14af77c1be: Download complete [2021-01-04T16:54:16.483Z] 01666e4c0597: Verifying Checksum [2021-01-04T16:54:16.484Z] 01666e4c0597: Download complete [2021-01-04T16:54:16.484Z] 93b61091891f: Verifying Checksum [2021-01-04T16:54:16.484Z] 93b61091891f: Download complete [2021-01-04T16:54:16.748Z] df20fa9351a1: Pull complete [2021-01-04T16:54:17.022Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:54:17.022Z] 8ad3a11d3b57: Download complete [2021-01-04T16:54:17.979Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:54:17.979Z] 46f8f816bc3b: Pull complete [2021-01-04T16:54:18.555Z] 93b61091891f: Pull complete [2021-01-04T16:54:18.816Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:54:19.080Z] 5e14af77c1be: Pull complete [2021-01-04T16:54:19.344Z] 01666e4c0597: Pull complete [2021-01-04T16:54:19.344Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:54:19.344Z] aa168da1d23b: Download complete [2021-01-04T16:54:25.976Z] aa168da1d23b: Pull complete [2021-01-04T16:54:25.976Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:54:25.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:25.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:54:26.091Z] prd-centos7-docker-4c-2g-18204 does not seem to be running inside a container [2021-01-04T16:54:26.144Z] $ 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-04T16:54:29.417Z] $ docker top 7ed421d6cf62cc789d43815228bf0fce185a8e6a34019c85546318f3d962bf6b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:54:29.908Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:54:30.209Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:54:30.511Z] + ls /var/log/sa-host [2021-01-04T16:54:30.511Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:54:30.511Z] file_magic: OK [2021-01-04T16:54:30.511Z] HZ: Using current value: 100 [2021-01-04T16:54:30.511Z] file_header: OK [2021-01-04T16:54:30.511Z] 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-04T16:54:30.511Z] Statistics: [2021-01-04T16:54:30.511Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:54:30.511Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:54:30.511Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:54:30.511Z] file_magic: OK [2021-01-04T16:54:30.511Z] HZ: Using current value: 100 [2021-01-04T16:54:30.511Z] file_header: OK [2021-01-04T16:54:30.511Z] 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-04T16:54:30.511Z] Statistics: [2021-01-04T16:54:30.511Z] Hnuu...uuuununununu... [2021-01-04T16:54:30.511Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:54:30.735Z] provisioning config files... [2021-01-04T16:54:30.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config240733788959014211tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:54:30.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:31.116Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:54:31.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:54:31.217Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:31.514Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:54:31.526Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:31.829Z] ---> sudo-logs.sh [2021-01-04T16:54:31.829Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:54:31.842Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:32.141Z] ---> job-cost.sh [2021-01-04T16:54:32.141Z] lf-activate-venv: SKIPPING [2021-01-04T16:54:32.141Z] INFO: No Stack... [2021-01-04T16:54:33.536Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:54:33.798Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:54:33.813Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:34.110Z] ---> logs-deploy.sh [2021-01-04T16:54:34.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/29 [2021-01-04T16:54:34.110Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:54:35.505Z] Archives upload complete. [2021-01-04T16:54:35.768Z] INFO: archiving logs to Nexus