Pull request #66 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (f725605f9e7bc9a92873fad501910af4741337db) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18182 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [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/dgexfoundry_device-rest-go_PR-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:29:19.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:29:20.299Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:29:20.471Z] ========================================================= [2021-01-04T16:29:20.471Z] EdgeX Global Pipelines Version Info [2021-01-04T16:29:20.471Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:29:22.047Z] ------------------- [2021-01-04T16:29:22.047Z] stable info: [2021-01-04T16:29:22.047Z] ------------------- [2021-01-04T16:29:22.047Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:29:22.047Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:29:22.047Z] Message: update stable to v1.0.173 [2021-01-04T16:29:22.997Z] ------------------- [2021-01-04T16:29:22.997Z] experimental info: [2021-01-04T16:29:22.997Z] ------------------- [2021-01-04T16:29:22.998Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:29:22.998Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:29:22.998Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:29:23.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-04T16:29:23.379Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-04T16:29:23.468Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:29:23.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:29:23.650Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:29:23.740Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:29:23.845Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:29:23.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:29:24.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T16:29:24.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:29:24.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:29:24.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-04T16:29:24.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:29:24.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:29:24.623Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:29:24.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:29:24.810Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:29:24.901Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:29:25.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:29:25.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T16:29:25.196Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T16:29:25.299Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T16:29:25.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:29:25.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:29:25.616Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:29:25.709Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:29:25.804Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:29:25.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo [2021-01-04T16:29:25.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo [2021-01-04T16:29:26.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo [2021-01-04T16:29:26.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] echo [2021-01-04T16:29:26.272Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 998a81b [Pipeline] echo [2021-01-04T16:29:26.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:29:26.537Z] provisioning config files... [2021-01-04T16:29:26.564Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config1932078676715220308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:29:26.926Z] ---> docker-login.sh [2021-01-04T16:29:26.926Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:29:27.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:29:27.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:29:27.190Z] Configure a credential helper to remove this warning. See [2021-01-04T16:29:27.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:29:27.190Z] [2021-01-04T16:29:27.190Z] Login Succeeded [2021-01-04T16:29:27.453Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:29:27.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:29:27.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:29:27.453Z] Configure a credential helper to remove this warning. See [2021-01-04T16:29:27.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:29:27.453Z] [2021-01-04T16:29:27.453Z] Login Succeeded [2021-01-04T16:29:27.453Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:29:27.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:29:27.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:29:27.718Z] Configure a credential helper to remove this warning. See [2021-01-04T16:29:27.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:29:27.718Z] [2021-01-04T16:29:27.718Z] Login Succeeded [2021-01-04T16:29:27.718Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:29:27.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:29:27.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:29:27.980Z] Configure a credential helper to remove this warning. See [2021-01-04T16:29:27.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:29:27.980Z] [2021-01-04T16:29:27.980Z] Login Succeeded [2021-01-04T16:29:27.980Z] docker.io [2021-01-04T16:29:27.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:29:28.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:29:28.243Z] Configure a credential helper to remove this warning. See [2021-01-04T16:29:28.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:29:28.243Z] [2021-01-04T16:29:28.243Z] Login Succeeded [2021-01-04T16:29:28.243Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:29:28.255Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:29:29.075Z] + git log --format=format:%s -1 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] echo [2021-01-04T16:29:29.154Z] GIT_COMMIT: 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11, Commit Message: ci: standardize dockerfiles [Pipeline] echo [2021-01-04T16:29:29.199Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:29:30.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:29:30.288Z] [2021-01-04T16:29:30.288Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:29:30.653Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:29:30.653Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:29:30.653Z] 31603596830f: Pulling fs layer [2021-01-04T16:29:30.653Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:29:30.653Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:29:30.653Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:29:30.653Z] ecc8261a40a4: Waiting [2021-01-04T16:29:30.653Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T16:29:30.653Z] 2a8b12db71e7: Download complete [2021-01-04T16:29:30.918Z] 31603596830f: Download complete [2021-01-04T16:29:30.918Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:29:30.918Z] ecc8261a40a4: Download complete [2021-01-04T16:29:30.918Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:29:30.918Z] 6ca5941a6612: Download complete [2021-01-04T16:29:31.180Z] 31603596830f: Pull complete [2021-01-04T16:29:31.180Z] 2a8b12db71e7: Pull complete [2021-01-04T16:29:32.138Z] 6ca5941a6612: Pull complete [2021-01-04T16:29:32.402Z] ecc8261a40a4: Pull complete [2021-01-04T16:29:32.402Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:29:32.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:29:32.402Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:29:32.512Z] prd-centos7-docker-4c-2g-18182 does not seem to be running inside a container [2021-01-04T16:29:32.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:29:34.460Z] $ docker top 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:29:34.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:29:34.764Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:29:34.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:29:34.994Z] $ docker exec 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent [2021-01-04T16:29:35.168Z] SSH_AUTH_SOCK=/tmp/ssh-mCGgUSJSlfnU/agent.12 [2021-01-04T16:29:35.168Z] SSH_AGENT_PID=17 [2021-01-04T16:29:35.177Z] Running ssh-add (command line suppressed) [2021-01-04T16:29:35.302Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_8745098983348717826.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_8745098983348717826.key) [2021-01-04T16:29:35.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:29:35.687Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:29:35.709Z] $ docker exec --env ******** --env ******** 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent -k [2021-01-04T16:29:35.874Z] unset SSH_AUTH_SOCK; [2021-01-04T16:29:35.875Z] unset SSH_AGENT_PID; [2021-01-04T16:29:35.875Z] echo Agent pid 17 killed; [2021-01-04T16:29:35.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:29:36.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:29:36.076Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:29:36.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:29:36.242Z] $ docker exec 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent [2021-01-04T16:29:36.404Z] SSH_AUTH_SOCK=/tmp/ssh-ia3BIc2f3z5j/agent.46 [2021-01-04T16:29:36.404Z] SSH_AGENT_PID=51 [2021-01-04T16:29:36.413Z] Running ssh-add (command line suppressed) [2021-01-04T16:29:36.532Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_63399369004239383.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_63399369004239383.key) [2021-01-04T16:29:36.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:29:36.941Z] + git semver init [2021-01-04T16:29:36.941Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:29:36.941Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.git [2021-01-04T16:29:36.941Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-66 [2021-01-04T16:29:36.941Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:29:36.941Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:29:36.941Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:29:36.941Z] # $SEMVER_BRANCH = PR-66 [2021-01-04T16:29:36.941Z] # $SEMVER_TEMP = /tmp/semver-851351388 [2021-01-04T16:29:36.941Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-04T16:29:38.872Z] # '/tmp/semver-851351388' -> '/w/workspace/dgexfoundry_device-rest-go_PR-66/.semver' [2021-01-04T16:29:38.872Z] # -> Force: false [2021-01-04T16:29:38.872Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.semver [Pipeline] } [2021-01-04T16:29:38.887Z] $ docker exec --env ******** --env ******** 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent -k [2021-01-04T16:29:38.996Z] unset SSH_AUTH_SOCK; [2021-01-04T16:29:38.997Z] unset SSH_AGENT_PID; [2021-01-04T16:29:38.997Z] echo Agent pid 51 killed; [2021-01-04T16:29:39.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:29:39.523Z] + git semver [Pipeline] } [2021-01-04T16:29:39.540Z] $ docker stop --time=1 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 [2021-01-04T16:29:41.004Z] $ docker rm -f 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:29:41.511Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:29:41.934Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:29:41.937Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-04T16:29:57.475Z] Still waiting to schedule task [2021-01-04T16:29:57.475Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T16:29:57.477Z] Still waiting to schedule task [2021-01-04T16:29:57.477Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-18180’ [2021-01-04T16:31:48.786Z] Running on prd-centos7-docker-4c-2g-18183 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws [2021-01-04T16:31:48.838Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T16:31:55.686Z] using credential edgex-jenkins-ssh [2021-01-04T16:31:55.743Z] Cloning the remote Git repository [2021-01-04T16:31:55.792Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:31:55.877Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-01-04T16:31:55.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:31:55.947Z] > git --version # timeout=10 [2021-01-04T16:31:56.017Z] > git --version # 'git version 2.24.3' [2021-01-04T16:31:56.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:31:56.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:31:58.015Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:31:58.327Z] Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:31:58.328Z] Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) [2021-01-04T16:31:57.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:31:57.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:31:57.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:31:57.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:31:57.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:31:57.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:31:58.032Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:31:58.050Z] > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 [2021-01-04T16:31:58.206Z] > git remote # timeout=10 [2021-01-04T16:31:58.287Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T16:31:58.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:31:58.301Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2021-01-04T16:31:58.314Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T16:31:58.332Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:31:58.342Z] > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 [2021-01-04T16:32:02.723Z] Commit message: "ci: standardize dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:32:04.427Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:32:04.840Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:32:05.185Z] + sudo service docker restart [2021-01-04T16:32:05.185Z] + true [2021-01-04T16:32:05.185Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:32:06.701Z] provisioning config files... [2021-01-04T16:32:06.789Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8211904161452197644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:32:07.288Z] ---> docker-login.sh [2021-01-04T16:32:07.288Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:32:08.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:32:08.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:32:08.660Z] Configure a credential helper to remove this warning. See [2021-01-04T16:32:08.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:32:08.660Z] [2021-01-04T16:32:08.660Z] Login Succeeded [2021-01-04T16:32:08.660Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:32:08.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:32:08.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:32:08.943Z] Configure a credential helper to remove this warning. See [2021-01-04T16:32:08.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:32:08.943Z] [2021-01-04T16:32:08.943Z] Login Succeeded [2021-01-04T16:32:08.943Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:32:09.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:32:09.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:32:09.227Z] Configure a credential helper to remove this warning. See [2021-01-04T16:32:09.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:32:09.227Z] [2021-01-04T16:32:09.227Z] Login Succeeded [2021-01-04T16:32:09.227Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:32:09.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:32:09.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:32:09.566Z] Configure a credential helper to remove this warning. See [2021-01-04T16:32:09.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:32:09.566Z] [2021-01-04T16:32:09.566Z] Login Succeeded [2021-01-04T16:32:09.566Z] docker.io [2021-01-04T16:32:09.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:32:10.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:32:10.104Z] Configure a credential helper to remove this warning. See [2021-01-04T16:32:10.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:32:10.104Z] [2021-01-04T16:32:10.104Z] Login Succeeded [2021-01-04T16:32:10.104Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:32:10.130Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:32:10.570Z] ========================================================= [2021-01-04T16:32:10.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:32:10.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:32:11.029Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T16:32:11.029Z] Sending build context to Docker daemon 84.48kB [2021-01-04T16:32:11.362Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:32:11.362Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:32:11.362Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:32:11.362Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:32:11.362Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:32:11.362Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:32:11.362Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:32:11.362Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:32:11.362Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:32:11.362Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:32:11.362Z] bca2f99d35d6: Waiting [2021-01-04T16:32:11.362Z] 93359f2a8cfa: Waiting [2021-01-04T16:32:11.362Z] 7c6f9722023f: Waiting [2021-01-04T16:32:11.362Z] a35cf1a2eb13: Waiting [2021-01-04T16:32:11.362Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:32:11.362Z] de9db76c5a1d: Download complete [2021-01-04T16:32:11.362Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:32:11.362Z] 0ef7d3d256c8: Download complete [2021-01-04T16:32:11.966Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T16:32:11.966Z] 93359f2a8cfa: Download complete [2021-01-04T16:32:11.966Z] 7c6f9722023f: Verifying Checksum [2021-01-04T16:32:11.966Z] 7c6f9722023f: Download complete [2021-01-04T16:32:11.966Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:32:11.966Z] 188c0c94c7c5: Download complete [2021-01-04T16:32:12.566Z] 188c0c94c7c5: Pull complete [2021-01-04T16:32:12.840Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:32:13.115Z] de9db76c5a1d: Pull complete [2021-01-04T16:32:15.156Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:32:15.156Z] a35cf1a2eb13: Download complete [2021-01-04T16:32:16.132Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:32:16.132Z] bca2f99d35d6: Download complete [2021-01-04T16:32:26.364Z] bca2f99d35d6: Pull complete [2021-01-04T16:32:26.986Z] 93359f2a8cfa: Pull complete [2021-01-04T16:32:27.278Z] 7c6f9722023f: Pull complete [2021-01-04T16:32:32.763Z] a35cf1a2eb13: Pull complete [2021-01-04T16:32:32.763Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:32:32.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:32:32.763Z] ---> a62c8e92a672 [2021-01-04T16:32:32.763Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:32:32.763Z] ---> Running in ffc1ef922a87 [2021-01-04T16:32:32.763Z] Removing intermediate container ffc1ef922a87 [2021-01-04T16:32:32.763Z] ---> e0e1d8a504d7 [2021-01-04T16:32:32.763Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:32:32.763Z] ---> Running in 7e07ec6b074c [2021-01-04T16:32:33.087Z] Removing intermediate container 7e07ec6b074c [2021-01-04T16:32:33.087Z] ---> 84b6087030e3 [2021-01-04T16:32:33.087Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:32:33.378Z] ---> Running in 970c1c889a09 [2021-01-04T16:32:33.662Z] Removing intermediate container 970c1c889a09 [2021-01-04T16:32:33.662Z] ---> fba590fded4b [2021-01-04T16:32:33.662Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:32:33.662Z] ---> Running in 607512a18c21 [2021-01-04T16:32:35.636Z] Removing intermediate container 607512a18c21 [2021-01-04T16:32:35.636Z] ---> 0be1f61be20a [2021-01-04T16:32:35.636Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:32:35.636Z] ---> Running in aa33df8cf8a2 [2021-01-04T16:32:36.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:32:37.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:32:38.585Z] OK: 166 MiB in 39 packages [2021-01-04T16:32:39.197Z] Removing intermediate container aa33df8cf8a2 [2021-01-04T16:32:39.197Z] ---> a7ed7e6b8529 [2021-01-04T16:32:39.197Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T16:32:39.197Z] ---> Running in f79557b31834 [2021-01-04T16:32:39.496Z] Removing intermediate container f79557b31834 [2021-01-04T16:32:39.496Z] ---> 5db2d2b18f69 [2021-01-04T16:32:39.496Z] Step 9/10 : COPY . . [2021-01-04T16:32:40.125Z] ---> bdc904860243 [2021-01-04T16:32:40.125Z] Step 10/10 : RUN go mod download [2021-01-04T16:32:40.409Z] ---> Running in e7f14b138331 [2021-01-04T16:32:57.729Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18185 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws [2021-01-04T16:32:57.785Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T16:33:02.601Z] using credential edgex-jenkins-ssh [2021-01-04T16:33:02.668Z] Cloning the remote Git repository [2021-01-04T16:33:02.729Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:33:02.898Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-01-04T16:33:02.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:33:02.966Z] > git --version # timeout=10 [2021-01-04T16:33:02.982Z] > git --version # 'git version 2.17.1' [2021-01-04T16:33:02.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:33:03.053Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:33:04.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:33:04.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:33:04.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T16:33:04.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T16:33:04.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:33:04.911Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:33:05.454Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:33:05.630Z] Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:33:05.630Z] Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) [2021-01-04T16:33:05.473Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:33:05.489Z] > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 [2021-01-04T16:33:05.558Z] > git remote # timeout=10 [2021-01-04T16:33:05.573Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T16:33:05.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:33:05.595Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2021-01-04T16:33:05.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T16:33:05.637Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:33:05.656Z] > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 [2021-01-04T16:33:07.490Z] Removing intermediate container e7f14b138331 [2021-01-04T16:33:07.491Z] ---> fe95eb4b0d11 [2021-01-04T16:33:07.491Z] Successfully built fe95eb4b0d11 [2021-01-04T16:33:07.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:33:07.980Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:33:07.980Z] . [Pipeline] withDockerContainer [2021-01-04T16:33:08.739Z] prd-centos7-docker-4c-2g-18183 does not seem to be running inside a container [2021-01-04T16:33:08.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:33:09.840Z] $ docker top 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 -eo pid,comm [2021-01-04T16:33:09.930Z] Commit message: "ci: standardize dockerfiles" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-04T16:33:10.445Z] + go version [2021-01-04T16:33:10.446Z] go version go1.15.5 linux/amd64 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [2021-01-04T16:33:10.523Z] $ docker stop --time=1 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 [2021-01-04T16:33:12.201Z] $ docker rm -f 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:33:14.862Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:33:14.988Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:33:14.988Z] . [Pipeline] withDockerContainer [2021-01-04T16:33:15.217Z] prd-centos7-docker-4c-2g-18183 does not seem to be running inside a container [2021-01-04T16:33:15.295Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-01-04T16:33:15.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:33:16.390Z] $ docker top 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-01-04T16:33:17.063Z] + sudo service docker restart [2021-01-04T16:33:17.063Z] + true [2021-01-04T16:33:17.232Z] + make test [2021-01-04T16:33:17.233Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T16:33:18.227Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:33:19.127Z] provisioning config files... [2021-01-04T16:33:19.197Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2830516621559100029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:33:19.634Z] ---> docker-login.sh [2021-01-04T16:33:19.634Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:33:20.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:33:20.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:33:20.840Z] Configure a credential helper to remove this warning. See [2021-01-04T16:33:20.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:33:20.840Z] [2021-01-04T16:33:20.840Z] Login Succeeded [2021-01-04T16:33:20.840Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:33:21.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:33:21.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:33:21.385Z] Configure a credential helper to remove this warning. See [2021-01-04T16:33:21.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:33:21.385Z] [2021-01-04T16:33:21.385Z] Login Succeeded [2021-01-04T16:33:21.385Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:33:21.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:33:21.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:33:21.935Z] Configure a credential helper to remove this warning. See [2021-01-04T16:33:21.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:33:21.935Z] [2021-01-04T16:33:21.935Z] Login Succeeded [2021-01-04T16:33:21.935Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:33:22.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:33:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:33:22.484Z] Configure a credential helper to remove this warning. See [2021-01-04T16:33:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:33:22.484Z] [2021-01-04T16:33:22.484Z] Login Succeeded [2021-01-04T16:33:22.484Z] docker.io [2021-01-04T16:33:22.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:33:23.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:33:23.355Z] Configure a credential helper to remove this warning. See [2021-01-04T16:33:23.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:33:23.355Z] [2021-01-04T16:33:23.355Z] Login Succeeded [2021-01-04T16:33:23.355Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:33:23.374Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:33:23.921Z] ========================================================= [2021-01-04T16:33:23.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:33:23.921Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:33:24.331Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T16:33:24.331Z] Sending build context to Docker daemon 84.48kB [2021-01-04T16:33:24.606Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:33:24.606Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:33:24.883Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:33:24.883Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:33:24.883Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:33:24.883Z] 18c013af1878: Pulling fs layer [2021-01-04T16:33:24.883Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:33:24.883Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:33:24.883Z] b116817d02f9: Pulling fs layer [2021-01-04T16:33:24.883Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:33:24.883Z] 63d7cb157983: Waiting [2021-01-04T16:33:24.883Z] b116817d02f9: Waiting [2021-01-04T16:33:24.883Z] 745a02a5169b: Waiting [2021-01-04T16:33:24.883Z] 00ac8860ef70: Waiting [2021-01-04T16:33:24.883Z] 18c013af1878: Verifying Checksum [2021-01-04T16:33:24.883Z] 18c013af1878: Download complete [2021-01-04T16:33:24.883Z] a4357932f1b6: Verifying Checksum [2021-01-04T16:33:24.883Z] a4357932f1b6: Download complete [2021-01-04T16:33:24.883Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T16:33:24.883Z] 5f621e34cdf4: Download complete [2021-01-04T16:33:24.883Z] 63d7cb157983: Download complete [2021-01-04T16:33:25.161Z] b116817d02f9: Verifying Checksum [2021-01-04T16:33:25.161Z] b116817d02f9: Download complete [2021-01-04T16:33:25.770Z] 5f621e34cdf4: Pull complete [2021-01-04T16:33:26.050Z] a4357932f1b6: Pull complete [2021-01-04T16:33:26.661Z] 18c013af1878: Pull complete [2021-01-04T16:33:27.283Z] 745a02a5169b: Verifying Checksum [2021-01-04T16:33:27.283Z] 745a02a5169b: Download complete [2021-01-04T16:33:28.731Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:33:28.731Z] 00ac8860ef70: Download complete [2021-01-04T16:33:38.897Z] 00ac8860ef70: Pull complete [2021-01-04T16:33:39.171Z] 63d7cb157983: Pull complete [2021-01-04T16:33:39.447Z] b116817d02f9: Pull complete [2021-01-04T16:33:40.816Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-04T16:33:40.816Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 56.3% of statements [2021-01-04T16:33:40.817Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:33:42.865Z] 745a02a5169b: Pull complete [2021-01-04T16:33:42.865Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:33:42.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:33:42.865Z] ---> b7e6874047d6 [2021-01-04T16:33:42.865Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:33:45.248Z] gofmt -l . [2021-01-04T16:33:45.248Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:33:45.248Z] ./bin/test-go-mod-tidy.sh [2021-01-04T16:33:45.248Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-04T16:33:45.894Z] $ docker stop --time=1 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 [2021-01-04T16:33:46.264Z] ---> Running in 1ca9599ed76d [2021-01-04T16:33:46.264Z] Removing intermediate container 1ca9599ed76d [2021-01-04T16:33:46.264Z] ---> 612a825d244f [2021-01-04T16:33:46.264Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:33:46.536Z] ---> Running in a97198a02bb7 [2021-01-04T16:33:46.808Z] Removing intermediate container a97198a02bb7 [2021-01-04T16:33:46.809Z] ---> 02009f30d260 [2021-01-04T16:33:46.809Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:33:47.082Z] ---> Running in 4eec73a9a197 [2021-01-04T16:33:47.680Z] Removing intermediate container 4eec73a9a197 [2021-01-04T16:33:47.680Z] ---> c07961cf5026 [2021-01-04T16:33:47.680Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:33:47.680Z] ---> Running in 2e0cc2060cdc [2021-01-04T16:33:48.478Z] $ docker rm -f 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:33:49.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:33:50.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-04T16:33:50.297Z] Removing intermediate container 2e0cc2060cdc [2021-01-04T16:33:50.297Z] ---> 98318e247fac [2021-01-04T16:33:50.297Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:33:50.297Z] ---> Running in 60eca2daddbe [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-04T16:33:51.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:33:51.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:33:51.785Z] + ls -al . [2021-01-04T16:33:51.785Z] total 96 [2021-01-04T16:33:51.785Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 4 16:33 . [2021-01-04T16:33:51.785Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 16:31 .. [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 4 16:31 Attribution.txt [2021-01-04T16:33:51.785Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:31 bin [2021-01-04T16:33:51.785Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:31 cmd [2021-01-04T16:33:51.785Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 4 16:33 coverage.out [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 4 16:31 Dockerfile [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 4 16:31 Dockerfile.build [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 4 16:31 .dockerignore [2021-01-04T16:33:51.785Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 4 16:33 driver [2021-01-04T16:33:51.785Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 16:32 .git [2021-01-04T16:33:51.785Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:31 .github [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 4 16:31 .gitignore [2021-01-04T16:33:51.785Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 4 16:33 go.mod [2021-01-04T16:33:51.785Z] -rw-r--r--. 1 jenkins jenkins 13790 Jan 4 16:33 go.sum [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 4 16:31 Jenkinsfile [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:31 LICENSE [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 4 16:31 Makefile [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 4 16:31 README.md [2021-01-04T16:33:51.785Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 4 16:31 snap [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 16:29 VERSION [2021-01-04T16:33:51.785Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 4 16:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:33:52.229Z] + 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=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 --label arch=amd64 --label version=0.0.0 . [2021-01-04T16:33:52.527Z] Sending build context to Docker daemon 96.26kB [2021-01-04T16:33:52.807Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:33:52.807Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-04T16:33:52.807Z] ---> fe95eb4b0d11 [2021-01-04T16:33:52.807Z] Step 3/25 : ARG MAKE='make build' [2021-01-04T16:33:52.807Z] ---> Running in bee87d527e69 [2021-01-04T16:33:52.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:33:53.418Z] Removing intermediate container bee87d527e69 [2021-01-04T16:33:53.418Z] ---> 212b682a653a [2021-01-04T16:33:53.418Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:33:53.418Z] ---> Running in 272b0c06a790 [2021-01-04T16:33:53.689Z] Removing intermediate container 272b0c06a790 [2021-01-04T16:33:53.689Z] ---> 0ea39de045b6 [2021-01-04T16:33:53.689Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:33:53.689Z] ---> Running in 52c652ad10f2 [2021-01-04T16:33:53.970Z] Removing intermediate container 52c652ad10f2 [2021-01-04T16:33:53.970Z] ---> a3e3ad7f3ba2 [2021-01-04T16:33:53.970Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:33:54.256Z] OK: 142 MiB in 39 packages [2021-01-04T16:33:54.256Z] ---> Running in 268f030e7523 [2021-01-04T16:33:55.683Z] Removing intermediate container 60eca2daddbe [2021-01-04T16:33:55.683Z] ---> 7e973290befa [2021-01-04T16:33:55.683Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T16:33:55.683Z] ---> Running in 0eca81d2659e [2021-01-04T16:33:56.279Z] Removing intermediate container 0eca81d2659e [2021-01-04T16:33:56.279Z] ---> 00da4349c781 [2021-01-04T16:33:56.279Z] Step 9/10 : COPY . . [2021-01-04T16:33:56.282Z] Removing intermediate container 268f030e7523 [2021-01-04T16:33:56.282Z] ---> ebd9397bd34e [2021-01-04T16:33:56.282Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:33:56.282Z] ---> Running in d5b1d04df051 [2021-01-04T16:33:57.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:33:57.257Z] ---> 4eca34699348 [2021-01-04T16:33:57.257Z] Step 10/10 : RUN go mod download [2021-01-04T16:33:57.257Z] ---> Running in 3fd5399f8bf0 [2021-01-04T16:33:58.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:33:59.206Z] OK: 166 MiB in 39 packages [2021-01-04T16:33:59.805Z] Removing intermediate container d5b1d04df051 [2021-01-04T16:33:59.805Z] ---> f86279f1285b [2021-01-04T16:33:59.805Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-04T16:33:59.805Z] ---> Running in f539fa0ffcaf [2021-01-04T16:34:00.116Z] Removing intermediate container f539fa0ffcaf [2021-01-04T16:34:00.116Z] ---> e03f515edd9e [2021-01-04T16:34:00.116Z] Step 9/25 : COPY go.mod . [2021-01-04T16:34:00.810Z] ---> 30de2f458b7a [2021-01-04T16:34:00.810Z] Step 10/25 : COPY Makefile . [2021-01-04T16:34:01.171Z] ---> 39d3ba74af3a [2021-01-04T16:34:01.171Z] Step 11/25 : RUN make update [2021-01-04T16:34:01.171Z] ---> Running in 4f24b7a44c9e [2021-01-04T16:34:02.245Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:34:03.290Z] Removing intermediate container 4f24b7a44c9e [2021-01-04T16:34:03.290Z] ---> bc6c6a09d435 [2021-01-04T16:34:03.290Z] Step 12/25 : COPY . . [2021-01-04T16:34:03.928Z] ---> 1524a09d13fc [2021-01-04T16:34:03.928Z] Step 13/25 : RUN $MAKE [2021-01-04T16:34:03.928Z] ---> Running in 351d6df80c1f [2021-01-04T16:34:04.917Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-01-04T16:34:19.415Z] Removing intermediate container 3fd5399f8bf0 [2021-01-04T16:34:19.415Z] ---> eb48ccc27795 [2021-01-04T16:34:19.415Z] Successfully built eb48ccc27795 [2021-01-04T16:34:19.415Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:34:19.756Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:34:19.756Z] . [Pipeline] withDockerContainer [2021-01-04T16:34:20.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-18185 does not seem to be running inside a container [2021-01-04T16:34:20.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:34:21.677Z] $ docker top 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:34:22.699Z] + go version [2021-01-04T16:34:22.699Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:34:22.731Z] $ docker stop --time=1 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 [2021-01-04T16:34:24.737Z] $ docker rm -f 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:34:25.743Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:34:25.743Z] . [Pipeline] withDockerContainer [2021-01-04T16:34:26.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-18185 does not seem to be running inside a container [2021-01-04T16:34:26.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:34:27.663Z] $ docker top 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:34:28.106Z] Removing intermediate container 351d6df80c1f [2021-01-04T16:34:28.106Z] ---> 5ca0f1049a55 [2021-01-04T16:34:28.106Z] Step 14/25 : FROM alpine:3.12 [2021-01-04T16:34:28.106Z] 3.12: Pulling from library/alpine [2021-01-04T16:34:28.106Z] 801bfaa63ef2: Pulling fs layer [2021-01-04T16:34:28.106Z] 801bfaa63ef2: Verifying Checksum [2021-01-04T16:34:28.106Z] 801bfaa63ef2: Download complete [2021-01-04T16:34:28.106Z] 801bfaa63ef2: Pull complete [2021-01-04T16:34:28.106Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:34:28.106Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:34:28.106Z] ---> 389fef711851 [2021-01-04T16:34:28.106Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:34:28.106Z] ---> Running in a56ae722dd0b [2021-01-04T16:34:28.106Z] Removing intermediate container a56ae722dd0b [2021-01-04T16:34:28.106Z] ---> 6a1eaf1e66c3 [2021-01-04T16:34:28.106Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-04T16:34:28.106Z] ---> Running in 35fdb714ab6c [2021-01-04T16:34:28.106Z] Removing intermediate container 35fdb714ab6c [2021-01-04T16:34:28.106Z] ---> 08e27bd54666 [2021-01-04T16:34:28.106Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-04T16:34:28.411Z] ---> c5a7b8713036 [2021-01-04T16:34:28.411Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-04T16:34:28.682Z] ---> 89c2b0f56ef0 [2021-01-04T16:34:28.682Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-04T16:34:28.683Z] + make test [2021-01-04T16:34:28.683Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T16:34:29.660Z] ---> e3c7c5f84adc [2021-01-04T16:34:29.660Z] Step 20/25 : EXPOSE 49986 [2021-01-04T16:34:29.660Z] ---> Running in 45a898ecdceb [2021-01-04T16:34:29.660Z] Removing intermediate container 45a898ecdceb [2021-01-04T16:34:29.660Z] ---> 411dad29434a [2021-01-04T16:34:29.660Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-04T16:34:29.669Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-04T16:34:29.980Z] ---> Running in be07d2720ddd [2021-01-04T16:34:29.980Z] Removing intermediate container be07d2720ddd [2021-01-04T16:34:29.980Z] ---> 19bb110bf120 [2021-01-04T16:34:29.980Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:34:30.288Z] ---> Running in 4772f7e9bff2 [2021-01-04T16:34:30.288Z] Removing intermediate container 4772f7e9bff2 [2021-01-04T16:34:30.288Z] ---> c4255747fe23 [2021-01-04T16:34:30.288Z] Step 23/25 : LABEL arch=amd64 [2021-01-04T16:34:30.288Z] ---> Running in ae0c0983e0c2 [2021-01-04T16:34:30.616Z] Removing intermediate container ae0c0983e0c2 [2021-01-04T16:34:30.616Z] ---> c5ff41f49a1f [2021-01-04T16:34:30.616Z] Step 24/25 : LABEL git_sha=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:34:30.616Z] ---> Running in 0d99f0406086 [2021-01-04T16:34:30.926Z] Removing intermediate container 0d99f0406086 [2021-01-04T16:34:30.926Z] ---> ec3df65eae07 [2021-01-04T16:34:30.926Z] Step 25/25 : LABEL version=0.0.0 [2021-01-04T16:34:31.196Z] ---> Running in abf25895664b [2021-01-04T16:34:31.478Z] Removing intermediate container abf25895664b [2021-01-04T16:34:31.478Z] ---> 1d48c916f9a0 [2021-01-04T16:34:31.478Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:34:31.478Z] Successfully built 1d48c916f9a0 [2021-01-04T16:34:31.478Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T16:35:02.069Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-04T16:35:02.664Z] ok github.com/edgexfoundry/device-rest-go/driver 0.084s coverage: 56.3% of statements [2021-01-04T16:35:02.940Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:35:11.253Z] gofmt -l . [2021-01-04T16:35:11.253Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:35:11.253Z] ./bin/test-go-mod-tidy.sh [2021-01-04T16:35:11.253Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-04T16:35:11.558Z] $ docker stop --time=1 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 [2021-01-04T16:35:13.944Z] $ docker rm -f 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:35:14.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:35:14.960Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:35:16.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:35:16.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:35:17.209Z] + ls -al . [2021-01-04T16:35:17.209Z] total 124 [2021-01-04T16:35:17.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:35 . [2021-01-04T16:35:17.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:33 .. [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 16:33 .dockerignore [2021-01-04T16:35:17.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:33 .git [2021-01-04T16:35:17.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:33 .github [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 4 16:33 .gitignore [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 4 16:33 Attribution.txt [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 4 16:33 Dockerfile [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 4 16:33 Dockerfile.build [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 16:33 Jenkinsfile [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:33 LICENSE [2021-01-04T16:35:17.209Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 4 16:33 Makefile [2021-01-04T16:35:17.210Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 4 16:33 README.md [2021-01-04T16:35:17.210Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:29 VERSION [2021-01-04T16:35:17.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:33 bin [2021-01-04T16:35:17.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:33 cmd [2021-01-04T16:35:17.210Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 4 16:35 coverage.out [2021-01-04T16:35:17.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:35 driver [2021-01-04T16:35:17.210Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 4 16:35 go.mod [2021-01-04T16:35:17.210Z] -rw-r--r-- 1 jenkins jenkins 13790 Jan 4 16:35 go.sum [2021-01-04T16:35:17.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:33 snap [2021-01-04T16:35:17.210Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 16:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:35:17.582Z] + 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=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 --label arch=arm64 --label version=0.0.0 . [2021-01-04T16:35:17.582Z] Sending build context to Docker daemon 96.26kB [2021-01-04T16:35:17.861Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:35:17.861Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-04T16:35:17.861Z] ---> eb48ccc27795 [2021-01-04T16:35:17.861Z] Step 3/25 : ARG MAKE='make build' [2021-01-04T16:35:18.136Z] ---> Running in d7bd27ab585c [2021-01-04T16:35:18.736Z] Removing intermediate container d7bd27ab585c [2021-01-04T16:35:18.736Z] ---> e75603d1ff30 [2021-01-04T16:35:18.736Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:35:18.736Z] ---> Running in 024d2c2136ff [2021-01-04T16:35:19.329Z] Removing intermediate container 024d2c2136ff [2021-01-04T16:35:19.329Z] ---> 96a8561cf679 [2021-01-04T16:35:19.329Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:35:19.329Z] ---> Running in edc7e2beee30 [2021-01-04T16:35:19.940Z] Removing intermediate container edc7e2beee30 [2021-01-04T16:35:19.940Z] ---> 668b46be828b [2021-01-04T16:35:19.940Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:35:19.940Z] ---> Running in 47ec5b0fe96f [2021-01-04T16:35:22.571Z] Removing intermediate container 47ec5b0fe96f [2021-01-04T16:35:22.571Z] ---> 60461b533dac [2021-01-04T16:35:22.571Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:35:22.571Z] ---> Running in eab8c3f59b66 [2021-01-04T16:35:23.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:35:24.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:35:25.115Z] OK: 142 MiB in 39 packages [2021-01-04T16:35:26.543Z] Removing intermediate container eab8c3f59b66 [2021-01-04T16:35:26.543Z] ---> 8595df025590 [2021-01-04T16:35:26.543Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-04T16:35:26.543Z] ---> Running in e447a7353600 [2021-01-04T16:35:26.817Z] Removing intermediate container e447a7353600 [2021-01-04T16:35:26.817Z] ---> 5ed8a5e1a00b [2021-01-04T16:35:26.817Z] Step 9/25 : COPY go.mod . [2021-01-04T16:35:27.802Z] ---> a53d98fd02c9 [2021-01-04T16:35:27.802Z] Step 10/25 : COPY Makefile . [2021-01-04T16:35:28.398Z] ---> e341224d2ea1 [2021-01-04T16:35:28.398Z] Step 11/25 : RUN make update [2021-01-04T16:35:28.398Z] ---> Running in 64c3ff93eef0 [2021-01-04T16:35:29.378Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:35:30.810Z] Removing intermediate container 64c3ff93eef0 [2021-01-04T16:35:30.810Z] ---> 81415d3f4309 [2021-01-04T16:35:30.810Z] Step 12/25 : COPY . . [2021-01-04T16:35:31.424Z] ---> 0fa9f6cbe92c [2021-01-04T16:35:31.424Z] Step 13/25 : RUN $MAKE [2021-01-04T16:35:31.424Z] ---> Running in b5f2a16d5052 [2021-01-04T16:35:32.863Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-01-04T16:35:59.676Z] Removing intermediate container b5f2a16d5052 [2021-01-04T16:35:59.676Z] ---> 08a35843bb6a [2021-01-04T16:35:59.676Z] Step 14/25 : FROM alpine:3.12 [2021-01-04T16:36:00.268Z] 3.12: Pulling from library/alpine [2021-01-04T16:36:00.268Z] 159e5727ea61: Pulling fs layer [2021-01-04T16:36:00.543Z] 159e5727ea61: Verifying Checksum [2021-01-04T16:36:00.543Z] 159e5727ea61: Download complete [2021-01-04T16:36:01.136Z] 159e5727ea61: Pull complete [2021-01-04T16:36:01.136Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:36:01.136Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:36:01.136Z] ---> afeebe901d6b [2021-01-04T16:36:01.136Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T16:36:01.412Z] ---> Running in c0d46f365607 [2021-01-04T16:36:02.015Z] Removing intermediate container c0d46f365607 [2021-01-04T16:36:02.016Z] ---> 5a8450591225 [2021-01-04T16:36:02.016Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-04T16:36:02.016Z] ---> Running in 8008e3cb6a4a [2021-01-04T16:36:02.610Z] Removing intermediate container 8008e3cb6a4a [2021-01-04T16:36:02.610Z] ---> 05ea97deef1a [2021-01-04T16:36:02.610Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-04T16:36:03.203Z] ---> 5aabc9b9ecb6 [2021-01-04T16:36:03.203Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-04T16:36:03.799Z] ---> d7d7f46bbb4f [2021-01-04T16:36:03.799Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-04T16:36:05.231Z] ---> 08d574cd9841 [2021-01-04T16:36:05.231Z] Step 20/25 : EXPOSE 49986 [2021-01-04T16:36:05.231Z] ---> Running in 099a9fe53beb [2021-01-04T16:36:05.505Z] Removing intermediate container 099a9fe53beb [2021-01-04T16:36:05.505Z] ---> 8ebb2e1862b8 [2021-01-04T16:36:05.505Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-04T16:36:05.804Z] ---> Running in f21bc5c55f43 [2021-01-04T16:36:06.073Z] Removing intermediate container f21bc5c55f43 [2021-01-04T16:36:06.073Z] ---> 6507fe3880af [2021-01-04T16:36:06.073Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:36:06.342Z] ---> Running in 3e2da5ccc140 [2021-01-04T16:36:06.612Z] Removing intermediate container 3e2da5ccc140 [2021-01-04T16:36:06.612Z] ---> a707ce40749b [2021-01-04T16:36:06.612Z] Step 23/25 : LABEL arch=arm64 [2021-01-04T16:36:06.886Z] ---> Running in 0c3d23c32efa [2021-01-04T16:36:07.158Z] Removing intermediate container 0c3d23c32efa [2021-01-04T16:36:07.158Z] ---> 88fbbf5858e1 [2021-01-04T16:36:07.158Z] Step 24/25 : LABEL git_sha=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [2021-01-04T16:36:07.429Z] ---> Running in 22c8f67cac94 [2021-01-04T16:36:07.699Z] Removing intermediate container 22c8f67cac94 [2021-01-04T16:36:07.699Z] ---> 56dab9597749 [2021-01-04T16:36:07.699Z] Step 25/25 : LABEL version=0.0.0 [2021-01-04T16:36:07.974Z] ---> Running in 37956a8108c7 [2021-01-04T16:36:08.247Z] Removing intermediate container 37956a8108c7 [2021-01-04T16:36:08.247Z] ---> 621b13102490 [2021-01-04T16:36:08.247Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:36:08.247Z] Successfully built 621b13102490 [2021-01-04T16:36:08.247Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-04T16:36:09.664Z] provisioning config files... [2021-01-04T16:36:09.676Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config7593971361783316251tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:36:10.064Z] + set +x [2021-01-04T16:36:10.064Z] + curl -s https://codecov.io/bash [2021-01-04T16:36:10.064Z] + bash -s -- [2021-01-04T16:36:10.327Z] [2021-01-04T16:36:10.327Z] _____ _ [2021-01-04T16:36:10.327Z] / ____| | | [2021-01-04T16:36:10.327Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:36:10.327Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:36:10.327Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:36:10.327Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:36:10.327Z] Bash-20201231-23d4836 [2021-01-04T16:36:10.327Z] [2021-01-04T16:36:10.327Z] [2021-01-04T16:36:10.327Z] ==> git version 2.24.3 found [2021-01-04T16:36:10.327Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-04T16:36:10.327Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:36:10.327Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:36:10.327Z] ==> Jenkins CI detected. [2021-01-04T16:36:10.327Z] project root: . [2021-01-04T16:36:10.327Z] --> token set from env [2021-01-04T16:36:10.327Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:36:10.327Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:36:10.327Z] ==> Python coveragepy not found [2021-01-04T16:36:10.327Z] ==> Searching for coverage reports in: [2021-01-04T16:36:10.327Z] + . [2021-01-04T16:36:10.327Z] -> Found 1 reports [2021-01-04T16:36:10.327Z] ==> Detecting git/mercurial file structure [2021-01-04T16:36:10.327Z] ==> Reading reports [2021-01-04T16:36:10.327Z] + ./coverage.out bytes=9369 [2021-01-04T16:36:10.327Z] ==> Appending adjustments [2021-01-04T16:36:10.327Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:36:10.327Z] + Found adjustments [2021-01-04T16:36:10.327Z] ==> Gzipping contents [2021-01-04T16:36:10.327Z] 4.0K /tmp/codecov.tJ2OgP.gz [2021-01-04T16:36:10.327Z] ==> Uploading reports [2021-01-04T16:36:10.327Z] url: https://codecov.io [2021-01-04T16:36:10.327Z] query: branch=PR-66&commit=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= [2021-01-04T16:36:10.327Z] -> Pinging Codecov [2021-01-04T16:36:10.328Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-66&commit=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= [2021-01-04T16:36:10.905Z] -> Uploading to [2021-01-04T16:36:10.905Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/4E5D53B4F1F92C436F7061BF334D961C/998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11/4a7f214c-f946-4f3e-8562-fb080ed968e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T163610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de021ef1c96ea452e3e2c2d0458299bb2303aa0f8ec28b8892a84077ee08f957 [2021-01-04T16:36:10.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:36:10.905Z] Dload Upload Total Spent Left Speed [2021-01-04T16:36:11.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4414 --:--:-- --:--:-- --:--:-- 4425 [2021-01-04T16:36:11.480Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] } [2021-01-04T16:36:11.491Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:14.601Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:14.911Z] ---> package-listing.sh [2021-01-04T16:36:14.911Z] ++ facter osfamily [2021-01-04T16:36:14.911Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:36:14.911Z] + OS_FAMILY=redhat [2021-01-04T16:36:14.911Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-66 [2021-01-04T16:36:14.911Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:36:14.911Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:36:14.911Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:36:14.911Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:36:14.911Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' [2021-01-04T16:36:14.911Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:36:14.911Z] + case "${OS_FAMILY}" in [2021-01-04T16:36:14.911Z] + rpm -qa [2021-01-04T16:36:14.911Z] + sort [2021-01-04T16:36:20.247Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:36:20.247Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:36:20.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:36:20.247Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' [2021-01-04T16:36:20.247Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ [2021-01-04T16:36:20.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ [Pipeline] echo [2021-01-04T16:36:20.262Z] 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/dgexfoundry_device-rest-go_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T16:36:20.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:36:20.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:36:20.875Z] [2021-01-04T16:36:20.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:36:21.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:36:21.235Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:36:21.235Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:36:21.235Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:36:21.235Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:36:21.235Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:36:21.235Z] 93b61091891f: Pulling fs layer [2021-01-04T16:36:21.235Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:36:21.235Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:36:21.235Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:36:21.235Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:36:21.235Z] 01666e4c0597: Waiting [2021-01-04T16:36:21.235Z] 93b61091891f: Waiting [2021-01-04T16:36:21.235Z] 93b9cdb0e59b: Waiting [2021-01-04T16:36:21.235Z] 5e14af77c1be: Waiting [2021-01-04T16:36:21.235Z] aa168da1d23b: Waiting [2021-01-04T16:36:21.235Z] 46f8f816bc3b: Waiting [2021-01-04T16:36:21.235Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:36:21.235Z] 36b3adc4ff6f: Download complete [2021-01-04T16:36:21.235Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:36:21.235Z] 46f8f816bc3b: Download complete [2021-01-04T16:36:21.499Z] df20fa9351a1: Verifying Checksum [2021-01-04T16:36:21.499Z] df20fa9351a1: Download complete [2021-01-04T16:36:21.499Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:36:21.499Z] 93b9cdb0e59b: Download complete [2021-01-04T16:36:21.499Z] 5e14af77c1be: Download complete [2021-01-04T16:36:21.499Z] 93b61091891f: Verifying Checksum [2021-01-04T16:36:21.499Z] 93b61091891f: Download complete [2021-01-04T16:36:21.499Z] 01666e4c0597: Verifying Checksum [2021-01-04T16:36:21.499Z] 01666e4c0597: Download complete [2021-01-04T16:36:21.499Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T16:36:21.499Z] 8ad3a11d3b57: Download complete [2021-01-04T16:36:21.762Z] df20fa9351a1: Pull complete [2021-01-04T16:36:22.025Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:36:23.452Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:36:23.452Z] aa168da1d23b: Download complete [2021-01-04T16:36:24.552Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:36:24.552Z] 46f8f816bc3b: Pull complete [2021-01-04T16:36:24.552Z] 93b61091891f: Pull complete [2021-01-04T16:36:24.552Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:36:24.552Z] 5e14af77c1be: Pull complete [2021-01-04T16:36:24.552Z] 01666e4c0597: Pull complete [2021-01-04T16:36:32.783Z] aa168da1d23b: Pull complete [2021-01-04T16:36:32.783Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:36:32.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:36:32.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:36:33.017Z] prd-centos7-docker-4c-2g-18182 does not seem to be running inside a container [2021-01-04T16:36:33.068Z] $ 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/dgexfoundry_device-rest-go_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T16:36:35.953Z] $ docker top 3aed40767bc65fa11686fd50b8e35e584ff2291310e8374932070a3fcfbb601e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:36:36.441Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:36:36.744Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:36:37.043Z] + ls /var/log/sa-host [2021-01-04T16:36:37.043Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:36:37.043Z] file_magic: OK [2021-01-04T16:36:37.043Z] HZ: Using current value: 100 [2021-01-04T16:36:37.043Z] file_header: OK [2021-01-04T16:36:37.043Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:36:37.043Z] Statistics: [2021-01-04T16:36:37.043Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:36:37.043Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:36:37.043Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:36:37.043Z] file_magic: OK [2021-01-04T16:36:37.043Z] HZ: Using current value: 100 [2021-01-04T16:36:37.043Z] file_header: OK [2021-01-04T16:36:37.044Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:36:37.044Z] Statistics: [2021-01-04T16:36:37.044Z] Hnuu...uuuununununu... [2021-01-04T16:36:37.044Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:36:37.259Z] provisioning config files... [2021-01-04T16:36:37.276Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config6910548014640214180tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:36:37.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:37.656Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:36:37.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:36:37.758Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:38.055Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:36:38.067Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:38.363Z] ---> sudo-logs.sh [2021-01-04T16:36:38.363Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:36:38.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:38.674Z] ---> job-cost.sh [2021-01-04T16:36:38.674Z] lf-activate-venv: SKIPPING [2021-01-04T16:36:38.674Z] INFO: No Stack... [2021-01-04T16:36:39.620Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:36:40.194Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:36:40.208Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:36:40.508Z] ---> logs-deploy.sh [2021-01-04T16:36:40.509Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-66/2 [2021-01-04T16:36:40.509Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:36:42.442Z] Archives upload complete. [2021-01-04T16:36:42.442Z] INFO: archiving logs to Nexus [2021-01-04T16:36:43.406Z] ---> uname -a: [2021-01-04T16:36:43.406Z] Linux prd-centos7-docker-4c-2g-18182.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-04T16:36:43.406Z] [2021-01-04T16:36:43.406Z] [2021-01-04T16:36:43.406Z] ---> lscpu: [2021-01-04T16:36:43.406Z] Architecture: x86_64 [2021-01-04T16:36:43.406Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-04T16:36:43.406Z] Byte Order: Little Endian [2021-01-04T16:36:43.406Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-04T16:36:43.406Z] CPU(s): 4 [2021-01-04T16:36:43.406Z] On-line CPU(s) list: 0-3 [2021-01-04T16:36:43.406Z] Thread(s) per core: 1 [2021-01-04T16:36:43.406Z] Core(s) per socket: 1 [2021-01-04T16:36:43.406Z] Socket(s): 4 [2021-01-04T16:36:43.406Z] NUMA node(s): 1 [2021-01-04T16:36:43.406Z] Vendor ID: GenuineIntel [2021-01-04T16:36:43.406Z] CPU family: 6 [2021-01-04T16:36:43.406Z] Model: 44 [2021-01-04T16:36:43.406Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-04T16:36:43.406Z] Stepping: 1 [2021-01-04T16:36:43.406Z] CPU MHz: 2933.442 [2021-01-04T16:36:43.406Z] BogoMIPS: 5866.88 [2021-01-04T16:36:43.406Z] Virtualization: VT-x [2021-01-04T16:36:43.406Z] Hypervisor vendor: KVM [2021-01-04T16:36:43.406Z] Virtualization type: full [2021-01-04T16:36:43.406Z] L1d cache: 128 KiB [2021-01-04T16:36:43.406Z] L1i cache: 128 KiB [2021-01-04T16:36:43.406Z] L2 cache: 16 MiB [2021-01-04T16:36:43.406Z] L3 cache: 64 MiB [2021-01-04T16:36:43.406Z] NUMA node0 CPU(s): 0-3 [2021-01-04T16:36:43.406Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-04T16:36:43.406Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-04T16:36:43.406Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-04T16:36:43.406Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-04T16:36:43.406Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-04T16:36:43.406Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-04T16:36:43.406Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-04T16:36:43.406Z] Vulnerability Srbds: Not affected [2021-01-04T16:36:43.406Z] Vulnerability Tsx async abort: Not affected [2021-01-04T16:36:43.407Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-04T16:36:43.407Z] [2021-01-04T16:36:43.407Z] [2021-01-04T16:36:43.407Z] ---> nproc: [2021-01-04T16:36:43.407Z] 4 [2021-01-04T16:36:43.407Z] [2021-01-04T16:36:43.407Z]