Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from abd24f16bfefa7889687f83d2fc8de1c385cee13 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19503 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Checking out Revision abd24f16bfefa7889687f83d2fc8de1c385cee13 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go (#70)" > git rev-list --no-walk 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T14:32:19.146Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T14:32:19.409Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T14:32:19.510Z] ========================================================= [2021-01-11T14:32:19.510Z] EdgeX Global Pipelines Version Info [2021-01-11T14:32:19.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:32:21.070Z] ------------------- [2021-01-11T14:32:21.070Z] stable info: [2021-01-11T14:32:21.070Z] ------------------- [2021-01-11T14:32:21.070Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T14:32:21.070Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:32:21.070Z] Message: update stable to v1.0.173 [2021-01-11T14:32:22.062Z] ------------------- [2021-01-11T14:32:22.062Z] experimental info: [2021-01-11T14:32:22.062Z] ------------------- [2021-01-11T14:32:22.062Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T14:32:22.062Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:32:22.062Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T14:32:22.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-11T14:32:22.410Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-11T14:32:22.495Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T14:32:22.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T14:32:22.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T14:32:22.789Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T14:32:22.915Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T14:32:23.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T14:32:23.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T14:32:23.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T14:32:23.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T14:32:23.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-11T14:32:23.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T14:32:23.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T14:32:23.690Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T14:32:23.784Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T14:32:23.868Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T14:32:23.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T14:32:24.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T14:32:24.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-11T14:32:24.237Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T14:32:24.331Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T14:32:24.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T14:32:24.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T14:32:24.674Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T14:32:24.769Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T14:32:24.867Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T14:32:24.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-11T14:32:25.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-11T14:32:25.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-11T14:32:25.294Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] echo [2021-01-11T14:32:25.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abd24f1 [Pipeline] echo [2021-01-11T14:32:25.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:32:25.721Z] provisioning config files... [2021-01-11T14:32:25.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5272182361596542751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:32:26.108Z] ---> docker-login.sh [2021-01-11T14:32:26.108Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:32:26.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:32:26.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:32:26.647Z] Configure a credential helper to remove this warning. See [2021-01-11T14:32:26.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:32:26.647Z] [2021-01-11T14:32:26.647Z] Login Succeeded [2021-01-11T14:32:26.647Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:32:26.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:32:26.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:32:26.919Z] Configure a credential helper to remove this warning. See [2021-01-11T14:32:26.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:32:26.919Z] [2021-01-11T14:32:26.919Z] Login Succeeded [2021-01-11T14:32:26.919Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:32:26.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:32:26.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:32:26.919Z] Configure a credential helper to remove this warning. See [2021-01-11T14:32:26.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:32:26.919Z] [2021-01-11T14:32:26.919Z] Login Succeeded [2021-01-11T14:32:26.919Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:32:27.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:32:27.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:32:27.196Z] Configure a credential helper to remove this warning. See [2021-01-11T14:32:27.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:32:27.196Z] [2021-01-11T14:32:27.196Z] Login Succeeded [2021-01-11T14:32:27.196Z] docker.io [2021-01-11T14:32:27.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:32:27.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:32:27.476Z] Configure a credential helper to remove this warning. See [2021-01-11T14:32:27.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:32:27.476Z] [2021-01-11T14:32:27.476Z] Login Succeeded [2021-01-11T14:32:27.476Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:32:27.493Z] 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-11T14:32:28.945Z] + git log --format=format:%s -1 abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] echo [2021-01-11T14:32:29.010Z] GIT_COMMIT: abd24f16bfefa7889687f83d2fc8de1c385cee13, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go (#70) [Pipeline] echo [2021-01-11T14:32:29.080Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:32:30.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:32:30.054Z] [2021-01-11T14:32:30.054Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:32:30.424Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:32:30.424Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T14:32:30.424Z] 31603596830f: Pulling fs layer [2021-01-11T14:32:30.424Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T14:32:30.424Z] 6ca5941a6612: Pulling fs layer [2021-01-11T14:32:30.424Z] ecc8261a40a4: Pulling fs layer [2021-01-11T14:32:30.424Z] ecc8261a40a4: Waiting [2021-01-11T14:32:30.424Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T14:32:30.424Z] 2a8b12db71e7: Download complete [2021-01-11T14:32:30.687Z] 31603596830f: Verifying Checksum [2021-01-11T14:32:30.687Z] 31603596830f: Download complete [2021-01-11T14:32:30.687Z] ecc8261a40a4: Verifying Checksum [2021-01-11T14:32:30.687Z] ecc8261a40a4: Download complete [2021-01-11T14:32:30.687Z] 6ca5941a6612: Verifying Checksum [2021-01-11T14:32:30.687Z] 6ca5941a6612: Download complete [2021-01-11T14:32:30.949Z] 31603596830f: Pull complete [2021-01-11T14:32:31.214Z] 2a8b12db71e7: Pull complete [2021-01-11T14:32:32.210Z] 6ca5941a6612: Pull complete [2021-01-11T14:32:32.210Z] ecc8261a40a4: Pull complete [2021-01-11T14:32:32.210Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T14:32:32.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:32:32.210Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T14:32:32.363Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:32:32.487Z] $ 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-11T14:32:34.505Z] $ docker top 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T14:32:35.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:32:35.065Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:32:35.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:32:35.298Z] $ docker exec 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 ssh-agent [2021-01-11T14:32:35.484Z] SSH_AUTH_SOCK=/tmp/ssh-FXZZvQXJfi7P/agent.11 [2021-01-11T14:32:35.484Z] SSH_AGENT_PID=17 [2021-01-11T14:32:35.510Z] Running ssh-add (command line suppressed) [2021-01-11T14:32:35.634Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_392969160219013210.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_392969160219013210.key) [2021-01-11T14:32:35.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:32:36.133Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T14:32:36.198Z] $ docker exec --env ******** --env ******** 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 ssh-agent -k [2021-01-11T14:32:36.311Z] unset SSH_AUTH_SOCK; [2021-01-11T14:32:36.312Z] unset SSH_AGENT_PID; [2021-01-11T14:32:36.312Z] echo Agent pid 17 killed; [2021-01-11T14:32:36.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T14:32:36.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:32:36.524Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:32:36.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:32:36.736Z] $ docker exec 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 ssh-agent [2021-01-11T14:32:36.908Z] SSH_AUTH_SOCK=/tmp/ssh-HEO4hdkwB2ld/agent.46 [2021-01-11T14:32:36.908Z] SSH_AGENT_PID=51 [2021-01-11T14:32:36.924Z] Running ssh-add (command line suppressed) [2021-01-11T14:32:37.045Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5404979749520490882.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5404979749520490882.key) [2021-01-11T14:32:37.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:32:37.458Z] + git semver init [2021-01-11T14:32:37.458Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T14:32:37.458Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-11T14:32:37.458Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-11T14:32:37.458Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T14:32:37.458Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T14:32:37.458Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T14:32:37.458Z] # $SEMVER_BRANCH = master [2021-01-11T14:32:37.458Z] # $SEMVER_TEMP = /tmp/semver-586773602 [2021-01-11T14:32:37.458Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-11T14:32:38.857Z] # '/tmp/semver-586773602' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-01-11T14:32:38.857Z] # -> Force: false [2021-01-11T14:32:38.857Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-11T14:32:38.886Z] $ docker exec --env ******** --env ******** 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 ssh-agent -k [2021-01-11T14:32:39.017Z] unset SSH_AUTH_SOCK; [2021-01-11T14:32:39.018Z] unset SSH_AGENT_PID; [2021-01-11T14:32:39.018Z] echo Agent pid 51 killed; [2021-01-11T14:32:39.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T14:32:39.562Z] + git semver [Pipeline] } [2021-01-11T14:32:39.613Z] $ docker stop --time=1 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 [2021-01-11T14:32:41.133Z] $ docker rm -f 36dd613cc80226ae4606d1bac9554b17b29d5f8e75779eafdbf8a49a87315a81 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T14:32:41.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T14:32:42.268Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T14:32:42.273Z] [edgeXSemver]: initialized semver on version 1.2.1-dev.3 [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-11T14:32:43.146Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19489 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-11T14:32:43.210Z] Running in /w/workspace/device-rest-go/30 [Pipeline] { [Pipeline] checkout [2021-01-11T14:32:48.231Z] using credential edgex-jenkins-ssh [2021-01-11T14:32:48.342Z] Cloning the remote Git repository [2021-01-11T14:32:48.398Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:32:48.508Z] > git init /w/workspace/device-rest-go/30 # timeout=10 [2021-01-11T14:32:48.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:32:48.588Z] > git --version # timeout=10 [2021-01-11T14:32:48.604Z] > git --version # 'git version 2.17.1' [2021-01-11T14:32:48.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:32:48.677Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:32:50.696Z] Checking out Revision abd24f16bfefa7889687f83d2fc8de1c385cee13 (master) [2021-01-11T14:32:50.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:32:50.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:32:50.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:32:50.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:32:50.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:32:50.243Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T14:32:50.723Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:32:50.743Z] > git checkout -f abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-11T14:32:55.205Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go (#70)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T14:32:56.742Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:32:57.175Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:32:57.562Z] + sudo service docker restart [2021-01-11T14:32:57.562Z] + true [2021-01-11T14:32:57.923Z] Still waiting to schedule task [2021-01-11T14:32:57.923Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19504’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19488’ doesn’t have label ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:32:59.630Z] provisioning config files... [2021-01-11T14:32:59.670Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config2253388331636494228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:33:00.078Z] ---> docker-login.sh [2021-01-11T14:33:00.078Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:33:01.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:33:01.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:33:01.392Z] Configure a credential helper to remove this warning. See [2021-01-11T14:33:01.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:33:01.392Z] [2021-01-11T14:33:01.392Z] Login Succeeded [2021-01-11T14:33:01.392Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:33:01.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:33:01.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:33:01.989Z] Configure a credential helper to remove this warning. See [2021-01-11T14:33:01.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:33:01.989Z] [2021-01-11T14:33:01.989Z] Login Succeeded [2021-01-11T14:33:01.989Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:33:02.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:33:02.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:33:02.540Z] Configure a credential helper to remove this warning. See [2021-01-11T14:33:02.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:33:02.540Z] [2021-01-11T14:33:02.540Z] Login Succeeded [2021-01-11T14:33:02.540Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:33:02.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:33:02.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:33:02.815Z] Configure a credential helper to remove this warning. See [2021-01-11T14:33:02.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:33:02.815Z] [2021-01-11T14:33:02.815Z] Login Succeeded [2021-01-11T14:33:02.815Z] docker.io [2021-01-11T14:33:03.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:33:03.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:33:03.685Z] Configure a credential helper to remove this warning. See [2021-01-11T14:33:03.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:33:03.685Z] [2021-01-11T14:33:03.685Z] Login Succeeded [2021-01-11T14:33:03.685Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:33:03.717Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T14:33:04.268Z] ========================================================= [2021-01-11T14:33:04.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T14:33:04.268Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:33:04.864Z] + 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-11T14:33:04.864Z] Sending build context to Docker daemon 84.48kB [2021-01-11T14:33:05.164Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:33:05.164Z] Step 2/10 : FROM ${BASE} [2021-01-11T14:33:05.164Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T14:33:05.164Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T14:33:05.164Z] a4357932f1b6: Pulling fs layer [2021-01-11T14:33:05.164Z] 18c013af1878: Pulling fs layer [2021-01-11T14:33:05.164Z] 00ac8860ef70: Pulling fs layer [2021-01-11T14:33:05.164Z] 63d7cb157983: Pulling fs layer [2021-01-11T14:33:05.164Z] b116817d02f9: Pulling fs layer [2021-01-11T14:33:05.164Z] 745a02a5169b: Pulling fs layer [2021-01-11T14:33:05.164Z] 63d7cb157983: Waiting [2021-01-11T14:33:05.164Z] b116817d02f9: Waiting [2021-01-11T14:33:05.164Z] 745a02a5169b: Waiting [2021-01-11T14:33:05.164Z] 00ac8860ef70: Waiting [2021-01-11T14:33:05.450Z] 18c013af1878: Verifying Checksum [2021-01-11T14:33:05.450Z] 18c013af1878: Download complete [2021-01-11T14:33:05.450Z] a4357932f1b6: Download complete [2021-01-11T14:33:05.450Z] 63d7cb157983: Verifying Checksum [2021-01-11T14:33:05.450Z] 63d7cb157983: Download complete [2021-01-11T14:33:06.070Z] b116817d02f9: Verifying Checksum [2021-01-11T14:33:06.070Z] b116817d02f9: Download complete [2021-01-11T14:33:06.070Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T14:33:06.070Z] 5f621e34cdf4: Download complete [2021-01-11T14:33:06.680Z] 5f621e34cdf4: Pull complete [2021-01-11T14:33:07.288Z] a4357932f1b6: Pull complete [2021-01-11T14:33:07.609Z] 18c013af1878: Pull complete [2021-01-11T14:33:08.251Z] 745a02a5169b: Verifying Checksum [2021-01-11T14:33:08.251Z] 745a02a5169b: Download complete [2021-01-11T14:33:10.250Z] 00ac8860ef70: Verifying Checksum [2021-01-11T14:33:10.250Z] 00ac8860ef70: Download complete [2021-01-11T14:33:20.466Z] 00ac8860ef70: Pull complete [2021-01-11T14:33:20.466Z] 63d7cb157983: Pull complete [2021-01-11T14:33:20.466Z] b116817d02f9: Pull complete [2021-01-11T14:33:24.879Z] 745a02a5169b: Pull complete [2021-01-11T14:33:24.879Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T14:33:24.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T14:33:24.879Z] ---> b7e6874047d6 [2021-01-11T14:33:24.879Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:33:27.007Z] ---> Running in c2b29035531c [2021-01-11T14:33:27.283Z] Removing intermediate container c2b29035531c [2021-01-11T14:33:27.283Z] ---> 4fdf3ee6c04e [2021-01-11T14:33:27.283Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T14:33:27.571Z] ---> Running in 4e15520e9d8d [2021-01-11T14:33:27.882Z] Removing intermediate container 4e15520e9d8d [2021-01-11T14:33:27.882Z] ---> f7f94f4b7f32 [2021-01-11T14:33:27.882Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T14:33:27.882Z] ---> Running in 2b41a1029725 [2021-01-11T14:33:28.509Z] Removing intermediate container 2b41a1029725 [2021-01-11T14:33:28.509Z] ---> 54b956397fe8 [2021-01-11T14:33:28.509Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:33:28.509Z] ---> Running in cdd0194a08fa [2021-01-11T14:33:31.186Z] Removing intermediate container cdd0194a08fa [2021-01-11T14:33:31.186Z] ---> 882f0a9a51b4 [2021-01-11T14:33:31.186Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:33:31.186Z] ---> Running in 010ce3737943 [2021-01-11T14:33:31.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T14:33:32.918Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T14:33:33.980Z] OK: 142 MiB in 39 packages [2021-01-11T14:33:35.015Z] Removing intermediate container 010ce3737943 [2021-01-11T14:33:35.015Z] ---> 4be3a006a8e1 [2021-01-11T14:33:35.015Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T14:33:35.015Z] ---> Running in 55a1f7de5810 [2021-01-11T14:33:35.322Z] Removing intermediate container 55a1f7de5810 [2021-01-11T14:33:35.322Z] ---> 2b34c72f07a9 [2021-01-11T14:33:35.322Z] Step 9/10 : COPY . . [2021-01-11T14:33:36.409Z] ---> a36d56436ebb [2021-01-11T14:33:36.409Z] Step 10/10 : RUN go mod download [2021-01-11T14:33:36.409Z] ---> Running in c27620c2d544 [2021-01-11T14:33:58.633Z] Removing intermediate container c27620c2d544 [2021-01-11T14:33:58.633Z] ---> 7a3d907b2324 [2021-01-11T14:33:58.633Z] Successfully built 7a3d907b2324 [2021-01-11T14:33:58.633Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:33:59.059Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T14:33:59.059Z] . [Pipeline] withDockerContainer [2021-01-11T14:33:59.329Z] prd-ubuntu18.04-docker-arm64-4c-16g-19489 does not seem to be running inside a container [2021-01-11T14:33:59.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T14:34:00.849Z] $ docker top 569f93649995bcce2aa731fba30336ec5a979bfe65dc1d1ae7db4df398aa610c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:34:01.906Z] + go version [2021-01-11T14:34:01.907Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T14:34:01.949Z] $ docker stop --time=1 569f93649995bcce2aa731fba30336ec5a979bfe65dc1d1ae7db4df398aa610c [2021-01-11T14:34:03.852Z] $ docker rm -f 569f93649995bcce2aa731fba30336ec5a979bfe65dc1d1ae7db4df398aa610c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:34:04.888Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T14:34:04.889Z] . [Pipeline] withDockerContainer [2021-01-11T14:34:05.197Z] prd-ubuntu18.04-docker-arm64-4c-16g-19489 does not seem to be running inside a container [2021-01-11T14:34:05.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T14:34:06.869Z] $ docker top c663f92cad892dfbd236ee6567e6b6c80cf20e61b484075ab79a2e2cff863ac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:34:07.993Z] + make test [2021-01-11T14:34:07.994Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T14:34:09.048Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T14:34:41.748Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-11T14:34:41.748Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.3% of statements [2021-01-11T14:34:41.748Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T14:34:48.141Z] Running on prd-centos7-docker-4c-2g-19507 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-01-11T14:34:48.191Z] Running in /w/workspace/device-rest-go/30 [Pipeline] { [Pipeline] checkout [2021-01-11T14:34:50.084Z] gofmt -l . [2021-01-11T14:34:50.084Z] [ "`gofmt -l .`" = "" ] [2021-01-11T14:34:50.084Z] ./bin/test-go-mod-tidy.sh [2021-01-11T14:34:50.084Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-11T14:34:50.111Z] $ docker stop --time=1 c663f92cad892dfbd236ee6567e6b6c80cf20e61b484075ab79a2e2cff863ac4 [2021-01-11T14:34:50.903Z] using credential edgex-jenkins-ssh [2021-01-11T14:34:50.951Z] Cloning the remote Git repository [2021-01-11T14:34:50.982Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:34:51.048Z] > git init /w/workspace/device-rest-go/30 # timeout=10 [2021-01-11T14:34:51.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:34:51.110Z] > git --version # timeout=10 [2021-01-11T14:34:51.116Z] > git --version # 'git version 2.24.3' [2021-01-11T14:34:51.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:34:51.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:34:52.235Z] $ docker rm -f c663f92cad892dfbd236ee6567e6b6c80cf20e61b484075ab79a2e2cff863ac4 [2021-01-11T14:34:52.495Z] Checking out Revision abd24f16bfefa7889687f83d2fc8de1c385cee13 (master) [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T14:34:52.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:34:52.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:34:52.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:34:52.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:34:52.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:34:52.109Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T14:34:52.507Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:34:52.512Z] > git checkout -f abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-11T14:34:53.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T14:34:53.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T14:34:56.295Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go (#70)" [2021-01-11T14:34:56.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2021-01-11T14:34:56.878Z] + ls -al . [2021-01-11T14:34:56.878Z] total 124 [2021-01-11T14:34:56.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 14:34 . [2021-01-11T14:34:56.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 14:32 .. [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 14:32 .dockerignore [2021-01-11T14:34:56.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 14:32 .git [2021-01-11T14:34:56.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 14:32 .github [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 11 14:32 .gitignore [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 11 14:32 Attribution.txt [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 11 14:32 Dockerfile [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 11 14:32 Dockerfile.build [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 14:32 Jenkinsfile [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 14:32 LICENSE [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 11 14:32 Makefile [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 11 14:32 README.md [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 14:32 VERSION [2021-01-11T14:34:56.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 14:32 bin [2021-01-11T14:34:56.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 14:32 cmd [2021-01-11T14:34:56.878Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 11 14:34 coverage.out [2021-01-11T14:34:56.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 14:34 driver [2021-01-11T14:34:56.878Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 11 14:34 go.mod [2021-01-11T14:34:56.878Z] -rw-r--r-- 1 jenkins jenkins 13985 Jan 11 14:34 go.sum [2021-01-11T14:34:56.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 14:32 snap [2021-01-11T14:34:56.878Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 14:32 version.go [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:34:57.493Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:34:57.668Z] + 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=abd24f16bfefa7889687f83d2fc8de1c385cee13 --label arch=arm64 --label version=1.2.1-dev.3 . [2021-01-11T14:34:57.668Z] Sending build context to Docker daemon 96.26kB [2021-01-11T14:34:57.854Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:34:57.944Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:34:57.944Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-11T14:34:57.944Z] ---> 7a3d907b2324 [2021-01-11T14:34:57.944Z] Step 3/25 : ARG MAKE='make build' [2021-01-11T14:34:58.157Z] + sudo service docker restart [2021-01-11T14:34:58.157Z] + true [2021-01-11T14:34:58.157Z] Redirecting to /bin/systemctl restart docker.service [2021-01-11T14:34:58.217Z] ---> Running in b2bc016d348d [2021-01-11T14:34:58.818Z] Removing intermediate container b2bc016d348d [2021-01-11T14:34:58.818Z] ---> 4c9935da9875 [2021-01-11T14:34:58.818Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:34:58.818Z] ---> Running in 19e7d36e048b [2021-01-11T14:34:59.092Z] Removing intermediate container 19e7d36e048b [2021-01-11T14:34:59.092Z] ---> 74504324923c [2021-01-11T14:34:59.092Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:34:59.184Z] provisioning config files... [2021-01-11T14:34:59.227Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config3445834026050914711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:34:59.374Z] ---> Running in 2a542adf6467 [2021-01-11T14:34:59.656Z] Removing intermediate container 2a542adf6467 [2021-01-11T14:34:59.656Z] ---> 0f3ca8df3ede [2021-01-11T14:34:59.656Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:34:59.661Z] ---> docker-login.sh [2021-01-11T14:34:59.661Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:34:59.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:59.934Z] ---> Running in 7da8ae6cef42 [2021-01-11T14:35:00.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:00.502Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:00.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:00.502Z] [2021-01-11T14:35:00.502Z] Login Succeeded [2021-01-11T14:35:00.502Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:35:00.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:00.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:00.769Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:00.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:00.769Z] [2021-01-11T14:35:00.769Z] Login Succeeded [2021-01-11T14:35:00.769Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:35:01.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:01.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:01.034Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:01.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:01.034Z] [2021-01-11T14:35:01.034Z] Login Succeeded [2021-01-11T14:35:01.034Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:35:01.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:01.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:01.296Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:01.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:01.296Z] [2021-01-11T14:35:01.296Z] Login Succeeded [2021-01-11T14:35:01.296Z] docker.io [2021-01-11T14:35:01.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:01.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:01.820Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:01.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:01.820Z] [2021-01-11T14:35:01.820Z] Login Succeeded [2021-01-11T14:35:01.820Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:35:01.832Z] Deleting 1 temporary files [Pipeline] // wrap [2021-01-11T14:35:01.909Z] Removing intermediate container 7da8ae6cef42 [2021-01-11T14:35:01.909Z] ---> 21ac7565d295 [2021-01-11T14:35:01.909Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:35:01.909Z] ---> Running in f0e66bda5f37 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T14:35:02.156Z] ========================================================= [2021-01-11T14:35:02.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T14:35:02.156Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:02.497Z] + 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-11T14:35:02.497Z] Sending build context to Docker daemon 84.48kB [2021-01-11T14:35:02.497Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:35:02.497Z] Step 2/10 : FROM ${BASE} [2021-01-11T14:35:02.497Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T14:35:02.497Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T14:35:02.497Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T14:35:02.497Z] de9db76c5a1d: Pulling fs layer [2021-01-11T14:35:02.497Z] bca2f99d35d6: Pulling fs layer [2021-01-11T14:35:02.497Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T14:35:02.497Z] 7c6f9722023f: Pulling fs layer [2021-01-11T14:35:02.497Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T14:35:02.498Z] bca2f99d35d6: Waiting [2021-01-11T14:35:02.498Z] 93359f2a8cfa: Waiting [2021-01-11T14:35:02.498Z] 7c6f9722023f: Waiting [2021-01-11T14:35:02.498Z] a35cf1a2eb13: Waiting [2021-01-11T14:35:02.498Z] de9db76c5a1d: Download complete [2021-01-11T14:35:02.759Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T14:35:02.759Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T14:35:02.759Z] 93359f2a8cfa: Download complete [2021-01-11T14:35:02.759Z] 7c6f9722023f: Download complete [2021-01-11T14:35:02.759Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T14:35:02.759Z] 0ef7d3d256c8: Download complete [2021-01-11T14:35:02.882Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T14:35:03.020Z] 188c0c94c7c5: Pull complete [2021-01-11T14:35:03.286Z] 0ef7d3d256c8: Pull complete [2021-01-11T14:35:03.286Z] de9db76c5a1d: Pull complete [2021-01-11T14:35:03.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T14:35:04.819Z] OK: 142 MiB in 39 packages [2021-01-11T14:35:05.804Z] Removing intermediate container f0e66bda5f37 [2021-01-11T14:35:05.804Z] ---> 96694c16d724 [2021-01-11T14:35:05.804Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-11T14:35:05.846Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T14:35:05.846Z] a35cf1a2eb13: Download complete [2021-01-11T14:35:06.078Z] ---> Running in d06c0c4e41d2 [2021-01-11T14:35:06.113Z] bca2f99d35d6: Verifying Checksum [2021-01-11T14:35:06.113Z] bca2f99d35d6: Download complete [2021-01-11T14:35:06.674Z] Removing intermediate container d06c0c4e41d2 [2021-01-11T14:35:06.674Z] ---> aa4fbaa60cf9 [2021-01-11T14:35:06.674Z] Step 9/25 : COPY go.mod . [2021-01-11T14:35:07.273Z] ---> 8147cf2c0788 [2021-01-11T14:35:07.273Z] Step 10/25 : COPY Makefile . [2021-01-11T14:35:07.874Z] ---> 746a74939de5 [2021-01-11T14:35:07.874Z] Step 11/25 : RUN make update [2021-01-11T14:35:07.874Z] ---> Running in 51288e9f2dc1 [2021-01-11T14:35:09.309Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T14:35:10.302Z] Removing intermediate container 51288e9f2dc1 [2021-01-11T14:35:10.302Z] ---> 0d6a53b598f9 [2021-01-11T14:35:10.302Z] Step 12/25 : COPY . . [2021-01-11T14:35:11.305Z] ---> a12a6a6e79d5 [2021-01-11T14:35:11.305Z] Step 13/25 : RUN $MAKE [2021-01-11T14:35:11.305Z] ---> Running in 9f358aebf486 [2021-01-11T14:35:11.513Z] bca2f99d35d6: Pull complete [2021-01-11T14:35:11.513Z] 93359f2a8cfa: Pull complete [2021-01-11T14:35:11.513Z] 7c6f9722023f: Pull complete [2021-01-11T14:35:12.316Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.3" -o cmd/device-rest-go ./cmd [2021-01-11T14:35:21.558Z] a35cf1a2eb13: Pull complete [2021-01-11T14:35:21.558Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T14:35:21.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T14:35:21.558Z] ---> a62c8e92a672 [2021-01-11T14:35:21.558Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:35:21.822Z] ---> Running in e13bb54c23cb [2021-01-11T14:35:21.822Z] Removing intermediate container e13bb54c23cb [2021-01-11T14:35:21.822Z] ---> 817215bb9a4e [2021-01-11T14:35:21.822Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T14:35:22.084Z] ---> Running in 903c38b929dc [2021-01-11T14:35:22.084Z] Removing intermediate container 903c38b929dc [2021-01-11T14:35:22.084Z] ---> 89466861c6a1 [2021-01-11T14:35:22.084Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T14:35:22.084Z] ---> Running in c98a2f651a4d [2021-01-11T14:35:22.350Z] Removing intermediate container c98a2f651a4d [2021-01-11T14:35:22.350Z] ---> ee2172829dee [2021-01-11T14:35:22.350Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:35:22.350Z] ---> Running in 69de783b9428 [2021-01-11T14:35:23.298Z] Removing intermediate container 69de783b9428 [2021-01-11T14:35:23.298Z] ---> 52f74401e0ef [2021-01-11T14:35:23.298Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:35:23.298Z] ---> Running in d0287f5e8ee7 [2021-01-11T14:35:24.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T14:35:24.818Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T14:35:25.406Z] OK: 166 MiB in 39 packages [2021-01-11T14:35:25.993Z] Removing intermediate container d0287f5e8ee7 [2021-01-11T14:35:25.993Z] ---> 47f97bb26c68 [2021-01-11T14:35:25.993Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T14:35:25.993Z] ---> Running in 65ed48a9d137 [2021-01-11T14:35:26.257Z] Removing intermediate container 65ed48a9d137 [2021-01-11T14:35:26.257Z] ---> 4ded9fa0554f [2021-01-11T14:35:26.257Z] Step 9/10 : COPY . . [2021-01-11T14:35:26.526Z] ---> 54184c2c6156 [2021-01-11T14:35:26.526Z] Step 10/10 : RUN go mod download [2021-01-11T14:35:26.526Z] ---> Running in a55e52c6ae02 [2021-01-11T14:35:39.167Z] Removing intermediate container 9f358aebf486 [2021-01-11T14:35:39.167Z] ---> 8e9d4aadd35a [2021-01-11T14:35:39.167Z] Step 14/25 : FROM alpine:3.12 [2021-01-11T14:35:39.446Z] 3.12: Pulling from library/alpine [2021-01-11T14:35:39.727Z] 159e5727ea61: Pulling fs layer [2021-01-11T14:35:40.002Z] 159e5727ea61: Download complete [2021-01-11T14:35:40.277Z] 159e5727ea61: Pull complete [2021-01-11T14:35:40.277Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T14:35:40.552Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T14:35:40.552Z] ---> afeebe901d6b [2021-01-11T14:35:40.552Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T14:35:40.552Z] ---> Running in fe5d500b2178 [2021-01-11T14:35:41.144Z] Removing intermediate container fe5d500b2178 [2021-01-11T14:35:41.144Z] ---> cf9bef9b4209 [2021-01-11T14:35:41.144Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-11T14:35:41.144Z] ---> Running in 4a25753979ff [2021-01-11T14:35:41.739Z] Removing intermediate container 4a25753979ff [2021-01-11T14:35:41.739Z] ---> 3d578bac54e4 [2021-01-11T14:35:41.739Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-11T14:35:42.334Z] ---> 3405a54c56e2 [2021-01-11T14:35:42.334Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-11T14:35:42.928Z] ---> 4c73d00e9dbc [2021-01-11T14:35:42.928Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-11T14:35:44.362Z] ---> 13b488d5c267 [2021-01-11T14:35:44.362Z] Step 20/25 : EXPOSE 49986 [2021-01-11T14:35:44.362Z] ---> Running in 84ff5011c5c8 [2021-01-11T14:35:44.778Z] Removing intermediate container a55e52c6ae02 [2021-01-11T14:35:44.778Z] ---> b1f6efb756cf [2021-01-11T14:35:44.778Z] Successfully built b1f6efb756cf [2021-01-11T14:35:44.778Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:44.958Z] Removing intermediate container 84ff5011c5c8 [2021-01-11T14:35:44.958Z] ---> e1a37d3c40e0 [2021-01-11T14:35:44.958Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-11T14:35:44.958Z] ---> Running in 90860bada68e [2021-01-11T14:35:45.095Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T14:35:45.095Z] . [Pipeline] withDockerContainer [2021-01-11T14:35:45.410Z] prd-centos7-docker-4c-2g-19507 does not seem to be running inside a container [2021-01-11T14:35:45.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T14:35:45.560Z] Removing intermediate container 90860bada68e [2021-01-11T14:35:45.560Z] ---> 0531d9eb5bcd [2021-01-11T14:35:45.560Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T14:35:45.560Z] ---> Running in acd67e4262a6 [2021-01-11T14:35:45.832Z] Removing intermediate container acd67e4262a6 [2021-01-11T14:35:45.832Z] ---> 58de0a50be4d [2021-01-11T14:35:45.832Z] Step 23/25 : LABEL arch=arm64 [2021-01-11T14:35:46.104Z] ---> Running in 6b7f40c7b377 [2021-01-11T14:35:46.261Z] $ docker top e7ca33a33bd1a4f8fd31c948e23202fe514f3997837b8426bc741fa95c8644d7 -eo pid,comm [2021-01-11T14:35:46.375Z] Removing intermediate container 6b7f40c7b377 [2021-01-11T14:35:46.375Z] ---> 65ef09e8dd69 [2021-01-11T14:35:46.375Z] Step 24/25 : LABEL git_sha=abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] { [Pipeline] sh [2021-01-11T14:35:46.649Z] ---> Running in 0bdd9c6ae444 [2021-01-11T14:35:46.882Z] + go version [2021-01-11T14:35:46.882Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T14:35:46.901Z] $ docker stop --time=1 e7ca33a33bd1a4f8fd31c948e23202fe514f3997837b8426bc741fa95c8644d7 [2021-01-11T14:35:46.920Z] Removing intermediate container 0bdd9c6ae444 [2021-01-11T14:35:46.920Z] ---> a94d84d1bb5f [2021-01-11T14:35:46.920Z] Step 25/25 : LABEL version=1.2.1-dev.3 [2021-01-11T14:35:47.192Z] ---> Running in 1d60f071db2e [2021-01-11T14:35:47.464Z] Removing intermediate container 1d60f071db2e [2021-01-11T14:35:47.464Z] ---> 6a02fb857e27 [2021-01-11T14:35:47.464Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T14:35:47.464Z] Successfully built 6a02fb857e27 [2021-01-11T14:35:47.464Z] Successfully tagged docker-device-rest-go-arm64:latest [2021-01-11T14:35:48.275Z] $ docker rm -f e7ca33a33bd1a4f8fd31c948e23202fe514f3997837b8426bc741fa95c8644d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:35:49.175Z] provisioning config files... [2021-01-11T14:35:49.207Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config784035865062636153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:35:49.374Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T14:35:49.375Z] . [Pipeline] withDockerContainer [2021-01-11T14:35:49.474Z] prd-centos7-docker-4c-2g-19507 does not seem to be running inside a container [2021-01-11T14:35:49.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T14:35:49.612Z] ---> docker-login.sh [2021-01-11T14:35:49.612Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:35:49.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:49.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:49.890Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:49.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:49.890Z] [2021-01-11T14:35:49.890Z] Login Succeeded [2021-01-11T14:35:49.890Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:35:50.164Z] $ docker top acb16613785521746155115e3af7b549c457ad746ad79528c3505ce9c94c74d6 -eo pid,comm [2021-01-11T14:35:50.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-01-11T14:35:50.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:50.439Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:50.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:50.439Z] [2021-01-11T14:35:50.439Z] Login Succeeded [2021-01-11T14:35:50.439Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:35:50.650Z] + make test [2021-01-11T14:35:50.650Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T14:35:50.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:50.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:50.992Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:50.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:50.992Z] [2021-01-11T14:35:50.992Z] Login Succeeded [2021-01-11T14:35:50.992Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:35:51.230Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T14:35:51.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:51.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:51.271Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:51.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:51.271Z] [2021-01-11T14:35:51.271Z] Login Succeeded [2021-01-11T14:35:51.271Z] docker.io [2021-01-11T14:35:51.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:35:52.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:35:52.183Z] Configure a credential helper to remove this warning. See [2021-01-11T14:35:52.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:35:52.183Z] [2021-01-11T14:35:52.183Z] Login Succeeded [2021-01-11T14:35:52.183Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:35:52.199Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T14:35:52.426Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-01-11T14:35:52.426Z] abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:35:52.426Z] latest [2021-01-11T14:35:52.426Z] 1.2.1-dev.3 [2021-01-11T14:35:52.426Z] abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:35:52.426Z] master [2021-01-11T14:35:52.426Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:52.929Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:53.275Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:35:53.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-11T14:35:53.275Z] de6ad324cacc: Preparing [2021-01-11T14:35:53.275Z] ce1c627592ab: Preparing [2021-01-11T14:35:53.275Z] 1abb1cf1066a: Preparing [2021-01-11T14:35:53.275Z] 379067d0cb53: Preparing [2021-01-11T14:35:53.566Z] 379067d0cb53: Layer already exists [2021-01-11T14:35:53.566Z] 1abb1cf1066a: Pushed [2021-01-11T14:35:53.566Z] ce1c627592ab: Pushed [2021-01-11T14:35:56.179Z] de6ad324cacc: Pushed [2021-01-11T14:35:56.448Z] abd24f16bfefa7889687f83d2fc8de1c385cee13: digest: sha256:e9a798e6e5243b8b9a647b9578177f9fe16c8cb506c099ac50462f21d686c9d0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:56.794Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:57.132Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-11T14:35:57.133Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-11T14:35:57.133Z] de6ad324cacc: Preparing [2021-01-11T14:35:57.133Z] ce1c627592ab: Preparing [2021-01-11T14:35:57.133Z] 1abb1cf1066a: Preparing [2021-01-11T14:35:57.133Z] 379067d0cb53: Preparing [2021-01-11T14:35:57.133Z] ce1c627592ab: Layer already exists [2021-01-11T14:35:57.133Z] de6ad324cacc: Layer already exists [2021-01-11T14:35:57.133Z] 1abb1cf1066a: Layer already exists [2021-01-11T14:35:57.133Z] 379067d0cb53: Layer already exists [2021-01-11T14:35:57.403Z] latest: digest: sha256:e9a798e6e5243b8b9a647b9578177f9fe16c8cb506c099ac50462f21d686c9d0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:57.744Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:58.078Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.3 [2021-01-11T14:35:58.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-11T14:35:58.078Z] de6ad324cacc: Preparing [2021-01-11T14:35:58.078Z] ce1c627592ab: Preparing [2021-01-11T14:35:58.078Z] 1abb1cf1066a: Preparing [2021-01-11T14:35:58.078Z] 379067d0cb53: Preparing [2021-01-11T14:35:58.078Z] ce1c627592ab: Layer already exists [2021-01-11T14:35:58.078Z] de6ad324cacc: Layer already exists [2021-01-11T14:35:58.078Z] 1abb1cf1066a: Layer already exists [2021-01-11T14:35:58.078Z] 379067d0cb53: Layer already exists [2021-01-11T14:35:58.351Z] 1.2.1-dev.3: digest: sha256:e9a798e6e5243b8b9a647b9578177f9fe16c8cb506c099ac50462f21d686c9d0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:58.691Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:59.024Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:35:59.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-11T14:35:59.024Z] de6ad324cacc: Preparing [2021-01-11T14:35:59.024Z] ce1c627592ab: Preparing [2021-01-11T14:35:59.024Z] 1abb1cf1066a: Preparing [2021-01-11T14:35:59.024Z] 379067d0cb53: Preparing [2021-01-11T14:35:59.024Z] 1abb1cf1066a: Layer already exists [2021-01-11T14:35:59.024Z] de6ad324cacc: Layer already exists [2021-01-11T14:35:59.024Z] ce1c627592ab: Layer already exists [2021-01-11T14:35:59.296Z] 379067d0cb53: Layer already exists [2021-01-11T14:35:59.296Z] abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3: digest: sha256:e9a798e6e5243b8b9a647b9578177f9fe16c8cb506c099ac50462f21d686c9d0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:35:59.647Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:00.063Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-01-11T14:36:00.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-01-11T14:36:00.063Z] de6ad324cacc: Preparing [2021-01-11T14:36:00.063Z] ce1c627592ab: Preparing [2021-01-11T14:36:00.063Z] 1abb1cf1066a: Preparing [2021-01-11T14:36:00.063Z] 379067d0cb53: Preparing [2021-01-11T14:36:00.063Z] 379067d0cb53: Layer already exists [2021-01-11T14:36:00.063Z] 1abb1cf1066a: Layer already exists [2021-01-11T14:36:00.063Z] ce1c627592ab: Layer already exists [2021-01-11T14:36:00.063Z] de6ad324cacc: Layer already exists [2021-01-11T14:36:00.364Z] master: digest: sha256:e9a798e6e5243b8b9a647b9578177f9fe16c8cb506c099ac50462f21d686c9d0 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T14:36:00.635Z] ===================================================== [Pipeline] echo [2021-01-11T14:36:00.693Z] taggedImages: [2021-01-11T14:36:00.693Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:36:00.693Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-01-11T14:36:00.693Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.3 [2021-01-11T14:36:00.693Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:36:00.693Z] - 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] } [2021-01-11T14:36:03.626Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-11T14:36:03.626Z] ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 56.3% of statements [2021-01-11T14:36:03.626Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T14:36:04.594Z] gofmt -l . [2021-01-11T14:36:04.594Z] [ "`gofmt -l .`" = "" ] [2021-01-11T14:36:04.594Z] ./bin/test-go-mod-tidy.sh [2021-01-11T14:36:04.864Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-11T14:36:05.485Z] $ docker stop --time=1 acb16613785521746155115e3af7b549c457ad746ad79528c3505ce9c94c74d6 [2021-01-11T14:36:08.801Z] $ docker rm -f acb16613785521746155115e3af7b549c457ad746ad79528c3505ce9c94c74d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T14:36:09.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T14:36:09.403Z] Warning: overwriting stash ‘coverage-report’ [2021-01-11T14:36:09.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-11T14:36:10.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T14:36:10.593Z] + ls -al . [2021-01-11T14:36:10.593Z] total 96 [2021-01-11T14:36:10.593Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 11 14:36 . [2021-01-11T14:36:10.593Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 14:34 .. [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 11 14:34 Attribution.txt [2021-01-11T14:36:10.593Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 14:34 bin [2021-01-11T14:36:10.593Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 14:34 cmd [2021-01-11T14:36:10.593Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 11 14:36 coverage.out [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 11 14:34 Dockerfile [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 11 14:34 Dockerfile.build [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 11 14:34 .dockerignore [2021-01-11T14:36:10.593Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 11 14:36 driver [2021-01-11T14:36:10.593Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 14:34 .git [2021-01-11T14:36:10.593Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 14:34 .github [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 11 14:34 .gitignore [2021-01-11T14:36:10.593Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 11 14:36 go.mod [2021-01-11T14:36:10.593Z] -rw-r--r--. 1 jenkins jenkins 13985 Jan 11 14:36 go.sum [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 11 14:34 Jenkinsfile [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 14:34 LICENSE [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 11 14:34 Makefile [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 11 14:34 README.md [2021-01-11T14:36:10.593Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 14:34 snap [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 14:32 VERSION [2021-01-11T14:36:10.593Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 11 14:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:10.962Z] + 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=abd24f16bfefa7889687f83d2fc8de1c385cee13 --label arch=amd64 --label version=1.2.1-dev.3 . [2021-01-11T14:36:10.962Z] Sending build context to Docker daemon 96.26kB [2021-01-11T14:36:10.962Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:36:10.962Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-11T14:36:10.962Z] ---> b1f6efb756cf [2021-01-11T14:36:10.962Z] Step 3/25 : ARG MAKE='make build' [2021-01-11T14:36:11.237Z] ---> Running in 34e82b3ed34a [2021-01-11T14:36:11.237Z] Removing intermediate container 34e82b3ed34a [2021-01-11T14:36:11.237Z] ---> fb9b243fc767 [2021-01-11T14:36:11.237Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:36:11.237Z] ---> Running in 5f4b24337778 [2021-01-11T14:36:11.513Z] Removing intermediate container 5f4b24337778 [2021-01-11T14:36:11.513Z] ---> 8ab48be6fbd7 [2021-01-11T14:36:11.513Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T14:36:11.513Z] ---> Running in 3be880b47dca [2021-01-11T14:36:11.791Z] Removing intermediate container 3be880b47dca [2021-01-11T14:36:11.791Z] ---> 866fcce4ce0a [2021-01-11T14:36:11.791Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:36:11.791Z] ---> Running in a7a9055402f9 [2021-01-11T14:36:12.777Z] Removing intermediate container a7a9055402f9 [2021-01-11T14:36:12.777Z] ---> f94a1456ce04 [2021-01-11T14:36:12.777Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:36:12.777Z] ---> Running in d8a2fdc053d2 [2021-01-11T14:36:13.041Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T14:36:13.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T14:36:14.255Z] OK: 166 MiB in 39 packages [2021-01-11T14:36:14.517Z] Removing intermediate container d8a2fdc053d2 [2021-01-11T14:36:14.517Z] ---> 33ecccec9a0d [2021-01-11T14:36:14.517Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-11T14:36:14.790Z] ---> Running in 198cb1109123 [2021-01-11T14:36:14.790Z] Removing intermediate container 198cb1109123 [2021-01-11T14:36:14.790Z] ---> f9cdebc5e6c8 [2021-01-11T14:36:14.790Z] Step 9/25 : COPY go.mod . [2021-01-11T14:36:15.072Z] ---> 71823b00444d [2021-01-11T14:36:15.072Z] Step 10/25 : COPY Makefile . [2021-01-11T14:36:15.343Z] ---> b808d59f1a4f [2021-01-11T14:36:15.343Z] Step 11/25 : RUN make update [2021-01-11T14:36:15.343Z] ---> Running in 49d6b39fb52f [2021-01-11T14:36:15.948Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T14:36:16.214Z] Removing intermediate container 49d6b39fb52f [2021-01-11T14:36:16.214Z] ---> 0a0334e441dc [2021-01-11T14:36:16.214Z] Step 12/25 : COPY . . [2021-01-11T14:36:16.478Z] ---> 1fe4d80b992d [2021-01-11T14:36:16.478Z] Step 13/25 : RUN $MAKE [2021-01-11T14:36:16.744Z] ---> Running in f2de9dfd3803 [2021-01-11T14:36:17.027Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.3" -o cmd/device-rest-go ./cmd [2021-01-11T14:36:29.517Z] Removing intermediate container f2de9dfd3803 [2021-01-11T14:36:29.517Z] ---> fcf5e4adbe02 [2021-01-11T14:36:29.517Z] Step 14/25 : FROM alpine:3.12 [2021-01-11T14:36:30.465Z] 3.12: Pulling from library/alpine [2021-01-11T14:36:30.465Z] 801bfaa63ef2: Pulling fs layer [2021-01-11T14:36:30.728Z] 801bfaa63ef2: Verifying Checksum [2021-01-11T14:36:30.728Z] 801bfaa63ef2: Download complete [2021-01-11T14:36:30.990Z] 801bfaa63ef2: Pull complete [2021-01-11T14:36:30.990Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T14:36:30.990Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T14:36:30.990Z] ---> 389fef711851 [2021-01-11T14:36:30.990Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T14:36:30.990Z] ---> Running in faad0eee97ce [2021-01-11T14:36:31.254Z] Removing intermediate container faad0eee97ce [2021-01-11T14:36:31.254Z] ---> 696df1b737a6 [2021-01-11T14:36:31.254Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-11T14:36:31.254Z] ---> Running in 1b8d481ef4aa [2021-01-11T14:36:31.254Z] Removing intermediate container 1b8d481ef4aa [2021-01-11T14:36:31.254Z] ---> 2e2d95f739d5 [2021-01-11T14:36:31.254Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-11T14:36:31.516Z] ---> 942ab720e8d5 [2021-01-11T14:36:31.516Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-11T14:36:31.779Z] ---> ffca2ca1e80a [2021-01-11T14:36:31.779Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-11T14:36:32.354Z] ---> 9476f3f1e712 [2021-01-11T14:36:32.354Z] Step 20/25 : EXPOSE 49986 [2021-01-11T14:36:32.354Z] ---> Running in 3b5086b58186 [2021-01-11T14:36:32.616Z] Removing intermediate container 3b5086b58186 [2021-01-11T14:36:32.616Z] ---> 12e266a115db [2021-01-11T14:36:32.616Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-11T14:36:32.616Z] ---> Running in 13214fbaa2cb [2021-01-11T14:36:32.879Z] Removing intermediate container 13214fbaa2cb [2021-01-11T14:36:32.879Z] ---> 42e1f33d1011 [2021-01-11T14:36:32.879Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T14:36:32.879Z] ---> Running in ed48608c60b3 [2021-01-11T14:36:33.143Z] Removing intermediate container ed48608c60b3 [2021-01-11T14:36:33.143Z] ---> bd5e234a2552 [2021-01-11T14:36:33.143Z] Step 23/25 : LABEL arch=amd64 [2021-01-11T14:36:33.143Z] ---> Running in 70d4a3edab35 [2021-01-11T14:36:33.406Z] Removing intermediate container 70d4a3edab35 [2021-01-11T14:36:33.406Z] ---> aa5b267cc872 [2021-01-11T14:36:33.406Z] Step 24/25 : LABEL git_sha=abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:36:33.406Z] ---> Running in 9409d7788be6 [2021-01-11T14:36:33.406Z] Removing intermediate container 9409d7788be6 [2021-01-11T14:36:33.406Z] ---> 10380cdc0a7f [2021-01-11T14:36:33.406Z] Step 25/25 : LABEL version=1.2.1-dev.3 [2021-01-11T14:36:33.669Z] ---> Running in bec88c32f8f8 [2021-01-11T14:36:33.669Z] Removing intermediate container bec88c32f8f8 [2021-01-11T14:36:33.669Z] ---> f1e3d603249f [2021-01-11T14:36:33.669Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T14:36:33.669Z] Successfully built f1e3d603249f [2021-01-11T14:36:33.669Z] 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-11T14:36:34.000Z] provisioning config files... [2021-01-11T14:36:34.024Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config2959659334570563702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:36:34.389Z] ---> docker-login.sh [2021-01-11T14:36:34.389Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:36:34.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:36:34.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:36:34.652Z] Configure a credential helper to remove this warning. See [2021-01-11T14:36:34.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:36:34.652Z] [2021-01-11T14:36:34.652Z] Login Succeeded [2021-01-11T14:36:34.652Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:36:34.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:36:34.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:36:34.652Z] Configure a credential helper to remove this warning. See [2021-01-11T14:36:34.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:36:34.652Z] [2021-01-11T14:36:34.652Z] Login Succeeded [2021-01-11T14:36:34.652Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:36:34.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:36:34.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:36:34.915Z] Configure a credential helper to remove this warning. See [2021-01-11T14:36:34.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:36:34.915Z] [2021-01-11T14:36:34.915Z] Login Succeeded [2021-01-11T14:36:34.915Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:36:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:36:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:36:35.178Z] Configure a credential helper to remove this warning. See [2021-01-11T14:36:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:36:35.178Z] [2021-01-11T14:36:35.178Z] Login Succeeded [2021-01-11T14:36:35.178Z] docker.io [2021-01-11T14:36:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:36:35.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:36:35.440Z] Configure a credential helper to remove this warning. See [2021-01-11T14:36:35.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:36:35.440Z] [2021-01-11T14:36:35.440Z] Login Succeeded [2021-01-11T14:36:35.440Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:36:35.450Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T14:36:35.644Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-01-11T14:36:35.644Z] abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:36:35.644Z] latest [2021-01-11T14:36:35.644Z] 1.2.1-dev.3 [2021-01-11T14:36:35.644Z] abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:36:35.644Z] master [2021-01-11T14:36:35.644Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:36.119Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:36.423Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:36:36.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-11T14:36:36.423Z] ed6e61c24b8f: Preparing [2021-01-11T14:36:36.423Z] 71ec01104457: Preparing [2021-01-11T14:36:36.423Z] 00cdb52accb0: Preparing [2021-01-11T14:36:36.423Z] 777b2c648970: Preparing [2021-01-11T14:36:36.423Z] 777b2c648970: Layer already exists [2021-01-11T14:36:36.423Z] 71ec01104457: Pushed [2021-01-11T14:36:36.423Z] 00cdb52accb0: Pushed [2021-01-11T14:36:37.815Z] ed6e61c24b8f: Pushed [2021-01-11T14:36:37.815Z] abd24f16bfefa7889687f83d2fc8de1c385cee13: digest: sha256:a4f2fe67e8c21acc3a73b3de5adb44c05f9fe931b510af782970196c82b71027 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:38.131Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:38.700Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-11T14:36:38.700Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-11T14:36:38.700Z] ed6e61c24b8f: Preparing [2021-01-11T14:36:38.700Z] 71ec01104457: Preparing [2021-01-11T14:36:38.700Z] 00cdb52accb0: Preparing [2021-01-11T14:36:38.700Z] 777b2c648970: Preparing [2021-01-11T14:36:38.700Z] 00cdb52accb0: Layer already exists [2021-01-11T14:36:38.700Z] 71ec01104457: Layer already exists [2021-01-11T14:36:38.700Z] 777b2c648970: Layer already exists [2021-01-11T14:36:38.700Z] ed6e61c24b8f: Layer already exists [2021-01-11T14:36:38.700Z] latest: digest: sha256:a4f2fe67e8c21acc3a73b3de5adb44c05f9fe931b510af782970196c82b71027 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:39.012Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:39.323Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.3 [2021-01-11T14:36:39.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-11T14:36:39.323Z] ed6e61c24b8f: Preparing [2021-01-11T14:36:39.323Z] 71ec01104457: Preparing [2021-01-11T14:36:39.323Z] 00cdb52accb0: Preparing [2021-01-11T14:36:39.323Z] 777b2c648970: Preparing [2021-01-11T14:36:39.323Z] 71ec01104457: Layer already exists [2021-01-11T14:36:39.323Z] ed6e61c24b8f: Layer already exists [2021-01-11T14:36:39.323Z] 00cdb52accb0: Layer already exists [2021-01-11T14:36:39.323Z] 777b2c648970: Layer already exists [2021-01-11T14:36:39.323Z] 1.2.1-dev.3: digest: sha256:a4f2fe67e8c21acc3a73b3de5adb44c05f9fe931b510af782970196c82b71027 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:39.636Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:39.939Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:36:39.939Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-11T14:36:39.939Z] ed6e61c24b8f: Preparing [2021-01-11T14:36:39.939Z] 71ec01104457: Preparing [2021-01-11T14:36:39.939Z] 00cdb52accb0: Preparing [2021-01-11T14:36:39.939Z] 777b2c648970: Preparing [2021-01-11T14:36:39.939Z] 71ec01104457: Layer already exists [2021-01-11T14:36:39.939Z] ed6e61c24b8f: Layer already exists [2021-01-11T14:36:39.939Z] 777b2c648970: Layer already exists [2021-01-11T14:36:39.939Z] 00cdb52accb0: Layer already exists [2021-01-11T14:36:39.939Z] abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3: digest: sha256:a4f2fe67e8c21acc3a73b3de5adb44c05f9fe931b510af782970196c82b71027 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:40.250Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:40.560Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-01-11T14:36:40.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-01-11T14:36:40.561Z] ed6e61c24b8f: Preparing [2021-01-11T14:36:40.561Z] 71ec01104457: Preparing [2021-01-11T14:36:40.561Z] 00cdb52accb0: Preparing [2021-01-11T14:36:40.561Z] 777b2c648970: Preparing [2021-01-11T14:36:40.561Z] 777b2c648970: Layer already exists [2021-01-11T14:36:40.561Z] 71ec01104457: Layer already exists [2021-01-11T14:36:40.561Z] 00cdb52accb0: Layer already exists [2021-01-11T14:36:40.561Z] ed6e61c24b8f: Layer already exists [2021-01-11T14:36:40.561Z] master: digest: sha256:a4f2fe67e8c21acc3a73b3de5adb44c05f9fe931b510af782970196c82b71027 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T14:36:40.763Z] ===================================================== [Pipeline] echo [2021-01-11T14:36:40.808Z] taggedImages: [2021-01-11T14:36:40.808Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13 [2021-01-11T14:36:40.808Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-01-11T14:36:40.808Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.3 [2021-01-11T14:36:40.808Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:abd24f16bfefa7889687f83d2fc8de1c385cee13-1.2.1-dev.3 [2021-01-11T14:36:40.808Z] - 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-11T14:36:42.449Z] provisioning config files... [2021-01-11T14:36:42.458Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5168901996992850599tmp [Pipeline] { [Pipeline] sh [2021-01-11T14:36:42.840Z] + set +x [2021-01-11T14:36:42.840Z] + curl -s https://codecov.io/bash [2021-01-11T14:36:42.840Z] + bash -s -- [2021-01-11T14:36:43.103Z] [2021-01-11T14:36:43.103Z] _____ _ [2021-01-11T14:36:43.103Z] / ____| | | [2021-01-11T14:36:43.103Z] | | ___ __| | ___ ___ _____ __ [2021-01-11T14:36:43.103Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-11T14:36:43.103Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-11T14:36:43.103Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-11T14:36:43.103Z] Bash-20201231-23d4836 [2021-01-11T14:36:43.103Z] [2021-01-11T14:36:43.103Z] [2021-01-11T14:36:43.103Z] ==> git version 2.24.3 found [2021-01-11T14:36:43.103Z] ==> 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-11T14:36:43.103Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-11T14:36:43.103Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-11T14:36:43.103Z] ==> Jenkins CI detected. [2021-01-11T14:36:43.103Z] project root: . [2021-01-11T14:36:43.103Z] --> token set from env [2021-01-11T14:36:43.103Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-11T14:36:43.103Z] ==> Running gcov in . (disable via -X gcov) [2021-01-11T14:36:43.103Z] ==> Python coveragepy not found [2021-01-11T14:36:43.103Z] ==> Searching for coverage reports in: [2021-01-11T14:36:43.103Z] + . [2021-01-11T14:36:43.103Z] -> Found 1 reports [2021-01-11T14:36:43.103Z] ==> Detecting git/mercurial file structure [2021-01-11T14:36:43.103Z] ==> Reading reports [2021-01-11T14:36:43.103Z] + ./coverage.out bytes=9369 [2021-01-11T14:36:43.372Z] ==> Appending adjustments [2021-01-11T14:36:43.372Z] https://docs.codecov.io/docs/fixing-reports [2021-01-11T14:36:43.372Z] + Found adjustments [2021-01-11T14:36:43.372Z] ==> Gzipping contents [2021-01-11T14:36:43.372Z] 4.0K /tmp/codecov.XqIlpY.gz [2021-01-11T14:36:43.372Z] ==> Uploading reports [2021-01-11T14:36:43.372Z] url: https://codecov.io [2021-01-11T14:36:43.373Z] query: branch=master&commit=abd24f16bfefa7889687f83d2fc8de1c385cee13&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T14:36:43.373Z] -> Pinging Codecov [2021-01-11T14:36:43.373Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=abd24f16bfefa7889687f83d2fc8de1c385cee13&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T14:36:43.641Z] -> Uploading to [2021-01-11T14:36:43.641Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-11/4E5D53B4F1F92C436F7061BF334D961C/abd24f16bfefa7889687f83d2fc8de1c385cee13/d64e351a-3cc0-4785-a0e3-7f7f9c41c979.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T143643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=946bc6eb8586c68d2555be5a817cbd7a475d890076795114fcef390986158299 [2021-01-11T14:36:43.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-11T14:36:43.641Z] Dload Upload Total Spent Left Speed [2021-01-11T14:36:44.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3627 --:--:-- --:--:-- --:--:-- 3626 [2021-01-11T14:36:44.171Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] } [2021-01-11T14:36:44.181Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-11T14:36:44.997Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-11T14:36:45.051Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:45.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T14:36:45.389Z] [2021-01-11T14:36:45.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:36:45.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T14:36:45.737Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-11T14:36:45.737Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T14:36:45.737Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T14:36:45.737Z] de9db76c5a1d: Pulling fs layer [2021-01-11T14:36:45.737Z] 0eba1c9be4d2: Pulling fs layer [2021-01-11T14:36:45.737Z] 0d57e429df01: Pulling fs layer [2021-01-11T14:36:45.737Z] 4e4be7b47b0d: Pulling fs layer [2021-01-11T14:36:45.737Z] e1f770b5df2f: Pulling fs layer [2021-01-11T14:36:45.737Z] 85a0685a4137: Pulling fs layer [2021-01-11T14:36:45.737Z] 0eba1c9be4d2: Waiting [2021-01-11T14:36:45.737Z] 0d57e429df01: Waiting [2021-01-11T14:36:45.737Z] 4e4be7b47b0d: Waiting [2021-01-11T14:36:45.737Z] e1f770b5df2f: Waiting [2021-01-11T14:36:45.737Z] 85a0685a4137: Waiting [2021-01-11T14:36:45.737Z] de9db76c5a1d: Verifying Checksum [2021-01-11T14:36:45.737Z] de9db76c5a1d: Download complete [2021-01-11T14:36:45.737Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T14:36:45.737Z] 0ef7d3d256c8: Download complete [2021-01-11T14:36:45.737Z] 0d57e429df01: Verifying Checksum [2021-01-11T14:36:45.737Z] 0d57e429df01: Download complete [2021-01-11T14:36:45.737Z] 4e4be7b47b0d: Verifying Checksum [2021-01-11T14:36:45.737Z] 4e4be7b47b0d: Download complete [2021-01-11T14:36:45.737Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T14:36:45.737Z] 188c0c94c7c5: Download complete [2021-01-11T14:36:46.001Z] 188c0c94c7c5: Pull complete [2021-01-11T14:36:46.267Z] 0ef7d3d256c8: Pull complete [2021-01-11T14:36:46.531Z] de9db76c5a1d: Pull complete [2021-01-11T14:36:47.107Z] e1f770b5df2f: Verifying Checksum [2021-01-11T14:36:47.107Z] e1f770b5df2f: Download complete [2021-01-11T14:36:49.042Z] 0eba1c9be4d2: Verifying Checksum [2021-01-11T14:36:49.042Z] 0eba1c9be4d2: Download complete [2021-01-11T14:36:49.306Z] 85a0685a4137: Verifying Checksum [2021-01-11T14:36:49.306Z] 85a0685a4137: Download complete [2021-01-11T14:36:54.670Z] 0eba1c9be4d2: Pull complete [2021-01-11T14:36:54.670Z] 0d57e429df01: Pull complete [2021-01-11T14:36:54.670Z] 4e4be7b47b0d: Pull complete [2021-01-11T14:36:56.605Z] e1f770b5df2f: Pull complete [2021-01-11T14:37:04.787Z] 85a0685a4137: Pull complete [2021-01-11T14:37:04.787Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-11T14:37:04.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T14:37:04.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-11T14:37:05.011Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:37:05.063Z] $ 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-11T14:37:06.148Z] $ docker top 9b3dbac44d43517e4e1ff16376e7c7c6f82ae44de79100f1c1eed9fea91b1d9f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-11T14:37:06.359Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-11T14:37:06.656Z] + set -o pipefail [2021-01-11T14:37:06.656Z] + snyk monitor '--org=edgex-jenkins' [2021-01-11T14:37:14.828Z] [2021-01-11T14:37:14.828Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-01-11T14:37:14.828Z] [2021-01-11T14:37:14.828Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/0cb5cbf8-e4fc-47ff-ad2d-09357194768c [2021-01-11T14:37:14.828Z] [2021-01-11T14:37:14.828Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-11T14:37:14.828Z] [2021-01-11T14:37:14.828Z] [Pipeline] } [2021-01-11T14:37:14.844Z] $ docker stop --time=1 9b3dbac44d43517e4e1ff16376e7c7c6f82ae44de79100f1c1eed9fea91b1d9f [2021-01-11T14:37:17.452Z] $ docker rm -f 9b3dbac44d43517e4e1ff16376e7c7c6f82ae44de79100f1c1eed9fea91b1d9f [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-11T14:37:19.243Z] + git log --format=format:%s -1 abd24f16bfefa7889687f83d2fc8de1c385cee13 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:37:19.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:37:19.553Z] . [Pipeline] withDockerContainer [2021-01-11T14:37:19.656Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:37:19.707Z] $ 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-11T14:37:20.523Z] $ docker top 75ef641516e086cdd822b4e0892ba6e540e2ff8c036f9543f2030692840cf599 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T14:37:20.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:37:20.821Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:37:21.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:37:21.093Z] $ docker exec 75ef641516e086cdd822b4e0892ba6e540e2ff8c036f9543f2030692840cf599 ssh-agent [2021-01-11T14:37:21.280Z] SSH_AUTH_SOCK=/tmp/ssh-cdG005efnyGI/agent.11 [2021-01-11T14:37:21.280Z] SSH_AGENT_PID=17 [2021-01-11T14:37:21.291Z] Running ssh-add (command line suppressed) [2021-01-11T14:37:21.421Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6004728204491397193.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6004728204491397193.key) [2021-01-11T14:37:21.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:37:21.862Z] + git semver tag [2021-01-11T14:37:21.862Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T14:37:21.862Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-11T14:37:21.862Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-11T14:37:21.862Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T14:37:21.862Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T14:37:21.862Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T14:37:21.862Z] # $SEMVER_BRANCH = master [2021-01-11T14:37:21.862Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-11T14:37:21.862Z] # abd24f16bfefa7889687f83d2fc8de1c385cee13 HEAD [2021-01-11T14:37:21.862Z] # -> Force: false [2021-01-11T14:37:21.862Z] # c4868f1fee7893910f030503066a21a37b3203af refs/tags/v1.2.1-dev.3 [Pipeline] } [2021-01-11T14:37:21.883Z] $ docker exec --env ******** --env ******** 75ef641516e086cdd822b4e0892ba6e540e2ff8c036f9543f2030692840cf599 ssh-agent -k [2021-01-11T14:37:22.023Z] unset SSH_AUTH_SOCK; [2021-01-11T14:37:22.024Z] unset SSH_AGENT_PID; [2021-01-11T14:37:22.024Z] echo Agent pid 17 killed; [2021-01-11T14:37:22.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T14:37:22.576Z] + git semver [Pipeline] } [2021-01-11T14:37:22.593Z] $ docker stop --time=1 75ef641516e086cdd822b4e0892ba6e540e2ff8c036f9543f2030692840cf599 [2021-01-11T14:37:23.960Z] $ docker rm -f 75ef641516e086cdd822b4e0892ba6e540e2ff8c036f9543f2030692840cf599 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:37:24.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T14:37:24.712Z] [2021-01-11T14:37:24.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:37:25.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T14:37:25.056Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-11T14:37:25.056Z] ab5ef0e58194: Pulling fs layer [2021-01-11T14:37:25.056Z] 9712f1f96733: Pulling fs layer [2021-01-11T14:37:25.056Z] 63f879dbbcfc: Pulling fs layer [2021-01-11T14:37:25.056Z] 0d9ebad4ef96: Pulling fs layer [2021-01-11T14:37:25.056Z] e9a5061849ea: Pulling fs layer [2021-01-11T14:37:25.056Z] d747dcd14b5f: Pulling fs layer [2021-01-11T14:37:25.056Z] 2de7ff778b66: Pulling fs layer [2021-01-11T14:37:25.056Z] e9a5061849ea: Waiting [2021-01-11T14:37:25.056Z] d747dcd14b5f: Waiting [2021-01-11T14:37:25.056Z] 2de7ff778b66: Waiting [2021-01-11T14:37:25.056Z] 0d9ebad4ef96: Waiting [2021-01-11T14:37:25.056Z] 9712f1f96733: Verifying Checksum [2021-01-11T14:37:25.056Z] 9712f1f96733: Download complete [2021-01-11T14:37:26.458Z] 63f879dbbcfc: Download complete [2021-01-11T14:37:26.721Z] e9a5061849ea: Verifying Checksum [2021-01-11T14:37:26.721Z] e9a5061849ea: Download complete [2021-01-11T14:37:26.721Z] d747dcd14b5f: Verifying Checksum [2021-01-11T14:37:26.721Z] d747dcd14b5f: Download complete [2021-01-11T14:37:27.297Z] 2de7ff778b66: Verifying Checksum [2021-01-11T14:37:27.297Z] 2de7ff778b66: Download complete [2021-01-11T14:37:27.297Z] 0d9ebad4ef96: Verifying Checksum [2021-01-11T14:37:27.297Z] 0d9ebad4ef96: Download complete [2021-01-11T14:37:27.561Z] ab5ef0e58194: Verifying Checksum [2021-01-11T14:37:27.562Z] ab5ef0e58194: Download complete [2021-01-11T14:37:31.798Z] ab5ef0e58194: Pull complete [2021-01-11T14:37:31.798Z] 9712f1f96733: Pull complete [2021-01-11T14:37:33.728Z] 63f879dbbcfc: Pull complete [2021-01-11T14:37:40.359Z] 0d9ebad4ef96: Pull complete [2021-01-11T14:37:42.283Z] e9a5061849ea: Pull complete [2021-01-11T14:37:42.283Z] d747dcd14b5f: Pull complete [2021-01-11T14:37:44.217Z] 2de7ff778b66: Pull complete [2021-01-11T14:37:44.217Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-11T14:37:44.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T14:37:44.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-11T14:37:44.427Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:37:44.480Z] $ 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-11T14:37:48.356Z] $ docker top d2eb07f8d7ee26a774c2049cc723a4094d3a3c6e94776b4502939346a184756a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-11T14:37:48.680Z] provisioning config files... [2021-01-11T14:37:48.690Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2936323028488345980tmp [2021-01-11T14:37:48.708Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5283783244573436752tmp [2021-01-11T14:37:48.724Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config9035234995785402545tmp [Pipeline] { [Pipeline] echo [2021-01-11T14:37:48.779Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:37:49.079Z] ---> sigul-configuration.sh [2021-01-11T14:37:49.079Z] gpg: directory `/root/.gnupg' created [2021-01-11T14:37:49.079Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-11T14:37:49.079Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-11T14:37:49.079Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-11T14:37:49.079Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-11T14:37:49.079Z] gpg: CAST5 encrypted data [2021-01-11T14:37:49.342Z] gpg: encrypted with 1 passphrase [2021-01-11T14:37:49.342Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-11T14:37:49.646Z] + mkdir /home/jenkins [2021-01-11T14:37:49.646Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-11T14:37:49.944Z] + 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-11T14:37:49.958Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:37:50.273Z] ---> sigul-install.sh [2021-01-11T14:37:55.580Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-11T14:37:55.877Z] + git tag --list [2021-01-11T14:37:55.877Z] v1.0.0 [2021-01-11T14:37:55.877Z] v1.1.0 [2021-01-11T14:37:55.877Z] v1.1.1 [2021-01-11T14:37:55.877Z] v1.1.2 [2021-01-11T14:37:55.877Z] v1.1.2-dev.1 [2021-01-11T14:37:55.877Z] v1.1.2-dev.2 [2021-01-11T14:37:55.877Z] v1.1.3-dev.1 [2021-01-11T14:37:55.877Z] v1.1.3-dev.10 [2021-01-11T14:37:55.877Z] v1.1.3-dev.2 [2021-01-11T14:37:55.877Z] v1.1.3-dev.3 [2021-01-11T14:37:55.877Z] v1.1.3-dev.4 [2021-01-11T14:37:55.877Z] v1.1.3-dev.5 [2021-01-11T14:37:55.877Z] v1.1.3-dev.6 [2021-01-11T14:37:55.877Z] v1.1.3-dev.7 [2021-01-11T14:37:55.877Z] v1.1.3-dev.8 [2021-01-11T14:37:55.877Z] v1.1.3-dev.9 [2021-01-11T14:37:55.877Z] v1.2.0 [2021-01-11T14:37:55.877Z] v1.2.1-dev.1 [2021-01-11T14:37:55.877Z] v1.2.1-dev.2 [2021-01-11T14:37:55.877Z] v1.2.1-dev.3 [Pipeline] sh [2021-01-11T14:37:56.175Z] + lftools sign git-tag v1.2.1-dev.3 [2021-01-11T14:37:57.563Z] Signing Git tag with Sigul... [2021-01-11T14:37:57.563Z] Signing v1.2.1-dev.3 [Pipeline] echo [2021-01-11T14:37:58.519Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:37:58.816Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-11T14:37:58.826Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-11T14:37:58.911Z] $ docker stop --time=1 d2eb07f8d7ee26a774c2049cc723a4094d3a3c6e94776b4502939346a184756a [2021-01-11T14:38:00.985Z] $ docker rm -f d2eb07f8d7ee26a774c2049cc723a4094d3a3c6e94776b4502939346a184756a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:38:01.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:38:01.905Z] . [Pipeline] withDockerContainer [2021-01-11T14:38:02.026Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:38:02.074Z] $ 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-11T14:38:02.833Z] $ docker top 5fb1d5793f85a758b603c69a01771030f2bd80f9c8442e87c43db1000eb47e2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T14:38:03.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:38:03.154Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:38:03.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:38:03.376Z] $ docker exec 5fb1d5793f85a758b603c69a01771030f2bd80f9c8442e87c43db1000eb47e2a ssh-agent [2021-01-11T14:38:03.774Z] SSH_AUTH_SOCK=/tmp/ssh-Pq6adRFt1pID/agent.11 [2021-01-11T14:38:03.774Z] SSH_AGENT_PID=17 [2021-01-11T14:38:03.782Z] Running ssh-add (command line suppressed) [2021-01-11T14:38:03.911Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_428637216141503575.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_428637216141503575.key) [2021-01-11T14:38:03.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:38:04.316Z] + git semver bump pre [2021-01-11T14:38:04.316Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T14:38:04.316Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-11T14:38:04.316Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-11T14:38:04.316Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T14:38:04.316Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T14:38:04.316Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T14:38:04.316Z] # $SEMVER_BRANCH = master [2021-01-11T14:38:04.316Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-01-11T14:38:04.316Z] 1.2.1-dev.4 [Pipeline] } [2021-01-11T14:38:04.329Z] $ docker exec --env ******** --env ******** 5fb1d5793f85a758b603c69a01771030f2bd80f9c8442e87c43db1000eb47e2a ssh-agent -k [2021-01-11T14:38:04.452Z] unset SSH_AUTH_SOCK; [2021-01-11T14:38:04.453Z] unset SSH_AGENT_PID; [2021-01-11T14:38:04.453Z] echo Agent pid 17 killed; [2021-01-11T14:38:04.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T14:38:04.978Z] + git semver [Pipeline] } [2021-01-11T14:38:04.994Z] $ docker stop --time=1 5fb1d5793f85a758b603c69a01771030f2bd80f9c8442e87c43db1000eb47e2a [2021-01-11T14:38:06.408Z] $ docker rm -f 5fb1d5793f85a758b603c69a01771030f2bd80f9c8442e87c43db1000eb47e2a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:38:07.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:38:07.038Z] . [Pipeline] withDockerContainer [2021-01-11T14:38:07.147Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:38:07.198Z] $ 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-11T14:38:08.107Z] $ docker top 785a01839bb561ce61140499bf134f2084ab5a2c9fe74427ac467581940bdb49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T14:38:08.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:38:08.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:38:08.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:38:08.677Z] $ docker exec 785a01839bb561ce61140499bf134f2084ab5a2c9fe74427ac467581940bdb49 ssh-agent [2021-01-11T14:38:08.860Z] SSH_AUTH_SOCK=/tmp/ssh-vC0qINCpafAt/agent.11 [2021-01-11T14:38:08.860Z] SSH_AGENT_PID=16 [2021-01-11T14:38:08.868Z] Running ssh-add (command line suppressed) [2021-01-11T14:38:08.999Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8498189508018115828.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8498189508018115828.key) [2021-01-11T14:38:09.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:38:09.391Z] + git semver push [2021-01-11T14:38:09.391Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T14:38:09.391Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-01-11T14:38:09.391Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-01-11T14:38:09.391Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T14:38:09.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T14:38:09.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T14:38:09.391Z] # $SEMVER_BRANCH = master [2021-01-11T14:38:09.391Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-01-11T14:38:16.011Z] $ docker exec --env ******** --env ******** 785a01839bb561ce61140499bf134f2084ab5a2c9fe74427ac467581940bdb49 ssh-agent -k [2021-01-11T14:38:16.138Z] unset SSH_AUTH_SOCK; [2021-01-11T14:38:16.138Z] unset SSH_AGENT_PID; [2021-01-11T14:38:16.138Z] echo Agent pid 16 killed; [2021-01-11T14:38:16.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T14:38:16.801Z] + git semver [Pipeline] } [2021-01-11T14:38:16.848Z] $ docker stop --time=1 785a01839bb561ce61140499bf134f2084ab5a2c9fe74427ac467581940bdb49 [2021-01-11T14:38:18.217Z] $ docker rm -f 785a01839bb561ce61140499bf134f2084ab5a2c9fe74427ac467581940bdb49 [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-11T14:38:19.533Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:20.100Z] ---> package-listing.sh [2021-01-11T14:38:20.100Z] ++ facter osfamily [2021-01-11T14:38:20.100Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T14:38:20.100Z] + OS_FAMILY=redhat [2021-01-11T14:38:20.100Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-01-11T14:38:20.100Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T14:38:20.100Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T14:38:20.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T14:38:20.100Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T14:38:20.100Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-11T14:38:20.100Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T14:38:20.100Z] + case "${OS_FAMILY}" in [2021-01-11T14:38:20.100Z] + rpm -qa [2021-01-11T14:38:20.100Z] + sort [2021-01-11T14:38:25.406Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T14:38:25.406Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T14:38:25.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T14:38:25.406Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-01-11T14:38:25.406Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-01-11T14:38:25.406Z] + 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-11T14:38:25.419Z] 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-11T14:38:25.710Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:38:26.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:38:26.012Z] [2021-01-11T14:38:26.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:38:26.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:38:26.361Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T14:38:26.361Z] df20fa9351a1: Pulling fs layer [2021-01-11T14:38:26.361Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T14:38:26.361Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T14:38:26.361Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T14:38:26.361Z] 93b61091891f: Pulling fs layer [2021-01-11T14:38:26.361Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T14:38:26.361Z] 5e14af77c1be: Pulling fs layer [2021-01-11T14:38:26.361Z] 01666e4c0597: Pulling fs layer [2021-01-11T14:38:26.361Z] aa168da1d23b: Pulling fs layer [2021-01-11T14:38:26.361Z] 46f8f816bc3b: Waiting [2021-01-11T14:38:26.361Z] 93b61091891f: Waiting [2021-01-11T14:38:26.361Z] 93b9cdb0e59b: Waiting [2021-01-11T14:38:26.361Z] 5e14af77c1be: Waiting [2021-01-11T14:38:26.361Z] 01666e4c0597: Waiting [2021-01-11T14:38:26.361Z] aa168da1d23b: Waiting [2021-01-11T14:38:26.361Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T14:38:26.361Z] 36b3adc4ff6f: Download complete [2021-01-11T14:38:26.361Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T14:38:26.361Z] 46f8f816bc3b: Download complete [2021-01-11T14:38:26.361Z] df20fa9351a1: Verifying Checksum [2021-01-11T14:38:26.361Z] df20fa9351a1: Download complete [2021-01-11T14:38:26.626Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T14:38:26.626Z] 93b9cdb0e59b: Download complete [2021-01-11T14:38:26.626Z] 93b61091891f: Verifying Checksum [2021-01-11T14:38:26.626Z] 93b61091891f: Download complete [2021-01-11T14:38:26.626Z] 5e14af77c1be: Verifying Checksum [2021-01-11T14:38:26.626Z] 5e14af77c1be: Download complete [2021-01-11T14:38:26.626Z] 01666e4c0597: Verifying Checksum [2021-01-11T14:38:26.626Z] 01666e4c0597: Download complete [2021-01-11T14:38:26.889Z] df20fa9351a1: Pull complete [2021-01-11T14:38:27.152Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T14:38:27.152Z] 8ad3a11d3b57: Download complete [2021-01-11T14:38:27.152Z] 36b3adc4ff6f: Pull complete [2021-01-11T14:38:28.565Z] aa168da1d23b: Download complete [2021-01-11T14:38:28.565Z] 8ad3a11d3b57: Pull complete [2021-01-11T14:38:29.138Z] 46f8f816bc3b: Pull complete [2021-01-11T14:38:29.716Z] 93b61091891f: Pull complete [2021-01-11T14:38:29.977Z] 93b9cdb0e59b: Pull complete [2021-01-11T14:38:29.977Z] 5e14af77c1be: Pull complete [2021-01-11T14:38:30.243Z] 01666e4c0597: Pull complete [2021-01-11T14:38:38.434Z] aa168da1d23b: Pull complete [2021-01-11T14:38:38.434Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T14:38:38.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:38:38.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T14:38:38.596Z] prd-centos7-docker-4c-2g-19503 does not seem to be running inside a container [2021-01-11T14:38:38.649Z] $ 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-11T14:38:41.583Z] $ docker top 60d58da4725b12944a541fb89868e080057fb336bfec8a7e85cd26fc60c637ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:38:42.130Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T14:38:42.436Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T14:38:42.741Z] + ls /var/log/sa-host [2021-01-11T14:38:42.741Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T14:38:42.741Z] file_magic: OK [2021-01-11T14:38:42.741Z] HZ: Using current value: 100 [2021-01-11T14:38:42.741Z] file_header: OK [2021-01-11T14:38:42.741Z] 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-11T14:38:42.741Z] Statistics: [2021-01-11T14:38:42.741Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T14:38:42.741Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T14:38:42.741Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T14:38:42.741Z] file_magic: OK [2021-01-11T14:38:42.741Z] HZ: Using current value: 100 [2021-01-11T14:38:42.741Z] file_header: OK [2021-01-11T14:38:42.741Z] 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-11T14:38:42.741Z] Statistics: [2021-01-11T14:38:42.741Z] Hnuu...uuuununununu... [2021-01-11T14:38:42.741Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T14:38:42.991Z] provisioning config files... [2021-01-11T14:38:43.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4544179362648773155tmp [Pipeline] { [Pipeline] echo [2021-01-11T14:38:43.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:43.387Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T14:38:43.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T14:38:43.492Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:43.800Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T14:38:43.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:44.209Z] ---> sudo-logs.sh [2021-01-11T14:38:44.209Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T14:38:44.227Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:44.577Z] ---> job-cost.sh [2021-01-11T14:38:44.577Z] lf-activate-venv: SKIPPING [2021-01-11T14:38:44.577Z] INFO: No Stack... [2021-01-11T14:38:45.968Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T14:38:46.543Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T14:38:46.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:46.856Z] ---> logs-deploy.sh [2021-01-11T14:38:46.856Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/30 [2021-01-11T14:38:46.856Z] INFO: archiving workspace using pattern(s): [2021-01-11T14:38:48.780Z] Archives upload complete. [2021-01-11T14:38:48.780Z] INFO: archiving logs to Nexus