Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cbc1fb126fca16d22f986b5cd5c305caa6710614 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-12255’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12260 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T16:22:04.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T16:22:04.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T16:22:05.016Z] ========================================================= [2020-11-16T16:22:05.016Z] EdgeX Global Pipelines Version Info [2020-11-16T16:22:05.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:22:07.150Z] ------------------- [2020-11-16T16:22:07.150Z] stable info: [2020-11-16T16:22:07.150Z] ------------------- [2020-11-16T16:22:07.150Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:22:07.150Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T16:22:07.150Z] Message: update stable to v1.0.162 [2020-11-16T16:22:08.107Z] ------------------- [2020-11-16T16:22:08.107Z] experimental info: [2020-11-16T16:22:08.107Z] ------------------- [2020-11-16T16:22:08.107Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:22:08.107Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T16:22:08.107Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T16:22:08.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-16T16:22:08.699Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-16T16:22:08.792Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T16:22:08.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T16:22:08.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T16:22:09.062Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T16:22:09.154Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T16:22:09.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T16:22:09.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T16:22:09.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T16:22:09.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T16:22:09.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-16T16:22:09.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T16:22:09.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T16:22:09.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:22:10.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:22:10.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:22:10.401Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:22:10.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T16:22:10.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-16T16:22:10.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T16:22:10.886Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T16:22:10.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T16:22:11.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T16:22:11.152Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T16:22:11.257Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T16:22:11.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-16T16:22:11.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-16T16:22:11.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-16T16:22:11.755Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo [2020-11-16T16:22:11.868Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbc1fb1 [Pipeline] echo [2020-11-16T16:22:12.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:22:12.212Z] provisioning config files... [2020-11-16T16:22:12.242Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config567243780894769680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:22:12.637Z] ---> docker-login.sh [2020-11-16T16:22:12.638Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:22:12.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:13.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:13.181Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:13.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:13.181Z] [2020-11-16T16:22:13.181Z] Login Succeeded [2020-11-16T16:22:13.181Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:22:13.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:13.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:13.447Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:13.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:13.447Z] [2020-11-16T16:22:13.447Z] Login Succeeded [2020-11-16T16:22:13.447Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:22:13.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:13.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:13.780Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:13.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:13.780Z] [2020-11-16T16:22:13.780Z] Login Succeeded [2020-11-16T16:22:13.780Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:22:13.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:14.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:14.056Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:14.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:14.056Z] [2020-11-16T16:22:14.056Z] Login Succeeded [2020-11-16T16:22:14.056Z] docker.io [2020-11-16T16:22:14.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:14.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:14.342Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:14.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:14.342Z] [2020-11-16T16:22:14.342Z] Login Succeeded [2020-11-16T16:22:14.342Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:22:14.354Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:22:15.236Z] + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo [2020-11-16T16:22:15.385Z] GIT_COMMIT: cbc1fb126fca16d22f986b5cd5c305caa6710614, Commit Message: Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo [2020-11-16T16:22:15.440Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:16.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:22:16.080Z] [2020-11-16T16:22:16.080Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:16.451Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:22:16.451Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T16:22:16.451Z] 31603596830f: Pulling fs layer [2020-11-16T16:22:16.451Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T16:22:16.451Z] 6ca5941a6612: Pulling fs layer [2020-11-16T16:22:16.451Z] ecc8261a40a4: Pulling fs layer [2020-11-16T16:22:16.451Z] ecc8261a40a4: Waiting [2020-11-16T16:22:16.451Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T16:22:16.451Z] 2a8b12db71e7: Download complete [2020-11-16T16:22:16.802Z] 31603596830f: Verifying Checksum [2020-11-16T16:22:16.802Z] 31603596830f: Download complete [2020-11-16T16:22:17.071Z] ecc8261a40a4: Verifying Checksum [2020-11-16T16:22:17.071Z] ecc8261a40a4: Download complete [2020-11-16T16:22:17.071Z] 6ca5941a6612: Verifying Checksum [2020-11-16T16:22:17.071Z] 6ca5941a6612: Download complete [2020-11-16T16:22:17.340Z] 31603596830f: Pull complete [2020-11-16T16:22:17.611Z] 2a8b12db71e7: Pull complete [2020-11-16T16:22:18.570Z] 6ca5941a6612: Pull complete [2020-11-16T16:22:18.835Z] ecc8261a40a4: Pull complete [2020-11-16T16:22:18.835Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T16:22:18.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:22:18.835Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T16:22:19.058Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:22:19.127Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:22:21.547Z] $ docker top f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:22:21.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:22:21.987Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:22:22.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:22:22.274Z] $ docker exec f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent [2020-11-16T16:22:22.506Z] SSH_AUTH_SOCK=/tmp/ssh-Tudfvr4oXMwY/agent.11 [2020-11-16T16:22:22.506Z] SSH_AGENT_PID=16 [2020-11-16T16:22:22.530Z] Running ssh-add (command line suppressed) [2020-11-16T16:22:22.735Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4422660669540859134.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4422660669540859134.key) [2020-11-16T16:22:22.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:22:23.237Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T16:22:23.269Z] $ docker exec --env ******** --env ******** f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent -k [2020-11-16T16:22:23.430Z] unset SSH_AUTH_SOCK; [2020-11-16T16:22:23.430Z] unset SSH_AGENT_PID; [2020-11-16T16:22:23.431Z] echo Agent pid 16 killed; [2020-11-16T16:22:23.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T16:22:23.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:22:23.648Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:22:23.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:22:23.880Z] $ docker exec f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent [2020-11-16T16:22:24.083Z] SSH_AUTH_SOCK=/tmp/ssh-N1BfLGQ9McW7/agent.44 [2020-11-16T16:22:24.083Z] SSH_AGENT_PID=50 [2020-11-16T16:22:24.092Z] Running ssh-add (command line suppressed) [2020-11-16T16:22:24.259Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3743535304369445830.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3743535304369445830.key) [2020-11-16T16:22:24.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:22:24.762Z] + git semver init [2020-11-16T16:22:24.763Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:22:24.763Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-11-16T16:22:24.763Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-11-16T16:22:24.763Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:22:24.763Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:22:24.763Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:22:24.763Z] # $SEMVER_BRANCH = master [2020-11-16T16:22:24.763Z] # $SEMVER_TEMP = /tmp/semver-538142230 [2020-11-16T16:22:24.763Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-16T16:22:26.245Z] # '/tmp/semver-538142230' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-11-16T16:22:26.245Z] # -> Force: false [2020-11-16T16:22:26.245Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-11-16T16:22:26.265Z] $ docker exec --env ******** --env ******** f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb ssh-agent -k [2020-11-16T16:22:26.419Z] unset SSH_AUTH_SOCK; [2020-11-16T16:22:26.420Z] unset SSH_AGENT_PID; [2020-11-16T16:22:26.420Z] echo Agent pid 50 killed; [2020-11-16T16:22:26.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:22:27.027Z] + git semver [Pipeline] } [2020-11-16T16:22:27.060Z] $ docker stop --time=1 f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb [2020-11-16T16:22:28.525Z] $ docker rm -f f7b2e32833f8bd2456f1810024034bf7ee08b34571383e0c137fb1baa91b1fdb [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:22:29.851Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T16:22:30.547Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T16:22:30.550Z] [edgeXSemver]: initialized semver on version 1.1.3-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-16T16:22:46.306Z] Still waiting to schedule task [2020-11-16T16:22:46.306Z] ‘prd-centos7-docker-4c-2g-12255’ is offline; ‘prd-centos7-docker-4c-2g-12261’ is offline; ‘prd-centos7-docker-4c-2g-12262’ is offline; ‘prd-centos7-docker-4c-2g-12263’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-16T16:22:46.309Z] Still waiting to schedule task [2020-11-16T16:22:46.309Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-16T16:24:03.178Z] Running on prd-centos7-docker-4c-2g-12267 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:24:03.231Z] Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout [2020-11-16T16:24:06.390Z] using credential edgex-jenkins-ssh [2020-11-16T16:24:06.490Z] Cloning the remote Git repository [2020-11-16T16:24:06.525Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:24:06.589Z] > git init /w/workspace/device-rest-go/26 # timeout=10 [2020-11-16T16:24:06.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:24:06.639Z] > git --version # timeout=10 [2020-11-16T16:24:06.645Z] > git --version # 'git version 2.16.5' [2020-11-16T16:24:06.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:06.682Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:08.024Z] Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) [2020-11-16T16:24:07.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T16:24:07.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:07.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T16:24:07.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:24:07.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:07.653Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:24:08.038Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:24:08.045Z] > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [2020-11-16T16:24:11.769Z] Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:24:12.430Z] provisioning config files... [2020-11-16T16:24:12.461Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config8906184490658317324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:24:13.180Z] ---> docker-login.sh [2020-11-16T16:24:13.180Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:24:13.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:13.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:13.706Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:13.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:13.706Z] [2020-11-16T16:24:13.706Z] Login Succeeded [2020-11-16T16:24:13.706Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:24:13.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:13.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:13.978Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:13.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:13.978Z] [2020-11-16T16:24:13.978Z] Login Succeeded [2020-11-16T16:24:13.978Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:24:13.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:13.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:13.978Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:13.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:13.978Z] [2020-11-16T16:24:13.978Z] Login Succeeded [2020-11-16T16:24:13.978Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:24:14.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:14.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:14.247Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:14.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:14.247Z] [2020-11-16T16:24:14.247Z] Login Succeeded [2020-11-16T16:24:14.247Z] docker.io [2020-11-16T16:24:14.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:14.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:14.822Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:14.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:14.822Z] [2020-11-16T16:24:14.822Z] Login Succeeded [2020-11-16T16:24:14.822Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:24:14.862Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:24:15.156Z] ========================================================= [2020-11-16T16:24:15.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T16:24:15.157Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:15.504Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-16T16:24:15.505Z] Sending build context to Docker daemon 79.87kB [2020-11-16T16:24:15.771Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T16:24:15.771Z] Step 2/10 : FROM ${BASE} [2020-11-16T16:24:15.771Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T16:24:15.771Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:24:15.771Z] ed8968b2872e: Pulling fs layer [2020-11-16T16:24:15.771Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T16:24:15.771Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T16:24:15.771Z] e73272ec9a57: Pulling fs layer [2020-11-16T16:24:15.771Z] 1e910a182e73: Pulling fs layer [2020-11-16T16:24:15.771Z] 4e634b169226: Pulling fs layer [2020-11-16T16:24:15.771Z] e871e8e8d7a9: Waiting [2020-11-16T16:24:15.771Z] e73272ec9a57: Waiting [2020-11-16T16:24:15.771Z] 1e910a182e73: Waiting [2020-11-16T16:24:15.771Z] 4e634b169226: Waiting [2020-11-16T16:24:15.771Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T16:24:15.771Z] a92cc7c5fd73: Download complete [2020-11-16T16:24:15.771Z] ed8968b2872e: Download complete [2020-11-16T16:24:15.771Z] e73272ec9a57: Download complete [2020-11-16T16:24:15.771Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:24:15.771Z] df20fa9351a1: Download complete [2020-11-16T16:24:16.035Z] 1e910a182e73: Verifying Checksum [2020-11-16T16:24:16.035Z] 1e910a182e73: Download complete [2020-11-16T16:24:16.035Z] df20fa9351a1: Pull complete [2020-11-16T16:24:16.298Z] ed8968b2872e: Pull complete [2020-11-16T16:24:16.298Z] a92cc7c5fd73: Pull complete [2020-11-16T16:24:17.698Z] 4e634b169226: Verifying Checksum [2020-11-16T16:24:17.698Z] 4e634b169226: Download complete [2020-11-16T16:24:18.286Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T16:24:18.286Z] e871e8e8d7a9: Download complete [2020-11-16T16:24:23.620Z] e871e8e8d7a9: Pull complete [2020-11-16T16:24:23.620Z] e73272ec9a57: Pull complete [2020-11-16T16:24:23.620Z] 1e910a182e73: Pull complete [2020-11-16T16:24:33.683Z] 4e634b169226: Pull complete [2020-11-16T16:24:33.684Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T16:24:33.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T16:24:33.684Z] ---> f7629b54cfaa [2020-11-16T16:24:33.684Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:24:33.684Z] ---> Running in 0f9dc90baf80 [2020-11-16T16:24:33.684Z] Removing intermediate container 0f9dc90baf80 [2020-11-16T16:24:33.684Z] ---> 2a869b92a44f [2020-11-16T16:24:33.684Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:24:33.684Z] ---> Running in 0e2e0f2fb829 [2020-11-16T16:24:33.684Z] Removing intermediate container 0e2e0f2fb829 [2020-11-16T16:24:33.684Z] ---> 57f4e368ba41 [2020-11-16T16:24:33.684Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T16:24:33.684Z] ---> Running in 2c2f9cf19853 [2020-11-16T16:24:33.684Z] Removing intermediate container 2c2f9cf19853 [2020-11-16T16:24:33.684Z] ---> 43c7936a39b2 [2020-11-16T16:24:33.684Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:24:33.684Z] ---> Running in 106c629be220 [2020-11-16T16:24:34.267Z] Removing intermediate container 106c629be220 [2020-11-16T16:24:34.267Z] ---> 8263cde55a52 [2020-11-16T16:24:34.267Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:24:34.267Z] ---> Running in 2fa37a083d3c [2020-11-16T16:24:35.231Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:24:35.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:24:36.395Z] OK: 166 MiB in 39 packages [2020-11-16T16:24:36.971Z] Removing intermediate container 2fa37a083d3c [2020-11-16T16:24:36.971Z] ---> 9f678dfc8423 [2020-11-16T16:24:36.971Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-16T16:24:36.971Z] ---> Running in f4090f20e146 [2020-11-16T16:24:36.971Z] Removing intermediate container f4090f20e146 [2020-11-16T16:24:36.971Z] ---> 52841a989523 [2020-11-16T16:24:36.971Z] Step 9/10 : COPY . . [2020-11-16T16:24:37.236Z] ---> 733f680c8a24 [2020-11-16T16:24:37.236Z] Step 10/10 : RUN go mod download [2020-11-16T16:24:37.501Z] ---> Running in ae5a2521e228 [2020-11-16T16:24:59.610Z] Removing intermediate container ae5a2521e228 [2020-11-16T16:24:59.610Z] ---> 868d79c0b60d [2020-11-16T16:24:59.610Z] Successfully built 868d79c0b60d [2020-11-16T16:24:59.610Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:59.945Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:24:59.945Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:00.112Z] prd-centos7-docker-4c-2g-12267 does not seem to be running inside a container [2020-11-16T16:25:00.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T16:25:01.116Z] $ docker top 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:25:01.734Z] + go version [2020-11-16T16:25:01.734Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T16:25:01.774Z] $ docker stop --time=1 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c [2020-11-16T16:25:03.143Z] $ docker rm -f 72ed86c31fc5ff9fbd6a9f92c14d241d398d83c6db393225094f4202f6a7b28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:03.938Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:25:03.938Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:04.056Z] prd-centos7-docker-4c-2g-12267 does not seem to be running inside a container [2020-11-16T16:25:04.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T16:25:04.816Z] $ docker top a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:25:05.361Z] + make test [2020-11-16T16:25:05.361Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-16T16:25:06.326Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-16T16:25:16.529Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-16T16:25:17.107Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.3% of statements [2020-11-16T16:25:17.107Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:25:19.076Z] gofmt -l . [2020-11-16T16:25:19.076Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:25:19.076Z] ./bin/test-go-mod-tidy.sh [2020-11-16T16:25:19.652Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-16T16:25:19.934Z] $ docker stop --time=1 a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f [2020-11-16T16:25:22.952Z] $ docker rm -f a323c038c6cb16bf175b412cd1f61253fc57c5ef4e4e001858f75d6e45348f2f [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:25:23.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:25:23.959Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-16T16:25:25.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:25:25.592Z] + ls -al . [2020-11-16T16:25:25.593Z] total 96 [2020-11-16T16:25:25.593Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 16:25 . [2020-11-16T16:25:25.593Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 16:24 .. [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 16 16:24 Attribution.txt [2020-11-16T16:25:25.593Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 16 16:24 bin [2020-11-16T16:25:25.593Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:24 cmd [2020-11-16T16:25:25.593Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 16 16:25 coverage.out [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 16 16:24 Dockerfile [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 16 16:24 Dockerfile.build [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 16:24 .dockerignore [2020-11-16T16:25:25.593Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 16 16:25 driver [2020-11-16T16:25:25.593Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 16:24 .git [2020-11-16T16:25:25.593Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 16:24 .github [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 16 16:24 .gitignore [2020-11-16T16:25:25.593Z] -rw-r--r--. 1 jenkins jenkins 267 Nov 16 16:25 go.mod [2020-11-16T16:25:25.593Z] -rw-r--r--. 1 jenkins jenkins 13790 Nov 16 16:25 go.sum [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 16:24 Jenkinsfile [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:24 LICENSE [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 16 16:24 Makefile [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 16 16:24 README.md [2020-11-16T16:25:25.593Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 16:24 snap [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 16:22 VERSION [2020-11-16T16:25:25.593Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 16:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:25.901Z] + 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=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=amd64 --label version=1.1.3-dev.10 . [2020-11-16T16:25:25.901Z] Sending build context to Docker daemon 91.65kB [2020-11-16T16:25:25.901Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-16T16:25:25.901Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-16T16:25:25.901Z] ---> 868d79c0b60d [2020-11-16T16:25:25.901Z] Step 3/25 : ARG MAKE='make build' [2020-11-16T16:25:26.165Z] ---> Running in 466e39330aec [2020-11-16T16:25:26.165Z] Removing intermediate container 466e39330aec [2020-11-16T16:25:26.165Z] ---> 76ed5a1d2aeb [2020-11-16T16:25:26.165Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:25:26.430Z] ---> Running in 6f571d61e1c5 [2020-11-16T16:25:26.430Z] Removing intermediate container 6f571d61e1c5 [2020-11-16T16:25:26.430Z] ---> 7d37f50d656c [2020-11-16T16:25:26.430Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:25:26.430Z] ---> Running in dc228ffd6740 [2020-11-16T16:25:26.696Z] Removing intermediate container dc228ffd6740 [2020-11-16T16:25:26.696Z] ---> 69fe033f56e8 [2020-11-16T16:25:26.696Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:25:26.696Z] ---> Running in 4d6c1c14fe6a [2020-11-16T16:25:27.648Z] Removing intermediate container 4d6c1c14fe6a [2020-11-16T16:25:27.648Z] ---> 0b8d58e64050 [2020-11-16T16:25:27.648Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:25:27.648Z] ---> Running in d4058bfca0e8 [2020-11-16T16:25:28.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:25:29.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:25:29.459Z] OK: 166 MiB in 39 packages [2020-11-16T16:25:30.042Z] Removing intermediate container d4058bfca0e8 [2020-11-16T16:25:30.042Z] ---> 5f3918ccefd8 [2020-11-16T16:25:30.042Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-16T16:25:30.042Z] ---> Running in 97ae8b997bb3 [2020-11-16T16:25:30.315Z] Removing intermediate container 97ae8b997bb3 [2020-11-16T16:25:30.315Z] ---> 7ec30d6406e3 [2020-11-16T16:25:30.315Z] Step 9/25 : COPY go.mod . [2020-11-16T16:25:30.315Z] ---> 8ca9ca020421 [2020-11-16T16:25:30.315Z] Step 10/25 : COPY Makefile . [2020-11-16T16:25:30.586Z] ---> eb4e2a454cd8 [2020-11-16T16:25:30.586Z] Step 11/25 : RUN make update [2020-11-16T16:25:30.854Z] ---> Running in c5bc0c347f64 [2020-11-16T16:25:31.434Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T16:25:31.700Z] Removing intermediate container c5bc0c347f64 [2020-11-16T16:25:31.700Z] ---> 67d4656b384f [2020-11-16T16:25:31.700Z] Step 12/25 : COPY . . [2020-11-16T16:25:32.281Z] ---> 6df3620a8e48 [2020-11-16T16:25:32.281Z] Step 13/25 : RUN $MAKE [2020-11-16T16:25:32.281Z] ---> Running in cdc421e6c64e [2020-11-16T16:25:32.557Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.10" -o cmd/device-rest-go ./cmd [2020-11-16T16:25:44.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12271 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:25:44.182Z] Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout [2020-11-16T16:25:45.305Z] Removing intermediate container cdc421e6c64e [2020-11-16T16:25:45.305Z] ---> ab9aada452c5 [2020-11-16T16:25:45.305Z] Step 14/25 : FROM alpine:latest [2020-11-16T16:25:45.305Z] latest: Pulling from library/alpine [2020-11-16T16:25:45.306Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:25:45.306Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T16:25:45.306Z] 188c0c94c7c5: Download complete [2020-11-16T16:25:45.306Z] 188c0c94c7c5: Pull complete [2020-11-16T16:25:45.306Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:25:45.306Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:25:45.306Z] ---> d6e46aa2470d [2020-11-16T16:25:45.306Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T16:25:45.306Z] ---> Running in 5ac641cf20b9 [2020-11-16T16:25:45.306Z] Removing intermediate container 5ac641cf20b9 [2020-11-16T16:25:45.306Z] ---> ecb2f5e629cb [2020-11-16T16:25:45.306Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-16T16:25:45.306Z] ---> Running in a750c608d581 [2020-11-16T16:25:45.306Z] Removing intermediate container a750c608d581 [2020-11-16T16:25:45.306Z] ---> 466dfb53be47 [2020-11-16T16:25:45.306Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-16T16:25:45.569Z] ---> 73da393775e0 [2020-11-16T16:25:45.570Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-16T16:25:45.841Z] ---> 3060306e32b5 [2020-11-16T16:25:45.841Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-16T16:25:46.421Z] ---> 3e7235d617b4 [2020-11-16T16:25:46.421Z] Step 20/25 : EXPOSE 49986 [2020-11-16T16:25:46.421Z] ---> Running in aa36644969a9 [2020-11-16T16:25:46.688Z] Removing intermediate container aa36644969a9 [2020-11-16T16:25:46.688Z] ---> 02c0fb04b6a7 [2020-11-16T16:25:46.688Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-16T16:25:46.688Z] ---> Running in 0c775a815327 [2020-11-16T16:25:46.688Z] Removing intermediate container 0c775a815327 [2020-11-16T16:25:46.688Z] ---> 6db579eadb4f [2020-11-16T16:25:46.688Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T16:25:46.969Z] ---> Running in e2dff5e4ee67 [2020-11-16T16:25:46.969Z] Removing intermediate container e2dff5e4ee67 [2020-11-16T16:25:46.969Z] ---> 28ae2b3051ad [2020-11-16T16:25:46.969Z] Step 23/25 : LABEL arch=amd64 [2020-11-16T16:25:47.252Z] ---> Running in c1ae35edaece [2020-11-16T16:25:47.252Z] Removing intermediate container c1ae35edaece [2020-11-16T16:25:47.252Z] ---> 75bc1293415f [2020-11-16T16:25:47.252Z] Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:25:47.252Z] ---> Running in 0d807e2531ea [2020-11-16T16:25:47.513Z] Removing intermediate container 0d807e2531ea [2020-11-16T16:25:47.513Z] ---> ba2a38bc0fbf [2020-11-16T16:25:47.513Z] Step 25/25 : LABEL version=1.1.3-dev.10 [2020-11-16T16:25:47.513Z] ---> Running in 253ae32e1f39 [2020-11-16T16:25:47.776Z] Removing intermediate container 253ae32e1f39 [2020-11-16T16:25:47.776Z] ---> 67ab425f5d6a [2020-11-16T16:25:47.776Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:25:47.776Z] Successfully built 67ab425f5d6a [2020-11-16T16:25:47.776Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:25:48.165Z] provisioning config files... [2020-11-16T16:25:48.195Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config7391211054534008577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:25:48.591Z] ---> docker-login.sh [2020-11-16T16:25:48.591Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:25:48.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:48.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:48.855Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:48.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:48.855Z] [2020-11-16T16:25:48.855Z] Login Succeeded [2020-11-16T16:25:48.855Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:25:48.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:49.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:49.119Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:49.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:49.119Z] [2020-11-16T16:25:49.119Z] Login Succeeded [2020-11-16T16:25:49.119Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:25:49.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:49.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:49.119Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:49.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:49.119Z] [2020-11-16T16:25:49.119Z] Login Succeeded [2020-11-16T16:25:49.119Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:25:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:49.386Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:49.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:49.386Z] [2020-11-16T16:25:49.386Z] Login Succeeded [2020-11-16T16:25:49.386Z] docker.io [2020-11-16T16:25:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:49.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:49.662Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:49.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:49.663Z] [2020-11-16T16:25:49.663Z] Login Succeeded [2020-11-16T16:25:49.663Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:25:49.675Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:25:49.899Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-11-16T16:25:49.899Z] cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:25:49.899Z] latest [2020-11-16T16:25:49.899Z] 1.1.3-dev.10 [2020-11-16T16:25:49.899Z] cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:25:49.899Z] master [2020-11-16T16:25:49.899Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:50.321Z] using credential edgex-jenkins-ssh [2020-11-16T16:25:50.395Z] Cloning the remote Git repository [2020-11-16T16:25:50.452Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:50.755Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:25:50.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-11-16T16:25:50.755Z] 8564467f6915: Preparing [2020-11-16T16:25:50.755Z] dc3972039bf3: Preparing [2020-11-16T16:25:50.755Z] 94c4d9e7f738: Preparing [2020-11-16T16:25:50.755Z] ace0eda3e3be: Preparing [2020-11-16T16:25:50.755Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:50.494Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:25:50.621Z] > git init /w/workspace/device-rest-go/26 # timeout=10 [2020-11-16T16:25:50.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:25:50.709Z] > git --version # timeout=10 [2020-11-16T16:25:50.733Z] > git --version # 'git version 2.17.1' [2020-11-16T16:25:50.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:51.027Z] dc3972039bf3: Pushed [2020-11-16T16:25:51.027Z] 94c4d9e7f738: Pushed [2020-11-16T16:25:50.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:52.443Z] 8564467f6915: Pushed [2020-11-16T16:25:52.709Z] cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:53.029Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:53.338Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-11-16T16:25:53.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-11-16T16:25:53.338Z] 8564467f6915: Preparing [2020-11-16T16:25:53.338Z] dc3972039bf3: Preparing [2020-11-16T16:25:53.338Z] 94c4d9e7f738: Preparing [2020-11-16T16:25:53.338Z] ace0eda3e3be: Preparing [2020-11-16T16:25:53.338Z] 8564467f6915: Layer already exists [2020-11-16T16:25:53.338Z] 94c4d9e7f738: Layer already exists [2020-11-16T16:25:53.338Z] dc3972039bf3: Layer already exists [2020-11-16T16:25:53.338Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:53.338Z] latest: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:53.648Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:53.964Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 [2020-11-16T16:25:53.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-11-16T16:25:53.964Z] 8564467f6915: Preparing [2020-11-16T16:25:53.964Z] dc3972039bf3: Preparing [2020-11-16T16:25:53.964Z] 94c4d9e7f738: Preparing [2020-11-16T16:25:53.964Z] ace0eda3e3be: Preparing [2020-11-16T16:25:53.964Z] 8564467f6915: Layer already exists [2020-11-16T16:25:53.964Z] 94c4d9e7f738: Layer already exists [2020-11-16T16:25:53.964Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:53.964Z] dc3972039bf3: Layer already exists [2020-11-16T16:25:53.964Z] 1.1.3-dev.10: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:54.292Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:54.599Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:25:54.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-11-16T16:25:54.600Z] 8564467f6915: Preparing [2020-11-16T16:25:54.600Z] dc3972039bf3: Preparing [2020-11-16T16:25:54.600Z] 94c4d9e7f738: Preparing [2020-11-16T16:25:54.600Z] ace0eda3e3be: Preparing [2020-11-16T16:25:54.600Z] dc3972039bf3: Layer already exists [2020-11-16T16:25:54.600Z] 8564467f6915: Layer already exists [2020-11-16T16:25:54.600Z] 94c4d9e7f738: Layer already exists [2020-11-16T16:25:54.600Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:54.600Z] cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:54.907Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:55.209Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-11-16T16:25:55.209Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-11-16T16:25:55.209Z] 8564467f6915: Preparing [2020-11-16T16:25:55.209Z] dc3972039bf3: Preparing [2020-11-16T16:25:55.209Z] 94c4d9e7f738: Preparing [2020-11-16T16:25:55.209Z] ace0eda3e3be: Preparing [2020-11-16T16:25:55.209Z] 94c4d9e7f738: Layer already exists [2020-11-16T16:25:55.209Z] dc3972039bf3: Layer already exists [2020-11-16T16:25:55.209Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:55.209Z] 8564467f6915: Layer already exists [2020-11-16T16:25:55.209Z] master: digest: sha256:85c2b05b4bc8388002b52a657ddc255ef09fc2cb0af54aee1d769c79be172ddc size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:25:55.431Z] ===================================================== [Pipeline] echo [2020-11-16T16:25:55.480Z] taggedImages: [2020-11-16T16:25:55.480Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:25:55.480Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-11-16T16:25:55.480Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.10 [2020-11-16T16:25:55.480Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:25:55.480Z] - 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] } [2020-11-16T16:25:56.079Z] Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-11-16T16:25:55.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T16:25:55.540Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:55.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T16:25:55.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T16:25:55.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:55.625Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:25:56.102Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:25:56.117Z] > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-16T16:26:00.772Z] Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:26:01.457Z] provisioning config files... [2020-11-16T16:26:01.501Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config9063952222706213804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:26:02.619Z] ---> docker-login.sh [2020-11-16T16:26:02.619Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:26:03.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:26:03.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:26:03.905Z] Configure a credential helper to remove this warning. See [2020-11-16T16:26:03.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:26:03.906Z] [2020-11-16T16:26:03.906Z] Login Succeeded [2020-11-16T16:26:03.906Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:26:04.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:26:04.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:26:04.512Z] Configure a credential helper to remove this warning. See [2020-11-16T16:26:04.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:26:04.512Z] [2020-11-16T16:26:04.512Z] Login Succeeded [2020-11-16T16:26:04.512Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:26:05.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:26:05.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:26:05.122Z] Configure a credential helper to remove this warning. See [2020-11-16T16:26:05.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:26:05.122Z] [2020-11-16T16:26:05.122Z] Login Succeeded [2020-11-16T16:26:05.122Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:26:05.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:26:05.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:26:05.776Z] Configure a credential helper to remove this warning. See [2020-11-16T16:26:05.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:26:05.776Z] [2020-11-16T16:26:05.776Z] Login Succeeded [2020-11-16T16:26:05.776Z] docker.io [2020-11-16T16:26:06.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:26:06.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:26:06.652Z] Configure a credential helper to remove this warning. See [2020-11-16T16:26:06.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:26:06.652Z] [2020-11-16T16:26:06.652Z] Login Succeeded [2020-11-16T16:26:06.652Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:26:06.735Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:26:07.262Z] ========================================================= [2020-11-16T16:26:07.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T16:26:07.262Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:07.685Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-16T16:26:07.685Z] Sending build context to Docker daemon 79.87kB [2020-11-16T16:26:07.962Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T16:26:07.962Z] Step 2/10 : FROM ${BASE} [2020-11-16T16:26:07.962Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T16:26:08.239Z] b538f80385f9: Pulling fs layer [2020-11-16T16:26:08.239Z] 74f711af9a0d: Pulling fs layer [2020-11-16T16:26:08.239Z] 99f96fe45779: Pulling fs layer [2020-11-16T16:26:08.239Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T16:26:08.239Z] 45590311c82a: Pulling fs layer [2020-11-16T16:26:08.239Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T16:26:08.239Z] 209524e5b208: Pulling fs layer [2020-11-16T16:26:08.239Z] 45590311c82a: Waiting [2020-11-16T16:26:08.239Z] 8529a6b9a6be: Waiting [2020-11-16T16:26:08.239Z] 69ca0ff8b7b3: Waiting [2020-11-16T16:26:08.239Z] 209524e5b208: Waiting [2020-11-16T16:26:08.239Z] 99f96fe45779: Verifying Checksum [2020-11-16T16:26:08.239Z] 99f96fe45779: Download complete [2020-11-16T16:26:08.239Z] 74f711af9a0d: Verifying Checksum [2020-11-16T16:26:08.239Z] 74f711af9a0d: Download complete [2020-11-16T16:26:08.239Z] 45590311c82a: Download complete [2020-11-16T16:26:08.239Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T16:26:08.239Z] 69ca0ff8b7b3: Download complete [2020-11-16T16:26:08.239Z] b538f80385f9: Verifying Checksum [2020-11-16T16:26:08.239Z] b538f80385f9: Download complete [2020-11-16T16:26:09.234Z] b538f80385f9: Pull complete [2020-11-16T16:26:09.510Z] 74f711af9a0d: Pull complete [2020-11-16T16:26:10.111Z] 99f96fe45779: Pull complete [2020-11-16T16:26:10.111Z] 209524e5b208: Download complete [2020-11-16T16:26:12.091Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T16:26:12.091Z] 8529a6b9a6be: Download complete [2020-11-16T16:26:22.288Z] 8529a6b9a6be: Pull complete [2020-11-16T16:26:22.289Z] 45590311c82a: Pull complete [2020-11-16T16:26:22.564Z] 69ca0ff8b7b3: Pull complete [2020-11-16T16:26:26.904Z] 209524e5b208: Pull complete [2020-11-16T16:26:26.904Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T16:26:26.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T16:26:26.904Z] ---> 5bddaf1c2fca [2020-11-16T16:26:26.904Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:26:29.556Z] ---> Running in ef93c8474d83 [2020-11-16T16:26:30.161Z] Removing intermediate container ef93c8474d83 [2020-11-16T16:26:30.161Z] ---> a45db3267b3e [2020-11-16T16:26:30.161Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:26:30.446Z] ---> Running in 791015d883a0 [2020-11-16T16:26:30.726Z] Removing intermediate container 791015d883a0 [2020-11-16T16:26:30.726Z] ---> edd868886e39 [2020-11-16T16:26:30.726Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T16:26:31.327Z] ---> Running in 1f72eaa6fb97 [2020-11-16T16:26:31.606Z] Removing intermediate container 1f72eaa6fb97 [2020-11-16T16:26:31.606Z] ---> 9281b8cea8df [2020-11-16T16:26:31.606Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:26:31.881Z] ---> Running in e6711c8d33ac [2020-11-16T16:26:35.312Z] Removing intermediate container e6711c8d33ac [2020-11-16T16:26:35.312Z] ---> 8a06b48870b9 [2020-11-16T16:26:35.312Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:26:35.312Z] ---> Running in 0602d8b3fed2 [2020-11-16T16:26:36.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:26:37.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:26:39.204Z] OK: 142 MiB in 39 packages [2020-11-16T16:26:40.651Z] Removing intermediate container 0602d8b3fed2 [2020-11-16T16:26:40.651Z] ---> 696eaeb36442 [2020-11-16T16:26:40.651Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-16T16:26:40.651Z] ---> Running in 4bfc379529a6 [2020-11-16T16:26:41.249Z] Removing intermediate container 4bfc379529a6 [2020-11-16T16:26:41.249Z] ---> f460a56114ba [2020-11-16T16:26:41.249Z] Step 9/10 : COPY . . [2020-11-16T16:26:41.849Z] ---> 80da6431a358 [2020-11-16T16:26:41.849Z] Step 10/10 : RUN go mod download [2020-11-16T16:26:42.127Z] ---> Running in 733cfe277d73 [2020-11-16T16:27:09.025Z] Removing intermediate container 733cfe277d73 [2020-11-16T16:27:09.025Z] ---> ddcace7a7f02 [2020-11-16T16:27:09.025Z] Successfully built ddcace7a7f02 [2020-11-16T16:27:09.025Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:09.389Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:27:09.389Z] . [Pipeline] withDockerContainer [2020-11-16T16:27:09.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-12271 does not seem to be running inside a container [2020-11-16T16:27:09.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T16:27:11.954Z] $ docker top 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:27:13.465Z] + go version [2020-11-16T16:27:13.465Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T16:27:13.509Z] $ docker stop --time=1 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 [2020-11-16T16:27:15.571Z] $ docker rm -f 545a556100c2613448eff2082d5c6b2c61b3ede1dcf4e914dadf32bf27425573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:16.680Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:27:16.680Z] . [Pipeline] withDockerContainer [2020-11-16T16:27:17.026Z] prd-ubuntu18.04-docker-arm64-4c-16g-12271 does not seem to be running inside a container [2020-11-16T16:27:17.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T16:27:19.359Z] $ docker top c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:27:20.912Z] + make test [2020-11-16T16:27:20.912Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-16T16:27:22.388Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-16T16:28:02.307Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-16T16:28:02.307Z] ok github.com/edgexfoundry/device-rest-go/driver 0.152s coverage: 56.3% of statements [2020-11-16T16:28:02.307Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:28:09.051Z] gofmt -l . [2020-11-16T16:28:09.051Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:28:09.051Z] ./bin/test-go-mod-tidy.sh [2020-11-16T16:28:09.051Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-16T16:28:09.358Z] $ docker stop --time=1 c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f [2020-11-16T16:28:11.674Z] $ docker rm -f c73bdc39881e6a7b0988c088e2a0a77f1d618556c05670bf39484237edfd6c0f [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:28:12.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:28:12.662Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T16:28:13.553Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:28:14.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:28:14.611Z] + ls -al . [2020-11-16T16:28:14.611Z] total 124 [2020-11-16T16:28:14.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:28 . [2020-11-16T16:28:14.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:25 .. [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 16:25 .dockerignore [2020-11-16T16:28:14.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:26 .git [2020-11-16T16:28:14.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 .github [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 16 16:25 .gitignore [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 16 16:25 Attribution.txt [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 16 16:25 Dockerfile [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 16 16:25 Dockerfile.build [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 16:25 Jenkinsfile [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:25 LICENSE [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 16 16:25 Makefile [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 16 16:25 README.md [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 16:22 VERSION [2020-11-16T16:28:14.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 bin [2020-11-16T16:28:14.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:25 cmd [2020-11-16T16:28:14.611Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 16 16:28 coverage.out [2020-11-16T16:28:14.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:28 driver [2020-11-16T16:28:14.611Z] -rw-r--r-- 1 jenkins jenkins 267 Nov 16 16:28 go.mod [2020-11-16T16:28:14.611Z] -rw-r--r-- 1 jenkins jenkins 13790 Nov 16 16:28 go.sum [2020-11-16T16:28:14.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:25 snap [2020-11-16T16:28:14.611Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 16:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:15.071Z] + 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=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=arm64 --label version=1.1.3-dev.10 . [2020-11-16T16:28:15.071Z] Sending build context to Docker daemon 91.65kB [2020-11-16T16:28:15.350Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-16T16:28:15.350Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-16T16:28:15.350Z] ---> ddcace7a7f02 [2020-11-16T16:28:15.350Z] Step 3/25 : ARG MAKE='make build' [2020-11-16T16:28:15.640Z] ---> Running in d630cac91aa2 [2020-11-16T16:28:16.259Z] Removing intermediate container d630cac91aa2 [2020-11-16T16:28:16.259Z] ---> 624289f2f73c [2020-11-16T16:28:16.259Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:28:16.259Z] ---> Running in 7ebe4510f9bb [2020-11-16T16:28:16.854Z] Removing intermediate container 7ebe4510f9bb [2020-11-16T16:28:16.854Z] ---> 6223fd7f6f06 [2020-11-16T16:28:16.854Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:28:17.127Z] ---> Running in 1888f2524985 [2020-11-16T16:28:17.400Z] Removing intermediate container 1888f2524985 [2020-11-16T16:28:17.400Z] ---> 7005799a60e2 [2020-11-16T16:28:17.400Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:28:17.674Z] ---> Running in 81dcb5e46e74 [2020-11-16T16:28:20.292Z] Removing intermediate container 81dcb5e46e74 [2020-11-16T16:28:20.292Z] ---> d6d0912d3406 [2020-11-16T16:28:20.292Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:28:20.292Z] ---> Running in ad699ad00d55 [2020-11-16T16:28:22.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:28:22.866Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:28:23.465Z] OK: 142 MiB in 39 packages [2020-11-16T16:28:24.907Z] Removing intermediate container ad699ad00d55 [2020-11-16T16:28:24.907Z] ---> 64fe1701fb4d [2020-11-16T16:28:24.907Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-16T16:28:24.907Z] ---> Running in 2dff0fa1cb0b [2020-11-16T16:28:25.510Z] Removing intermediate container 2dff0fa1cb0b [2020-11-16T16:28:25.510Z] ---> c90495cab202 [2020-11-16T16:28:25.510Z] Step 9/25 : COPY go.mod . [2020-11-16T16:28:26.113Z] ---> f4a660329235 [2020-11-16T16:28:26.113Z] Step 10/25 : COPY Makefile . [2020-11-16T16:28:27.100Z] ---> 6c7ad01bd2f0 [2020-11-16T16:28:27.100Z] Step 11/25 : RUN make update [2020-11-16T16:28:27.100Z] ---> Running in a440f43c4a12 [2020-11-16T16:28:28.539Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T16:28:29.973Z] Removing intermediate container a440f43c4a12 [2020-11-16T16:28:29.973Z] ---> 229ebedc30e8 [2020-11-16T16:28:29.973Z] Step 12/25 : COPY . . [2020-11-16T16:28:30.956Z] ---> 6c93d61d0b0e [2020-11-16T16:28:30.956Z] Step 13/25 : RUN $MAKE [2020-11-16T16:28:30.956Z] ---> Running in 5c7fa4212297 [2020-11-16T16:28:32.403Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.10" -o cmd/device-rest-go ./cmd [2020-11-16T16:29:04.783Z] Removing intermediate container 5c7fa4212297 [2020-11-16T16:29:04.783Z] ---> 834609b36efe [2020-11-16T16:29:04.783Z] Step 14/25 : FROM alpine:latest [2020-11-16T16:29:04.783Z] latest: Pulling from library/alpine [2020-11-16T16:29:04.783Z] 5f621e34cdf4: Pulling fs layer [2020-11-16T16:29:04.783Z] 5f621e34cdf4: Verifying Checksum [2020-11-16T16:29:04.783Z] 5f621e34cdf4: Download complete [2020-11-16T16:29:04.783Z] 5f621e34cdf4: Pull complete [2020-11-16T16:29:04.783Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:29:04.783Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:29:04.783Z] ---> 2e77e061c27f [2020-11-16T16:29:04.783Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T16:29:04.783Z] ---> Running in 628b86569f91 [2020-11-16T16:29:04.783Z] Removing intermediate container 628b86569f91 [2020-11-16T16:29:04.783Z] ---> 156e97bb671f [2020-11-16T16:29:04.783Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-16T16:29:04.783Z] ---> Running in 3387c056a2b7 [2020-11-16T16:29:04.783Z] Removing intermediate container 3387c056a2b7 [2020-11-16T16:29:04.783Z] ---> dae7e2468685 [2020-11-16T16:29:04.783Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-16T16:29:04.783Z] ---> 7c57300a619f [2020-11-16T16:29:04.783Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-16T16:29:05.401Z] ---> 44db03dc7ebd [2020-11-16T16:29:05.401Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-16T16:29:06.858Z] ---> e4d85c8790e1 [2020-11-16T16:29:06.858Z] Step 20/25 : EXPOSE 49986 [2020-11-16T16:29:06.858Z] ---> Running in c8d5e661793f [2020-11-16T16:29:07.454Z] Removing intermediate container c8d5e661793f [2020-11-16T16:29:07.454Z] ---> 0e8238f5e0fb [2020-11-16T16:29:07.454Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-16T16:29:07.454Z] ---> Running in 93998f57acb2 [2020-11-16T16:29:08.054Z] Removing intermediate container 93998f57acb2 [2020-11-16T16:29:08.054Z] ---> 98a5ced23835 [2020-11-16T16:29:08.054Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T16:29:08.054Z] ---> Running in 8b9da929b0ad [2020-11-16T16:29:08.651Z] Removing intermediate container 8b9da929b0ad [2020-11-16T16:29:08.651Z] ---> 89d3968330ea [2020-11-16T16:29:08.651Z] Step 23/25 : LABEL arch=arm64 [2020-11-16T16:29:08.651Z] ---> Running in 52aa54e981c9 [2020-11-16T16:29:09.247Z] Removing intermediate container 52aa54e981c9 [2020-11-16T16:29:09.247Z] ---> 395eae5d61eb [2020-11-16T16:29:09.247Z] Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:29:09.247Z] ---> Running in df06c04e4ba9 [2020-11-16T16:29:09.844Z] Removing intermediate container df06c04e4ba9 [2020-11-16T16:29:09.844Z] ---> fd528ea01faf [2020-11-16T16:29:09.844Z] Step 25/25 : LABEL version=1.1.3-dev.10 [2020-11-16T16:29:09.844Z] ---> Running in 6c3dd15730d5 [2020-11-16T16:29:10.439Z] Removing intermediate container 6c3dd15730d5 [2020-11-16T16:29:10.439Z] ---> a7a9ecaf75f7 [2020-11-16T16:29:10.439Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:29:10.439Z] Successfully built a7a9ecaf75f7 [2020-11-16T16:29:10.439Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:29:10.937Z] provisioning config files... [2020-11-16T16:29:10.976Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config4052245664845188414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:29:11.365Z] ---> docker-login.sh [2020-11-16T16:29:11.365Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:29:11.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:11.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:11.910Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:11.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:11.910Z] [2020-11-16T16:29:11.910Z] Login Succeeded [2020-11-16T16:29:11.910Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:29:12.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:12.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:12.462Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:12.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:12.462Z] [2020-11-16T16:29:12.462Z] Login Succeeded [2020-11-16T16:29:12.462Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:29:13.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:13.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:13.060Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:13.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:13.060Z] [2020-11-16T16:29:13.060Z] Login Succeeded [2020-11-16T16:29:13.060Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:29:13.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:13.606Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:13.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:13.606Z] [2020-11-16T16:29:13.606Z] Login Succeeded [2020-11-16T16:29:13.606Z] docker.io [2020-11-16T16:29:14.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:14.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:14.473Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:14.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:14.473Z] [2020-11-16T16:29:14.473Z] Login Succeeded [2020-11-16T16:29:14.473Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:29:14.492Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:29:14.687Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-11-16T16:29:14.687Z] cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:29:14.687Z] latest [2020-11-16T16:29:14.687Z] 1.1.3-dev.10 [2020-11-16T16:29:14.687Z] cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:29:14.687Z] master [2020-11-16T16:29:14.687Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:15.276Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:15.621Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:29:15.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-11-16T16:29:15.621Z] 24b0d7134b7e: Preparing [2020-11-16T16:29:15.621Z] 7edffebeeac4: Preparing [2020-11-16T16:29:15.621Z] aa4f4ccee7a4: Preparing [2020-11-16T16:29:15.621Z] cd3761cfa1d9: Preparing [2020-11-16T16:29:15.905Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:29:15.905Z] 7edffebeeac4: Pushed [2020-11-16T16:29:15.905Z] aa4f4ccee7a4: Pushed [2020-11-16T16:29:18.521Z] 24b0d7134b7e: Pushed [2020-11-16T16:29:18.793Z] cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:19.137Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:19.474Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-11-16T16:29:19.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-11-16T16:29:19.474Z] 24b0d7134b7e: Preparing [2020-11-16T16:29:19.474Z] 7edffebeeac4: Preparing [2020-11-16T16:29:19.474Z] aa4f4ccee7a4: Preparing [2020-11-16T16:29:19.474Z] cd3761cfa1d9: Preparing [2020-11-16T16:29:19.748Z] 7edffebeeac4: Layer already exists [2020-11-16T16:29:19.748Z] 24b0d7134b7e: Layer already exists [2020-11-16T16:29:19.748Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:29:19.748Z] aa4f4ccee7a4: Layer already exists [2020-11-16T16:29:19.748Z] latest: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:20.113Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:20.456Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 [2020-11-16T16:29:20.456Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-11-16T16:29:20.456Z] 24b0d7134b7e: Preparing [2020-11-16T16:29:20.456Z] 7edffebeeac4: Preparing [2020-11-16T16:29:20.456Z] aa4f4ccee7a4: Preparing [2020-11-16T16:29:20.456Z] cd3761cfa1d9: Preparing [2020-11-16T16:29:20.732Z] aa4f4ccee7a4: Layer already exists [2020-11-16T16:29:20.732Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:29:20.732Z] 7edffebeeac4: Layer already exists [2020-11-16T16:29:20.732Z] 24b0d7134b7e: Layer already exists [2020-11-16T16:29:20.732Z] 1.1.3-dev.10: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:21.083Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:21.425Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:29:21.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-11-16T16:29:21.425Z] 24b0d7134b7e: Preparing [2020-11-16T16:29:21.425Z] 7edffebeeac4: Preparing [2020-11-16T16:29:21.425Z] aa4f4ccee7a4: Preparing [2020-11-16T16:29:21.425Z] cd3761cfa1d9: Preparing [2020-11-16T16:29:21.702Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:29:21.702Z] 7edffebeeac4: Layer already exists [2020-11-16T16:29:21.702Z] aa4f4ccee7a4: Layer already exists [2020-11-16T16:29:21.702Z] 24b0d7134b7e: Layer already exists [2020-11-16T16:29:21.702Z] cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:22.046Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:22.384Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-11-16T16:29:22.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-11-16T16:29:22.384Z] 24b0d7134b7e: Preparing [2020-11-16T16:29:22.384Z] 7edffebeeac4: Preparing [2020-11-16T16:29:22.384Z] aa4f4ccee7a4: Preparing [2020-11-16T16:29:22.384Z] cd3761cfa1d9: Preparing [2020-11-16T16:29:22.384Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:29:22.384Z] aa4f4ccee7a4: Layer already exists [2020-11-16T16:29:22.384Z] 7edffebeeac4: Layer already exists [2020-11-16T16:29:22.384Z] 24b0d7134b7e: Layer already exists [2020-11-16T16:29:22.658Z] master: digest: sha256:a3c15e10914c2ba05d774ad95b9c1fa176b3727e79dad83224c4911cf83edf42 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:29:22.902Z] ===================================================== [Pipeline] echo [2020-11-16T16:29:22.950Z] taggedImages: [2020-11-16T16:29:22.950Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 [2020-11-16T16:29:22.950Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-11-16T16:29:22.950Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.10 [2020-11-16T16:29:22.950Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.1.3-dev.10 [2020-11-16T16:29:22.950Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-16T16:29:24.314Z] provisioning config files... [2020-11-16T16:29:24.324Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config347807762659207791tmp [Pipeline] { [Pipeline] sh [2020-11-16T16:29:24.719Z] + set +x [2020-11-16T16:29:24.719Z] + curl -s https://codecov.io/bash [2020-11-16T16:29:24.719Z] + bash -s -- [2020-11-16T16:29:24.984Z] [2020-11-16T16:29:24.984Z] _____ _ [2020-11-16T16:29:24.984Z] / ____| | | [2020-11-16T16:29:24.984Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T16:29:24.984Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T16:29:24.984Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T16:29:24.984Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T16:29:24.984Z] Bash-20201116-eea08d9 [2020-11-16T16:29:24.984Z] [2020-11-16T16:29:24.984Z] [2020-11-16T16:29:24.984Z] ==> Jenkins CI detected. [2020-11-16T16:29:24.984Z] project root: . [2020-11-16T16:29:24.984Z] --> token set from env [2020-11-16T16:29:24.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T16:29:24.984Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T16:29:24.984Z] ==> Python coveragepy not found [2020-11-16T16:29:24.984Z] ==> Searching for coverage reports in: [2020-11-16T16:29:24.984Z] + . [2020-11-16T16:29:24.984Z] -> Found 1 reports [2020-11-16T16:29:24.984Z] ==> Detecting git/mercurial file structure [2020-11-16T16:29:24.984Z] ==> Reading reports [2020-11-16T16:29:24.984Z] + ./coverage.out bytes=9369 [2020-11-16T16:29:24.984Z] ==> Appending adjustments [2020-11-16T16:29:24.984Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T16:29:25.253Z] + Found adjustments [2020-11-16T16:29:25.253Z] ==> Gzipping contents [2020-11-16T16:29:25.253Z] ==> Uploading reports [2020-11-16T16:29:25.253Z] url: https://codecov.io [2020-11-16T16:29:25.253Z] query: branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:29:25.253Z] -> Pinging Codecov [2020-11-16T16:29:25.253Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:29:25.838Z] -> Uploading to [2020-11-16T16:29:25.838Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/4E5D53B4F1F92C436F7061BF334D961C/cbc1fb126fca16d22f986b5cd5c305caa6710614/558aaad8-499f-4433-b97f-62508983c1b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T162925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c448af415e81f6773ca1e7f3104d502a668f350c7c929a6412b2b5d695d20b8 [2020-11-16T16:29:25.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T16:29:25.838Z] Dload Upload Total Spent Left Speed [2020-11-16T16:29:26.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4044 --:--:-- --:--:-- --:--:-- 4055 [2020-11-16T16:29:26.100Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] } [2020-11-16T16:29:26.110Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-16T16:29:26.549Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-16T16:29:26.648Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:27.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:29:27.608Z] [2020-11-16T16:29:27.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:28.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:29:28.011Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-16T16:29:28.011Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:29:28.011Z] 0ef7d3d256c8: Pulling fs layer [2020-11-16T16:29:28.011Z] de9db76c5a1d: Pulling fs layer [2020-11-16T16:29:28.011Z] 0eba1c9be4d2: Pulling fs layer [2020-11-16T16:29:28.011Z] 0d57e429df01: Pulling fs layer [2020-11-16T16:29:28.011Z] 4e4be7b47b0d: Pulling fs layer [2020-11-16T16:29:28.011Z] e1f770b5df2f: Pulling fs layer [2020-11-16T16:29:28.011Z] 85a0685a4137: Pulling fs layer [2020-11-16T16:29:28.011Z] 0d57e429df01: Waiting [2020-11-16T16:29:28.011Z] 4e4be7b47b0d: Waiting [2020-11-16T16:29:28.011Z] e1f770b5df2f: Waiting [2020-11-16T16:29:28.011Z] 85a0685a4137: Waiting [2020-11-16T16:29:28.011Z] 0eba1c9be4d2: Waiting [2020-11-16T16:29:28.011Z] de9db76c5a1d: Download complete [2020-11-16T16:29:28.011Z] 0ef7d3d256c8: Download complete [2020-11-16T16:29:28.011Z] 0d57e429df01: Verifying Checksum [2020-11-16T16:29:28.011Z] 0d57e429df01: Download complete [2020-11-16T16:29:28.011Z] 4e4be7b47b0d: Verifying Checksum [2020-11-16T16:29:28.011Z] 4e4be7b47b0d: Download complete [2020-11-16T16:29:28.302Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T16:29:28.302Z] 188c0c94c7c5: Download complete [2020-11-16T16:29:28.923Z] 188c0c94c7c5: Pull complete [2020-11-16T16:29:29.203Z] 0ef7d3d256c8: Pull complete [2020-11-16T16:29:29.480Z] de9db76c5a1d: Pull complete [2020-11-16T16:29:29.763Z] e1f770b5df2f: Verifying Checksum [2020-11-16T16:29:29.763Z] e1f770b5df2f: Download complete [2020-11-16T16:29:33.169Z] 0eba1c9be4d2: Verifying Checksum [2020-11-16T16:29:33.169Z] 0eba1c9be4d2: Download complete [2020-11-16T16:29:34.136Z] 85a0685a4137: Verifying Checksum [2020-11-16T16:29:34.136Z] 85a0685a4137: Download complete [2020-11-16T16:29:41.372Z] 0eba1c9be4d2: Pull complete [2020-11-16T16:29:41.637Z] 0d57e429df01: Pull complete [2020-11-16T16:29:41.906Z] 4e4be7b47b0d: Pull complete [2020-11-16T16:29:44.498Z] e1f770b5df2f: Pull complete [2020-11-16T16:29:52.745Z] 85a0685a4137: Pull complete [2020-11-16T16:29:52.745Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-16T16:29:52.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:29:52.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-16T16:29:53.008Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:29:53.079Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:29:54.283Z] $ docker top 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-16T16:29:54.623Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-16T16:29:54.978Z] + set -o pipefail [2020-11-16T16:29:54.978Z] + snyk monitor '--org=edgex-jenkins' [2020-11-16T16:30:03.231Z] [2020-11-16T16:30:03.231Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-11-16T16:30:03.231Z] [2020-11-16T16:30:03.231Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/1d2b505c-7311-429f-aac6-5450aa9576d7 [2020-11-16T16:30:03.231Z] [2020-11-16T16:30:03.231Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-16T16:30:03.231Z] [2020-11-16T16:30:03.231Z] [Pipeline] } [2020-11-16T16:30:03.262Z] $ docker stop --time=1 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 [2020-11-16T16:30:05.800Z] $ docker rm -f 92dd811397711c2519e21d0c4630a487668ccdc37f11757e682dfd24048cbe04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-16T16:30:06.845Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614, dockerFile=Dockerfile [Pipeline] echo [2020-11-16T16:30:06.847Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-16T16:30:07.176Z] + set -o pipefail [2020-11-16T16:30:07.176Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-16T16:30:07.176Z] + tee .snyk [2020-11-16T16:30:07.449Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-16T16:30:07.449Z] version: v1.14.1 [2020-11-16T16:30:07.449Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-16T16:30:07.449Z] # ignore: [2020-11-16T16:30:07.449Z] # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. [2020-11-16T16:30:07.449Z] # - '*': [2020-11-16T16:30:07.449Z] # reason: does not apply # justification for ignoring [2020-11-16T16:30:07.449Z] # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) [2020-11-16T16:30:07.449Z] # patch: {} [Pipeline] withCredentials [2020-11-16T16:30:07.535Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:07.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:30:07.901Z] . [Pipeline] withDockerContainer [2020-11-16T16:30:08.091Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:30:08.203Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:30:09.607Z] $ docker top 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:30:10.268Z] + rm -f snykReport.html [Pipeline] echo [2020-11-16T16:30:10.292Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-16T16:30:10.661Z] + set -o pipefail [2020-11-16T16:30:10.661Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-16T16:30:10.662Z] + snyk-to-html -o snykReport.html [2020-11-16T16:30:23.113Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-16T16:30:23.148Z] $ docker stop --time=1 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 [2020-11-16T16:30:24.747Z] $ docker rm -f 9f6482a09e7d678aaf9bb9600b4b4f76a1c6c6634a7d79ab14866b2e54603c62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-11-16T16:30:26.472Z] + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:26.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:30:26.817Z] . [Pipeline] withDockerContainer [2020-11-16T16:30:27.048Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:30:27.432Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:30:28.718Z] $ docker top ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:30:29.124Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:30:29.124Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:30:29.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:30:29.587Z] $ docker exec ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 ssh-agent [2020-11-16T16:30:30.335Z] SSH_AUTH_SOCK=/tmp/ssh-VS1c5VEVj92N/agent.13 [2020-11-16T16:30:30.335Z] SSH_AGENT_PID=18 [2020-11-16T16:30:30.349Z] Running ssh-add (command line suppressed) [2020-11-16T16:30:30.797Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7126425175864216257.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7126425175864216257.key) [2020-11-16T16:30:30.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:30:32.050Z] + git semver tag [2020-11-16T16:30:32.050Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:30:32.050Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-11-16T16:30:32.050Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-11-16T16:30:32.050Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:30:32.050Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:30:32.050Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:30:32.050Z] # $SEMVER_BRANCH = master [2020-11-16T16:30:32.050Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-11-16T16:30:32.050Z] # cbc1fb126fca16d22f986b5cd5c305caa6710614 HEAD [2020-11-16T16:30:32.050Z] # -> Force: false [2020-11-16T16:30:32.050Z] # 6abe38e4455ea273c9607bdca4314d907a757f11 refs/tags/v1.1.3-dev.10 [Pipeline] } [2020-11-16T16:30:32.075Z] $ docker exec --env ******** --env ******** ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 ssh-agent -k [2020-11-16T16:30:32.821Z] unset SSH_AUTH_SOCK; [2020-11-16T16:30:32.824Z] unset SSH_AGENT_PID; [2020-11-16T16:30:32.824Z] echo Agent pid 18 killed; [2020-11-16T16:30:33.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:30:33.903Z] + git semver [Pipeline] } [2020-11-16T16:30:33.934Z] $ docker stop --time=1 ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 [2020-11-16T16:30:35.625Z] $ docker rm -f ecc6673fedfed5bb9a2c8597dd853a6d209f6f6dfc744d79a055f5373e4d52a6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:36.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:30:36.280Z] [2020-11-16T16:30:36.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:36.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:30:36.743Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-16T16:30:36.743Z] ab5ef0e58194: Pulling fs layer [2020-11-16T16:30:36.743Z] 9712f1f96733: Pulling fs layer [2020-11-16T16:30:36.743Z] 63f879dbbcfc: Pulling fs layer [2020-11-16T16:30:36.743Z] 0d9ebad4ef96: Pulling fs layer [2020-11-16T16:30:36.743Z] e9a5061849ea: Pulling fs layer [2020-11-16T16:30:36.743Z] d747dcd14b5f: Pulling fs layer [2020-11-16T16:30:36.743Z] 2de7ff778b66: Pulling fs layer [2020-11-16T16:30:36.743Z] e9a5061849ea: Waiting [2020-11-16T16:30:36.743Z] d747dcd14b5f: Waiting [2020-11-16T16:30:36.743Z] 0d9ebad4ef96: Waiting [2020-11-16T16:30:36.743Z] 2de7ff778b66: Waiting [2020-11-16T16:30:36.743Z] 9712f1f96733: Verifying Checksum [2020-11-16T16:30:36.743Z] 9712f1f96733: Download complete [2020-11-16T16:30:39.455Z] 63f879dbbcfc: Verifying Checksum [2020-11-16T16:30:39.455Z] 63f879dbbcfc: Download complete [2020-11-16T16:30:40.083Z] e9a5061849ea: Verifying Checksum [2020-11-16T16:30:40.083Z] e9a5061849ea: Download complete [2020-11-16T16:30:40.083Z] d747dcd14b5f: Verifying Checksum [2020-11-16T16:30:40.083Z] d747dcd14b5f: Download complete [2020-11-16T16:30:41.157Z] 2de7ff778b66: Verifying Checksum [2020-11-16T16:30:41.157Z] 2de7ff778b66: Download complete [2020-11-16T16:30:41.782Z] 0d9ebad4ef96: Verifying Checksum [2020-11-16T16:30:41.782Z] 0d9ebad4ef96: Download complete [2020-11-16T16:30:42.046Z] ab5ef0e58194: Verifying Checksum [2020-11-16T16:30:42.046Z] ab5ef0e58194: Download complete [2020-11-16T16:30:48.876Z] ab5ef0e58194: Pull complete [2020-11-16T16:30:48.876Z] 9712f1f96733: Pull complete [2020-11-16T16:30:52.352Z] 63f879dbbcfc: Pull complete [2020-11-16T16:31:00.784Z] 0d9ebad4ef96: Pull complete [2020-11-16T16:31:01.048Z] e9a5061849ea: Pull complete [2020-11-16T16:31:01.048Z] d747dcd14b5f: Pull complete [2020-11-16T16:31:06.541Z] 2de7ff778b66: Pull complete [2020-11-16T16:31:06.541Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-16T16:31:06.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:31:06.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-16T16:31:06.936Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:31:07.023Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-16T16:31:09.954Z] $ docker top 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:31:10.270Z] provisioning config files... [2020-11-16T16:31:10.283Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2015437702236430718tmp [2020-11-16T16:31:10.301Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config513161217228958477tmp [2020-11-16T16:31:10.329Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2871334143440201158tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:31:10.420Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:11.057Z] ---> sigul-configuration.sh [2020-11-16T16:31:11.057Z] gpg: directory `/root/.gnupg' created [2020-11-16T16:31:11.057Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-16T16:31:11.057Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-16T16:31:11.057Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-16T16:31:11.057Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-16T16:31:11.057Z] gpg: CAST5 encrypted data [2020-11-16T16:31:11.057Z] gpg: encrypted with 1 passphrase [2020-11-16T16:31:11.057Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-16T16:31:11.376Z] + mkdir /home/jenkins [2020-11-16T16:31:11.376Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-16T16:31:11.697Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-11-16T16:31:11.725Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:12.059Z] ---> sigul-install.sh [2020-11-16T16:31:17.413Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-16T16:31:18.372Z] + git tag --list [2020-11-16T16:31:18.372Z] v1.0.0 [2020-11-16T16:31:18.372Z] v1.1.0 [2020-11-16T16:31:18.372Z] v1.1.1 [2020-11-16T16:31:18.372Z] v1.1.2 [2020-11-16T16:31:18.372Z] v1.1.2-dev.1 [2020-11-16T16:31:18.372Z] v1.1.2-dev.2 [2020-11-16T16:31:18.372Z] v1.1.3-dev.1 [2020-11-16T16:31:18.372Z] v1.1.3-dev.10 [2020-11-16T16:31:18.372Z] v1.1.3-dev.2 [2020-11-16T16:31:18.372Z] v1.1.3-dev.3 [2020-11-16T16:31:18.372Z] v1.1.3-dev.4 [2020-11-16T16:31:18.372Z] v1.1.3-dev.5 [2020-11-16T16:31:18.372Z] v1.1.3-dev.6 [2020-11-16T16:31:18.372Z] v1.1.3-dev.7 [2020-11-16T16:31:18.372Z] v1.1.3-dev.8 [2020-11-16T16:31:18.372Z] v1.1.3-dev.9 [Pipeline] sh [2020-11-16T16:31:18.709Z] + lftools sign git-tag v1.1.3-dev.10 [2020-11-16T16:31:20.145Z] Signing Git tag with Sigul... [2020-11-16T16:31:20.145Z] Signing v1.1.3-dev.10 [Pipeline] echo [2020-11-16T16:31:21.565Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:21.897Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-16T16:31:21.910Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-16T16:31:22.087Z] $ docker stop --time=1 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 [2020-11-16T16:31:23.972Z] $ docker rm -f 15b9bf7a98af1d9d4098c5b8e9a57dc4f83783b078ab7ac4670a537888addd35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:25.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:31:25.098Z] . [Pipeline] withDockerContainer [2020-11-16T16:31:25.226Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:31:25.289Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:31:26.016Z] $ docker top 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:31:26.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:31:26.385Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:31:26.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:31:26.649Z] $ docker exec 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab ssh-agent [2020-11-16T16:31:26.885Z] SSH_AUTH_SOCK=/tmp/ssh-NBxzPMKQoY0h/agent.11 [2020-11-16T16:31:26.885Z] SSH_AGENT_PID=16 [2020-11-16T16:31:26.894Z] Running ssh-add (command line suppressed) [2020-11-16T16:31:27.067Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5800680508926688090.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5800680508926688090.key) [2020-11-16T16:31:27.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:31:27.542Z] + git semver bump pre [2020-11-16T16:31:27.812Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:31:27.812Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-11-16T16:31:27.812Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-11-16T16:31:27.812Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:31:27.812Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:31:27.812Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:31:27.812Z] # $SEMVER_BRANCH = master [2020-11-16T16:31:27.812Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-11-16T16:31:27.812Z] 1.1.3-dev.11 [Pipeline] } [2020-11-16T16:31:27.834Z] $ docker exec --env ******** --env ******** 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab ssh-agent -k [2020-11-16T16:31:28.053Z] unset SSH_AUTH_SOCK; [2020-11-16T16:31:28.061Z] unset SSH_AGENT_PID; [2020-11-16T16:31:28.061Z] echo Agent pid 16 killed; [2020-11-16T16:31:28.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:31:28.995Z] + git semver [Pipeline] } [2020-11-16T16:31:29.023Z] $ docker stop --time=1 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab [2020-11-16T16:31:30.772Z] $ docker rm -f 9590aa17bd01fc2db7ba8138fb42d4e85ecffd006bec16377ac245dc78835cab [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:31.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:31:31.522Z] . [Pipeline] withDockerContainer [2020-11-16T16:31:31.755Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:31:31.846Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:31:33.193Z] $ docker top 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:31:33.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:31:33.672Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:31:33.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:31:33.936Z] $ docker exec 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b ssh-agent [2020-11-16T16:31:34.162Z] SSH_AUTH_SOCK=/tmp/ssh-iVpeCDKaucag/agent.12 [2020-11-16T16:31:34.162Z] SSH_AGENT_PID=17 [2020-11-16T16:31:34.173Z] Running ssh-add (command line suppressed) [2020-11-16T16:31:34.334Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5393799220373399605.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5393799220373399605.key) [2020-11-16T16:31:34.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:31:35.152Z] + git semver push [2020-11-16T16:31:35.152Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:31:35.152Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-11-16T16:31:35.152Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-11-16T16:31:35.152Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:31:35.152Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:31:35.152Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:31:35.152Z] # $SEMVER_BRANCH = master [2020-11-16T16:31:35.152Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-11-16T16:31:41.857Z] $ docker exec --env ******** --env ******** 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b ssh-agent -k [2020-11-16T16:31:42.037Z] unset SSH_AUTH_SOCK; [2020-11-16T16:31:42.037Z] unset SSH_AGENT_PID; [2020-11-16T16:31:42.037Z] echo Agent pid 17 killed; [2020-11-16T16:31:42.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:31:42.620Z] + git semver [Pipeline] } [2020-11-16T16:31:42.646Z] $ docker stop --time=1 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b [2020-11-16T16:31:44.166Z] $ docker rm -f 057d048bd51870c3275764b10335eb8a77bbdf3a45d201ef828004152d8f8e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:45.678Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:46.271Z] ---> package-listing.sh [2020-11-16T16:31:46.271Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T16:31:46.271Z] ++ facter osfamily [2020-11-16T16:31:46.541Z] + OS_FAMILY=redhat [2020-11-16T16:31:46.541Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-11-16T16:31:46.541Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T16:31:46.541Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T16:31:46.541Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T16:31:46.541Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T16:31:46.541Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-11-16T16:31:46.541Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T16:31:46.541Z] + case "${OS_FAMILY}" in [2020-11-16T16:31:46.541Z] + rpm -qa [2020-11-16T16:31:46.541Z] + sort [2020-11-16T16:31:53.176Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T16:31:53.176Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T16:31:53.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T16:31:53.176Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-11-16T16:31:53.176Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-11-16T16:31:53.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2020-11-16T16:31:53.190Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-16T16:31:53.495Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:54.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:31:54.073Z] [2020-11-16T16:31:54.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:54.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:31:54.455Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T16:31:54.455Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:31:54.455Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T16:31:54.455Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T16:31:54.455Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T16:31:54.455Z] 93b61091891f: Pulling fs layer [2020-11-16T16:31:54.455Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T16:31:54.455Z] 5e14af77c1be: Pulling fs layer [2020-11-16T16:31:54.455Z] 01666e4c0597: Pulling fs layer [2020-11-16T16:31:54.455Z] aa168da1d23b: Pulling fs layer [2020-11-16T16:31:54.455Z] 93b61091891f: Waiting [2020-11-16T16:31:54.455Z] 93b9cdb0e59b: Waiting [2020-11-16T16:31:54.455Z] 01666e4c0597: Waiting [2020-11-16T16:31:54.455Z] 5e14af77c1be: Waiting [2020-11-16T16:31:54.455Z] aa168da1d23b: Waiting [2020-11-16T16:31:54.455Z] 46f8f816bc3b: Waiting [2020-11-16T16:31:54.455Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T16:31:54.455Z] 36b3adc4ff6f: Download complete [2020-11-16T16:31:54.726Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T16:31:54.727Z] 46f8f816bc3b: Download complete [2020-11-16T16:31:54.727Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:31:54.727Z] df20fa9351a1: Download complete [2020-11-16T16:31:54.727Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T16:31:54.727Z] 93b9cdb0e59b: Download complete [2020-11-16T16:31:54.727Z] 5e14af77c1be: Verifying Checksum [2020-11-16T16:31:54.727Z] 5e14af77c1be: Download complete [2020-11-16T16:31:54.727Z] 93b61091891f: Download complete [2020-11-16T16:31:54.727Z] 01666e4c0597: Verifying Checksum [2020-11-16T16:31:54.727Z] 01666e4c0597: Download complete [2020-11-16T16:31:55.356Z] df20fa9351a1: Pull complete [2020-11-16T16:31:55.356Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T16:31:55.356Z] 8ad3a11d3b57: Download complete [2020-11-16T16:31:55.973Z] 36b3adc4ff6f: Pull complete [2020-11-16T16:31:57.016Z] 8ad3a11d3b57: Pull complete [2020-11-16T16:31:57.329Z] 46f8f816bc3b: Pull complete [2020-11-16T16:31:58.859Z] 93b61091891f: Pull complete [2020-11-16T16:31:58.859Z] 93b9cdb0e59b: Pull complete [2020-11-16T16:31:59.494Z] 5e14af77c1be: Pull complete [2020-11-16T16:31:59.765Z] 01666e4c0597: Pull complete [2020-11-16T16:32:00.038Z] aa168da1d23b: Verifying Checksum [2020-11-16T16:32:00.038Z] aa168da1d23b: Download complete [2020-11-16T16:32:08.440Z] aa168da1d23b: Pull complete [2020-11-16T16:32:08.440Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T16:32:08.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:32:08.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T16:32:08.803Z] prd-centos7-docker-4c-2g-12260 does not seem to be running inside a container [2020-11-16T16:32:08.871Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T16:32:11.698Z] $ docker top de330b3d8bf0363ec8f21c3e584a032f84404505df63cc0597e9294b9657b565 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:32:12.326Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T16:32:12.667Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T16:32:12.971Z] + ls /var/log/sa-host [2020-11-16T16:32:12.971Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T16:32:12.971Z] file_magic: OK [2020-11-16T16:32:12.971Z] HZ: Using current value: 100 [2020-11-16T16:32:12.971Z] file_header: OK [2020-11-16T16:32:12.971Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T16:32:12.971Z] Statistics: [2020-11-16T16:32:12.971Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:32:12.971Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T16:32:12.971Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T16:32:12.971Z] file_magic: OK [2020-11-16T16:32:12.971Z] HZ: Using current value: 100 [2020-11-16T16:32:12.971Z] file_header: OK [2020-11-16T16:32:12.971Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T16:32:12.971Z] Statistics: [2020-11-16T16:32:12.971Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:32:12.971Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:32:13.296Z] provisioning config files... [2020-11-16T16:32:13.316Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config793030783392865189tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:32:13.394Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:13.698Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T16:32:13.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T16:32:13.830Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:14.143Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T16:32:14.156Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:14.461Z] ---> sudo-logs.sh [2020-11-16T16:32:14.461Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T16:32:14.475Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:14.789Z] ---> job-cost.sh [2020-11-16T16:32:15.056Z] lf-activate-venv: SKIPPING [2020-11-16T16:32:15.056Z] INFO: No Stack... [2020-11-16T16:32:16.008Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T16:32:16.593Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T16:32:16.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:16.957Z] ---> logs-deploy.sh [2020-11-16T16:32:16.957Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/26 [2020-11-16T16:32:16.957Z] INFO: archiving workspace using pattern(s): [2020-11-16T16:32:18.899Z] Archives upload complete. [2020-11-16T16:32:19.164Z] INFO: archiving logs to Nexus