Pull request #69 opened 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 FelixTing for edgexfoundry/device-rest-go Loading trusted files from base branch master at 793fa606b8324739f564128f9001c967c619a4b2 rather than c99d5dc85383e5fc32e239b83c619eb36f3eafe8 Obtained Jenkinsfile from 793fa606b8324739f564128f9001c967c619a4b2 Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-69/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-69/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-18834 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [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-69 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit c99d5dc85383e5fc32e239b83c619eb36f3eafe8 Merge succeeded, producing c99d5dc85383e5fc32e239b83c619eb36f3eafe8 Checking out Revision c99d5dc85383e5fc32e239b83c619eb36f3eafe8 (PR-69) > git config core.sparsecheckout # timeout=10 > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # 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 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # timeout=10 Commit message: "feat: Remove Logging configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T07:19:54.947Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T07:19:55.284Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-07T07:19:55.519Z] ========================================================= [2021-01-07T07:19:55.519Z] EdgeX Global Pipelines Version Info [2021-01-07T07:19:55.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:19:58.188Z] ------------------- [2021-01-07T07:19:58.188Z] stable info: [2021-01-07T07:19:58.188Z] ------------------- [2021-01-07T07:19:58.188Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T07:19:58.188Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T07:19:58.188Z] Message: update stable to v1.0.173 [2021-01-07T07:19:59.172Z] ------------------- [2021-01-07T07:19:59.172Z] experimental info: [2021-01-07T07:19:59.172Z] ------------------- [2021-01-07T07:19:59.172Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T07:19:59.172Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T07:19:59.172Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T07:19:59.592Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-07T07:19:59.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-07T07:19:59.851Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T07:19:59.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T07:20:00.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T07:20:00.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T07:20:00.425Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T07:20:00.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T07:20:00.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T07:20:00.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T07:20:00.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T07:20:01.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-07T07:20:01.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T07:20:01.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T07:20:01.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-07T07:20:01.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-07T07:20:01.870Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T07:20:02.003Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T07:20:02.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-07T07:20:02.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T07:20:02.376Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-07T07:20:02.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-07T07:20:02.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T07:20:02.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T07:20:02.871Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-07T07:20:03.061Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T07:20:03.207Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T07:20:03.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-69 [Pipeline] echo [2021-01-07T07:20:03.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-69 [Pipeline] echo [2021-01-07T07:20:03.589Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-69 [Pipeline] echo [2021-01-07T07:20:03.736Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [Pipeline] echo [2021-01-07T07:20:03.860Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c99d5dc [Pipeline] echo [2021-01-07T07:20:03.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-07T07:20:04.247Z] provisioning config files... [2021-01-07T07:20:04.283Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config3050671816289399282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:20:04.726Z] ---> docker-login.sh [2021-01-07T07:20:04.726Z] nexus3.edgexfoundry.org:10001 [2021-01-07T07:20:05.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:20:05.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:20:05.327Z] Configure a credential helper to remove this warning. See [2021-01-07T07:20:05.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:20:05.327Z] [2021-01-07T07:20:05.327Z] Login Succeeded [2021-01-07T07:20:05.327Z] nexus3.edgexfoundry.org:10002 [2021-01-07T07:20:05.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:20:05.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:20:05.901Z] Configure a credential helper to remove this warning. See [2021-01-07T07:20:05.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:20:05.901Z] [2021-01-07T07:20:05.901Z] Login Succeeded [2021-01-07T07:20:05.901Z] nexus3.edgexfoundry.org:10003 [2021-01-07T07:20:05.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:20:06.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:20:06.208Z] Configure a credential helper to remove this warning. See [2021-01-07T07:20:06.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:20:06.208Z] [2021-01-07T07:20:06.208Z] Login Succeeded [2021-01-07T07:20:06.208Z] nexus3.edgexfoundry.org:10004 [2021-01-07T07:20:06.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:20:06.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:20:06.477Z] Configure a credential helper to remove this warning. See [2021-01-07T07:20:06.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:20:06.477Z] [2021-01-07T07:20:06.477Z] Login Succeeded [2021-01-07T07:20:06.477Z] docker.io [2021-01-07T07:20:06.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:20:07.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:20:07.025Z] Configure a credential helper to remove this warning. See [2021-01-07T07:20:07.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:20:07.025Z] [2021-01-07T07:20:07.025Z] Login Succeeded [2021-01-07T07:20:07.025Z] ---> docker-login.sh ends [Pipeline] } [2021-01-07T07:20:07.068Z] 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-07T07:20:08.200Z] + git log --format=format:%s -1 c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [Pipeline] echo [2021-01-07T07:20:08.339Z] GIT_COMMIT: c99d5dc85383e5fc32e239b83c619eb36f3eafe8, Commit Message: feat: Remove Logging configuration [Pipeline] echo [2021-01-07T07:20:08.412Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:20:09.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T07:20:09.402Z] [2021-01-07T07:20:09.402Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:20:10.134Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T07:20:10.134Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T07:20:10.134Z] 31603596830f: Pulling fs layer [2021-01-07T07:20:10.134Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T07:20:10.134Z] 6ca5941a6612: Pulling fs layer [2021-01-07T07:20:10.134Z] ecc8261a40a4: Pulling fs layer [2021-01-07T07:20:10.134Z] ecc8261a40a4: Waiting [2021-01-07T07:20:10.134Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T07:20:10.134Z] 2a8b12db71e7: Download complete [2021-01-07T07:20:10.428Z] 31603596830f: Verifying Checksum [2021-01-07T07:20:10.428Z] 31603596830f: Download complete [2021-01-07T07:20:10.708Z] ecc8261a40a4: Verifying Checksum [2021-01-07T07:20:10.708Z] ecc8261a40a4: Download complete [2021-01-07T07:20:10.708Z] 6ca5941a6612: Verifying Checksum [2021-01-07T07:20:10.708Z] 6ca5941a6612: Download complete [2021-01-07T07:20:10.982Z] 31603596830f: Pull complete [2021-01-07T07:20:11.312Z] 2a8b12db71e7: Pull complete [2021-01-07T07:20:12.842Z] 6ca5941a6612: Pull complete [2021-01-07T07:20:13.443Z] ecc8261a40a4: Pull complete [2021-01-07T07:20:13.443Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T07:20:13.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T07:20:13.443Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T07:20:13.709Z] prd-centos7-docker-4c-2g-18834 does not seem to be running inside a container [2021-01-07T07:20:13.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-69 -v /w/workspace/dgexfoundry_device-rest-go_PR-69:/w/workspace/dgexfoundry_device-rest-go_PR-69:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-69@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T07:20:16.549Z] $ docker top f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T07:20:17.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T07:20:17.047Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T07:20:17.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T07:20:17.424Z] $ docker exec f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a ssh-agent [2021-01-07T07:20:17.746Z] SSH_AUTH_SOCK=/tmp/ssh-RCMs216MqLsh/agent.11 [2021-01-07T07:20:17.746Z] SSH_AGENT_PID=16 [2021-01-07T07:20:17.773Z] Running ssh-add (command line suppressed) [2021-01-07T07:20:18.047Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_8404716632356287743.key (/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_8404716632356287743.key) [2021-01-07T07:20:18.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T07:20:18.689Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T07:20:18.732Z] $ docker exec --env ******** --env ******** f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a ssh-agent -k [2021-01-07T07:20:19.001Z] unset SSH_AUTH_SOCK; [2021-01-07T07:20:19.005Z] unset SSH_AGENT_PID; [2021-01-07T07:20:19.005Z] echo Agent pid 16 killed; [2021-01-07T07:20:19.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T07:20:19.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T07:20:19.286Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T07:20:19.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T07:20:19.610Z] $ docker exec f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a ssh-agent [2021-01-07T07:20:19.969Z] SSH_AUTH_SOCK=/tmp/ssh-KwxOiKAj6F4J/agent.46 [2021-01-07T07:20:19.969Z] SSH_AGENT_PID=51 [2021-01-07T07:20:19.977Z] Running ssh-add (command line suppressed) [2021-01-07T07:20:20.168Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_921033953127865259.key (/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/private_key_921033953127865259.key) [2021-01-07T07:20:20.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T07:20:21.077Z] + git semver init [2021-01-07T07:20:21.077Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T07:20:21.077Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-69/.git [2021-01-07T07:20:21.077Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-69 [2021-01-07T07:20:21.077Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T07:20:21.077Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T07:20:21.077Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T07:20:21.077Z] # $SEMVER_BRANCH = PR-69 [2021-01-07T07:20:21.077Z] # $SEMVER_TEMP = /tmp/semver-154897356 [2021-01-07T07:20:21.077Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-07T07:20:23.126Z] # '/tmp/semver-154897356' -> '/w/workspace/dgexfoundry_device-rest-go_PR-69/.semver' [2021-01-07T07:20:23.126Z] # -> Force: false [2021-01-07T07:20:23.126Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-69/.semver [Pipeline] } [2021-01-07T07:20:23.190Z] $ docker exec --env ******** --env ******** f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a ssh-agent -k [2021-01-07T07:20:23.490Z] unset SSH_AUTH_SOCK; [2021-01-07T07:20:23.491Z] unset SSH_AGENT_PID; [2021-01-07T07:20:23.491Z] echo Agent pid 51 killed; [2021-01-07T07:20:23.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T07:20:24.190Z] + git semver [Pipeline] } [2021-01-07T07:20:24.228Z] $ docker stop --time=1 f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a [2021-01-07T07:20:25.791Z] $ docker rm -f f7cd63011ccdce716f8ae89b240ba9f65384c312644153a7acbaac80541d679a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T07:20:26.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T07:20:27.559Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T07:20:27.584Z] [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-07T07:20:43.447Z] Still waiting to schedule task [2021-01-07T07:20:43.447Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-07T07:20:43.475Z] Still waiting to schedule task [2021-01-07T07:20:43.476Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-07T07:22:19.504Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18835 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [Pipeline] { [Pipeline] ws [2021-01-07T07:22:19.639Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-07T07:22:24.787Z] using credential edgex-jenkins-ssh [2021-01-07T07:22:24.859Z] Cloning the remote Git repository [2021-01-07T07:22:24.910Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:22:25.019Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-07T07:22:25.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:22:25.082Z] > git --version # timeout=10 [2021-01-07T07:22:25.102Z] > git --version # 'git version 2.17.1' [2021-01-07T07:22:25.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:22:25.171Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T07:22:26.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-07T07:22:26.795Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T07:22:26.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-07T07:22:26.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:22:26.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:22:26.887Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T07:22:27.464Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:22:27.673Z] Merge succeeded, producing c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:22:27.673Z] Checking out Revision c99d5dc85383e5fc32e239b83c619eb36f3eafe8 (PR-69) [2021-01-07T07:22:27.488Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T07:22:27.506Z] > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # timeout=10 [2021-01-07T07:22:27.581Z] > git remote # timeout=10 [2021-01-07T07:22:27.599Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T07:22:27.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:22:27.635Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-07T07:22:27.660Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T07:22:27.683Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T07:22:27.692Z] > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # timeout=10 [2021-01-07T07:22:32.178Z] Commit message: "feat: Remove Logging configuration" [2021-01-07T07:22:32.235Z] > git --version # timeout=10 [2021-01-07T07:22:32.248Z] > git --version # 'git version 2.17.1' [2021-01-07T07:22:32.261Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T07:22:34.247Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T07:22:34.698Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T07:22:35.074Z] + true [2021-01-07T07:22:35.074Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-07T07:22:37.838Z] provisioning config files... [2021-01-07T07:22:38.112Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6075361382419748275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:22:38.669Z] ---> docker-login.sh [2021-01-07T07:22:38.669Z] nexus3.edgexfoundry.org:10001 [2021-01-07T07:22:39.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:22:39.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:22:39.962Z] Configure a credential helper to remove this warning. See [2021-01-07T07:22:39.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:22:39.962Z] [2021-01-07T07:22:39.962Z] Login Succeeded [2021-01-07T07:22:39.962Z] nexus3.edgexfoundry.org:10002 [2021-01-07T07:22:40.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:22:40.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:22:40.234Z] Configure a credential helper to remove this warning. See [2021-01-07T07:22:40.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:22:40.234Z] [2021-01-07T07:22:40.234Z] Login Succeeded [2021-01-07T07:22:40.506Z] nexus3.edgexfoundry.org:10003 [2021-01-07T07:22:40.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:22:40.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:22:40.781Z] Configure a credential helper to remove this warning. See [2021-01-07T07:22:40.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:22:40.781Z] [2021-01-07T07:22:40.781Z] Login Succeeded [2021-01-07T07:22:40.781Z] nexus3.edgexfoundry.org:10004 [2021-01-07T07:22:41.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:22:41.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:22:41.381Z] Configure a credential helper to remove this warning. See [2021-01-07T07:22:41.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:22:41.381Z] [2021-01-07T07:22:41.381Z] Login Succeeded [2021-01-07T07:22:41.381Z] docker.io [2021-01-07T07:22:41.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:22:42.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:22:42.261Z] Configure a credential helper to remove this warning. See [2021-01-07T07:22:42.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:22:42.261Z] [2021-01-07T07:22:42.261Z] Login Succeeded [2021-01-07T07:22:42.261Z] ---> docker-login.sh ends [Pipeline] } [2021-01-07T07:22:42.293Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-07T07:22:42.863Z] ========================================================= [2021-01-07T07:22:42.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T07:22:42.863Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:22:43.284Z] + 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-07T07:22:43.284Z] Sending build context to Docker daemon 83.97kB [2021-01-07T07:22:43.557Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T07:22:43.557Z] Step 2/10 : FROM ${BASE} [2021-01-07T07:22:43.831Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T07:22:43.831Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T07:22:43.831Z] a4357932f1b6: Pulling fs layer [2021-01-07T07:22:43.831Z] 18c013af1878: Pulling fs layer [2021-01-07T07:22:43.831Z] 00ac8860ef70: Pulling fs layer [2021-01-07T07:22:43.831Z] 63d7cb157983: Pulling fs layer [2021-01-07T07:22:43.831Z] b116817d02f9: Pulling fs layer [2021-01-07T07:22:43.831Z] 745a02a5169b: Pulling fs layer [2021-01-07T07:22:43.831Z] 00ac8860ef70: Waiting [2021-01-07T07:22:43.831Z] 63d7cb157983: Waiting [2021-01-07T07:22:43.831Z] 745a02a5169b: Waiting [2021-01-07T07:22:43.831Z] b116817d02f9: Waiting [2021-01-07T07:22:43.831Z] 18c013af1878: Verifying Checksum [2021-01-07T07:22:43.831Z] 18c013af1878: Download complete [2021-01-07T07:22:43.831Z] a4357932f1b6: Verifying Checksum [2021-01-07T07:22:43.831Z] a4357932f1b6: Download complete [2021-01-07T07:22:43.831Z] 63d7cb157983: Verifying Checksum [2021-01-07T07:22:43.831Z] 63d7cb157983: Download complete [2021-01-07T07:22:44.429Z] b116817d02f9: Verifying Checksum [2021-01-07T07:22:44.429Z] b116817d02f9: Download complete [2021-01-07T07:22:44.429Z] 5f621e34cdf4: Verifying Checksum [2021-01-07T07:22:44.429Z] 5f621e34cdf4: Download complete [2021-01-07T07:22:45.030Z] 5f621e34cdf4: Pull complete [2021-01-07T07:22:45.630Z] a4357932f1b6: Pull complete [2021-01-07T07:22:46.233Z] 18c013af1878: Pull complete [2021-01-07T07:22:46.832Z] 745a02a5169b: Verifying Checksum [2021-01-07T07:22:46.832Z] 745a02a5169b: Download complete [2021-01-07T07:22:47.807Z] 00ac8860ef70: Verifying Checksum [2021-01-07T07:22:47.807Z] 00ac8860ef70: Download complete [2021-01-07T07:22:57.978Z] 00ac8860ef70: Pull complete [2021-01-07T07:22:57.978Z] 63d7cb157983: Pull complete [2021-01-07T07:22:58.253Z] b116817d02f9: Pull complete [2021-01-07T07:22:58.962Z] Running on prd-centos7-docker-4c-2g-18836 in /w/workspace/dgexfoundry_device-rest-go_PR-69 [Pipeline] { [Pipeline] ws [2021-01-07T07:22:59.099Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-07T07:23:01.639Z] using credential edgex-jenkins-ssh [2021-01-07T07:23:01.721Z] Cloning the remote Git repository [2021-01-07T07:23:02.595Z] 745a02a5169b: Pull complete [2021-01-07T07:23:02.595Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T07:23:02.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T07:23:02.595Z] ---> b7e6874047d6 [2021-01-07T07:23:02.595Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-07T07:23:01.750Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:23:01.819Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-07T07:23:01.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:23:01.891Z] > git --version # timeout=10 [2021-01-07T07:23:01.899Z] > git --version # 'git version 2.24.3' [2021-01-07T07:23:01.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:23:01.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T07:23:04.561Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:23:04.574Z] ---> Running in d66251115e66 [2021-01-07T07:23:04.652Z] Merge succeeded, producing c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:23:04.653Z] Checking out Revision c99d5dc85383e5fc32e239b83c619eb36f3eafe8 (PR-69) [2021-01-07T07:23:04.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-07T07:23:04.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T07:23:04.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-07T07:23:04.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-07T07:23:04.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:23:04.125Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T07:23:04.570Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T07:23:04.580Z] > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # timeout=10 [2021-01-07T07:23:04.616Z] > git remote # timeout=10 [2021-01-07T07:23:04.624Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T07:23:04.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T07:23:04.636Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-07T07:23:04.646Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T07:23:04.656Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T07:23:04.664Z] > git checkout -f c99d5dc85383e5fc32e239b83c619eb36f3eafe8 # timeout=10 [2021-01-07T07:23:05.171Z] Removing intermediate container d66251115e66 [2021-01-07T07:23:05.171Z] ---> e5900fdc570d [2021-01-07T07:23:05.171Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-07T07:23:05.171Z] ---> Running in d5457c51f9e4 [2021-01-07T07:23:05.771Z] Removing intermediate container d5457c51f9e4 [2021-01-07T07:23:05.771Z] ---> d1ee0c7de44d [2021-01-07T07:23:05.771Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T07:23:05.771Z] ---> Running in 59e625af3ed4 [2021-01-07T07:23:06.376Z] Removing intermediate container 59e625af3ed4 [2021-01-07T07:23:06.376Z] ---> f85d9744ae59 [2021-01-07T07:23:06.376Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-07T07:23:06.376Z] ---> Running in cf4a858a5dfb [2021-01-07T07:23:08.265Z] Commit message: "feat: Remove Logging configuration" [2021-01-07T07:23:08.301Z] > git --version # timeout=10 [2021-01-07T07:23:08.307Z] > git --version # 'git version 2.24.3' [2021-01-07T07:23:08.317Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-07T07:23:09.017Z] Removing intermediate container cf4a858a5dfb [2021-01-07T07:23:09.017Z] ---> 7be33fe09259 [2021-01-07T07:23:09.017Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-07T07:23:09.017Z] ---> Running in 5e5f3bca24d8 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T07:23:09.803Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T07:23:10.004Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T07:23:10.149Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T07:23:10.494Z] + sudo service docker restart [2021-01-07T07:23:10.494Z] + true [2021-01-07T07:23:10.494Z] Redirecting to /bin/systemctl restart docker.service [2021-01-07T07:23:10.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T07:23:11.575Z] OK: 142 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-07T07:23:12.038Z] provisioning config files... [2021-01-07T07:23:12.081Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7287134885808367969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:23:12.513Z] ---> docker-login.sh [2021-01-07T07:23:12.513Z] nexus3.edgexfoundry.org:10001 [2021-01-07T07:23:12.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:23:12.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:23:12.776Z] Configure a credential helper to remove this warning. See [2021-01-07T07:23:12.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:23:12.776Z] [2021-01-07T07:23:12.776Z] Login Succeeded [2021-01-07T07:23:12.776Z] nexus3.edgexfoundry.org:10002 [2021-01-07T07:23:13.012Z] Removing intermediate container 5e5f3bca24d8 [2021-01-07T07:23:13.012Z] ---> ebb0dac6ab2f [2021-01-07T07:23:13.012Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-07T07:23:13.012Z] ---> Running in 484ff705a95c [2021-01-07T07:23:13.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:23:13.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:23:13.047Z] Configure a credential helper to remove this warning. See [2021-01-07T07:23:13.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:23:13.047Z] [2021-01-07T07:23:13.048Z] Login Succeeded [2021-01-07T07:23:13.048Z] nexus3.edgexfoundry.org:10003 [2021-01-07T07:23:13.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:23:13.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:23:13.312Z] Configure a credential helper to remove this warning. See [2021-01-07T07:23:13.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:23:13.312Z] [2021-01-07T07:23:13.312Z] Login Succeeded [2021-01-07T07:23:13.312Z] nexus3.edgexfoundry.org:10004 [2021-01-07T07:23:13.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:23:13.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:23:13.312Z] Configure a credential helper to remove this warning. See [2021-01-07T07:23:13.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:23:13.312Z] [2021-01-07T07:23:13.312Z] Login Succeeded [2021-01-07T07:23:13.312Z] docker.io [2021-01-07T07:23:13.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-07T07:23:13.611Z] Removing intermediate container 484ff705a95c [2021-01-07T07:23:13.611Z] ---> 0c1381890083 [2021-01-07T07:23:13.611Z] Step 9/10 : COPY . . [2021-01-07T07:23:13.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-07T07:23:13.837Z] Configure a credential helper to remove this warning. See [2021-01-07T07:23:13.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-07T07:23:13.837Z] [2021-01-07T07:23:13.837Z] Login Succeeded [2021-01-07T07:23:13.837Z] ---> docker-login.sh ends [Pipeline] } [2021-01-07T07:23:13.865Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-07T07:23:14.212Z] ---> 0efafa62f1cc [2021-01-07T07:23:14.212Z] Step 10/10 : RUN go mod download [Pipeline] echo [2021-01-07T07:23:14.431Z] ========================================================= [2021-01-07T07:23:14.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T07:23:14.431Z] ========================================================= [2021-01-07T07:23:14.487Z] ---> Running in 197ea1985d26 [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:23:14.829Z] + 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-07T07:23:14.829Z] Sending build context to Docker daemon 83.97kB [2021-01-07T07:23:14.829Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T07:23:14.829Z] Step 2/10 : FROM ${BASE} [2021-01-07T07:23:14.829Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T07:23:14.829Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T07:23:14.829Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T07:23:14.829Z] de9db76c5a1d: Pulling fs layer [2021-01-07T07:23:14.829Z] bca2f99d35d6: Pulling fs layer [2021-01-07T07:23:14.829Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T07:23:14.829Z] 7c6f9722023f: Pulling fs layer [2021-01-07T07:23:14.829Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T07:23:14.829Z] 93359f2a8cfa: Waiting [2021-01-07T07:23:14.829Z] 7c6f9722023f: Waiting [2021-01-07T07:23:14.829Z] a35cf1a2eb13: Waiting [2021-01-07T07:23:14.829Z] bca2f99d35d6: Waiting [2021-01-07T07:23:15.093Z] de9db76c5a1d: Verifying Checksum [2021-01-07T07:23:15.093Z] de9db76c5a1d: Download complete [2021-01-07T07:23:15.093Z] 0ef7d3d256c8: Download complete [2021-01-07T07:23:15.093Z] 93359f2a8cfa: Verifying Checksum [2021-01-07T07:23:15.093Z] 93359f2a8cfa: Download complete [2021-01-07T07:23:15.093Z] 7c6f9722023f: Verifying Checksum [2021-01-07T07:23:15.093Z] 7c6f9722023f: Download complete [2021-01-07T07:23:15.093Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T07:23:15.093Z] 188c0c94c7c5: Download complete [2021-01-07T07:23:15.357Z] 188c0c94c7c5: Pull complete [2021-01-07T07:23:15.622Z] 0ef7d3d256c8: Pull complete [2021-01-07T07:23:15.622Z] de9db76c5a1d: Pull complete [2021-01-07T07:23:17.037Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T07:23:17.037Z] a35cf1a2eb13: Download complete [2021-01-07T07:23:17.614Z] bca2f99d35d6: Verifying Checksum [2021-01-07T07:23:17.614Z] bca2f99d35d6: Download complete [2021-01-07T07:23:22.942Z] bca2f99d35d6: Pull complete [2021-01-07T07:23:22.942Z] 93359f2a8cfa: Pull complete [2021-01-07T07:23:22.942Z] 7c6f9722023f: Pull complete [2021-01-07T07:23:31.138Z] a35cf1a2eb13: Pull complete [2021-01-07T07:23:31.138Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T07:23:31.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T07:23:31.138Z] ---> a62c8e92a672 [2021-01-07T07:23:31.138Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-07T07:23:31.404Z] ---> Running in 628a80fe5f5e [2021-01-07T07:23:31.670Z] Removing intermediate container 628a80fe5f5e [2021-01-07T07:23:31.670Z] ---> 4a89199092f4 [2021-01-07T07:23:31.670Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-07T07:23:31.670Z] ---> Running in f8f198c30903 [2021-01-07T07:23:31.936Z] Removing intermediate container f8f198c30903 [2021-01-07T07:23:31.937Z] ---> 5c6c14567202 [2021-01-07T07:23:31.937Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T07:23:31.937Z] ---> Running in fbed6aa6950a [2021-01-07T07:23:32.200Z] Removing intermediate container fbed6aa6950a [2021-01-07T07:23:32.200Z] ---> 28ad236b5abd [2021-01-07T07:23:32.200Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-07T07:23:32.200Z] ---> Running in bcb11c43bf61 [2021-01-07T07:23:33.601Z] Removing intermediate container bcb11c43bf61 [2021-01-07T07:23:33.601Z] ---> a358f298ee32 [2021-01-07T07:23:33.601Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-07T07:23:33.601Z] ---> Running in e0316cb84ab8 [2021-01-07T07:23:34.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T07:23:34.763Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T07:23:35.339Z] OK: 166 MiB in 39 packages [2021-01-07T07:23:35.916Z] Removing intermediate container e0316cb84ab8 [2021-01-07T07:23:35.916Z] ---> 873c7bf58bb8 [2021-01-07T07:23:35.916Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-07T07:23:35.916Z] ---> Running in 2739447fed8c [2021-01-07T07:23:36.186Z] Removing intermediate container 2739447fed8c [2021-01-07T07:23:36.186Z] ---> cdb1e13ad01a [2021-01-07T07:23:36.186Z] Step 9/10 : COPY . . [2021-01-07T07:23:36.450Z] ---> 0ddd5d8abfb2 [2021-01-07T07:23:36.450Z] Step 10/10 : RUN go mod download [2021-01-07T07:23:36.450Z] ---> Running in fec661ceae9c [2021-01-07T07:23:36.660Z] Removing intermediate container 197ea1985d26 [2021-01-07T07:23:36.660Z] ---> b982a9d32e5b [2021-01-07T07:23:36.660Z] Successfully built b982a9d32e5b [2021-01-07T07:23:36.660Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:23:37.052Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T07:23:37.052Z] . [Pipeline] withDockerContainer [2021-01-07T07:23:37.357Z] prd-ubuntu18.04-docker-arm64-4c-16g-18835 does not seem to be running inside a container [2021-01-07T07:23:37.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2021-01-07T07:23:38.939Z] $ docker top b77decae0f6193dd8193a6c007ea2a6b760c38cfe86c78b4e17d6bf6f49e1797 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T07:23:40.080Z] + go version [2021-01-07T07:23:40.080Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T07:23:40.121Z] $ docker stop --time=1 b77decae0f6193dd8193a6c007ea2a6b760c38cfe86c78b4e17d6bf6f49e1797 [2021-01-07T07:23:42.107Z] $ docker rm -f b77decae0f6193dd8193a6c007ea2a6b760c38cfe86c78b4e17d6bf6f49e1797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:23:43.602Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T07:23:43.602Z] . [Pipeline] withDockerContainer [2021-01-07T07:23:43.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-18835 does not seem to be running inside a container [2021-01-07T07:23:43.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2021-01-07T07:23:45.526Z] $ docker top 2d74f89665281b78dcfbf65c1bc810aa14ac8b10d3e397a941bff11cb415cc64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T07:23:46.612Z] + make test [2021-01-07T07:23:46.612Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-07T07:23:47.598Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-07T07:23:54.661Z] Removing intermediate container fec661ceae9c [2021-01-07T07:23:54.661Z] ---> d2d37517f620 [2021-01-07T07:23:54.661Z] Successfully built d2d37517f620 [2021-01-07T07:23:54.661Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:23:55.026Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T07:23:55.026Z] . [Pipeline] withDockerContainer [2021-01-07T07:23:55.181Z] prd-centos7-docker-4c-2g-18836 does not seem to be running inside a container [2021-01-07T07:23:55.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-07T07:23:55.974Z] $ docker top b3af30d486cf63290b8c5b069efb37ff303cdb19ae340edfdd3a05986dfe2f05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T07:23:56.527Z] + go version [2021-01-07T07:23:56.527Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T07:23:56.560Z] $ docker stop --time=1 b3af30d486cf63290b8c5b069efb37ff303cdb19ae340edfdd3a05986dfe2f05 [2021-01-07T07:23:57.906Z] $ docker rm -f b3af30d486cf63290b8c5b069efb37ff303cdb19ae340edfdd3a05986dfe2f05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:23:59.079Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T07:23:59.079Z] . [Pipeline] withDockerContainer [2021-01-07T07:23:59.206Z] prd-centos7-docker-4c-2g-18836 does not seem to be running inside a container [2021-01-07T07:23:59.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-07T07:23:59.930Z] $ docker top dcbfb638e87f4f3418705d37ab02cb0ea87182cfc01383ce47d34eff8c8bfb62 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T07:24:00.477Z] + make test [2021-01-07T07:24:00.477Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-07T07:24:01.058Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-07T07:24:13.475Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-07T07:24:13.475Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements [2021-01-07T07:24:13.475Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T07:24:14.890Z] gofmt -l . [2021-01-07T07:24:14.890Z] [ "`gofmt -l .`" = "" ] [2021-01-07T07:24:14.890Z] ./bin/test-go-mod-tidy.sh [2021-01-07T07:24:15.465Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-07T07:24:15.763Z] $ docker stop --time=1 dcbfb638e87f4f3418705d37ab02cb0ea87182cfc01383ce47d34eff8c8bfb62 [2021-01-07T07:24:18.052Z] $ docker rm -f dcbfb638e87f4f3418705d37ab02cb0ea87182cfc01383ce47d34eff8c8bfb62 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T07:24:18.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T07:24:19.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-07T07:24:19.986Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-07T07:24:20.968Z] ok github.com/edgexfoundry/device-rest-go/driver 0.111s coverage: 56.3% of statements [2021-01-07T07:24:21.241Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh [2021-01-07T07:24:23.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-07T07:24:23.706Z] + ls -al . [2021-01-07T07:24:23.706Z] total 96 [2021-01-07T07:24:23.706Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 7 07:24 . [2021-01-07T07:24:23.706Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 7 07:23 .. [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 7 07:23 Attribution.txt [2021-01-07T07:24:23.706Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 7 07:23 bin [2021-01-07T07:24:23.706Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 7 07:23 cmd [2021-01-07T07:24:23.706Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 7 07:24 coverage.out [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 7 07:23 Dockerfile [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 7 07:23 Dockerfile.build [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 7 07:23 .dockerignore [2021-01-07T07:24:23.706Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 7 07:24 driver [2021-01-07T07:24:23.706Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 7 07:23 .git [2021-01-07T07:24:23.706Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 7 07:23 .github [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 7 07:23 .gitignore [2021-01-07T07:24:23.706Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 7 07:24 go.mod [2021-01-07T07:24:23.706Z] -rw-r--r--. 1 jenkins jenkins 13790 Jan 7 07:24 go.sum [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 7 07:23 Jenkinsfile [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 7 07:23 LICENSE [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 7 07:23 Makefile [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 7 07:23 README.md [2021-01-07T07:24:23.706Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 7 07:23 snap [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 7 07:20 VERSION [2021-01-07T07:24:23.706Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 7 07:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:24:24.051Z] + 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=c99d5dc85383e5fc32e239b83c619eb36f3eafe8 --label arch=amd64 --label version=0.0.0 . [2021-01-07T07:24:24.051Z] Sending build context to Docker daemon 95.74kB [2021-01-07T07:24:24.051Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T07:24:24.051Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-07T07:24:24.052Z] ---> d2d37517f620 [2021-01-07T07:24:24.052Z] Step 3/25 : ARG MAKE='make build' [2021-01-07T07:24:24.319Z] ---> Running in f51d3029b992 [2021-01-07T07:24:24.319Z] Removing intermediate container f51d3029b992 [2021-01-07T07:24:24.319Z] ---> 0273ca98d372 [2021-01-07T07:24:24.319Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-07T07:24:24.319Z] ---> Running in f752a13ce44c [2021-01-07T07:24:24.583Z] Removing intermediate container f752a13ce44c [2021-01-07T07:24:24.583Z] ---> 2ce3ea2329a1 [2021-01-07T07:24:24.583Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-07T07:24:24.583Z] ---> Running in 8bb276f34a1b [2021-01-07T07:24:24.853Z] Removing intermediate container 8bb276f34a1b [2021-01-07T07:24:24.853Z] ---> 85e9530beedc [2021-01-07T07:24:24.853Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-07T07:24:24.853Z] ---> Running in a6ef0a2b0013 [2021-01-07T07:24:25.803Z] Removing intermediate container a6ef0a2b0013 [2021-01-07T07:24:25.803Z] ---> fa72922a4e0c [2021-01-07T07:24:25.803Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-07T07:24:25.803Z] ---> Running in 0d4085f19e4d [2021-01-07T07:24:26.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T07:24:26.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T07:24:27.551Z] OK: 166 MiB in 39 packages [2021-01-07T07:24:28.011Z] gofmt -l . [2021-01-07T07:24:28.124Z] Removing intermediate container 0d4085f19e4d [2021-01-07T07:24:28.124Z] ---> 692799cad229 [2021-01-07T07:24:28.124Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-07T07:24:28.124Z] ---> Running in 4ccac2dcc52d [2021-01-07T07:24:28.289Z] [ "`gofmt -l .`" = "" ] [2021-01-07T07:24:28.289Z] ./bin/test-go-mod-tidy.sh [2021-01-07T07:24:28.386Z] Removing intermediate container 4ccac2dcc52d [2021-01-07T07:24:28.386Z] ---> a8f6176fb926 [2021-01-07T07:24:28.386Z] Step 9/25 : COPY go.mod . [2021-01-07T07:24:28.562Z] ./bin/test-attribution-txt.sh [2021-01-07T07:24:28.649Z] ---> d4a6fe4137de [2021-01-07T07:24:28.649Z] Step 10/25 : COPY Makefile . [2021-01-07T07:24:28.649Z] ---> aba88f49feeb [2021-01-07T07:24:28.649Z] Step 11/25 : RUN make update [2021-01-07T07:24:28.913Z] ---> Running in 773a673c4eab [2021-01-07T07:24:29.174Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] } [2021-01-07T07:24:29.582Z] $ docker stop --time=1 2d74f89665281b78dcfbf65c1bc810aa14ac8b10d3e397a941bff11cb415cc64 [2021-01-07T07:24:29.749Z] Removing intermediate container 773a673c4eab [2021-01-07T07:24:29.749Z] ---> 67b71eaab15d [2021-01-07T07:24:29.749Z] Step 12/25 : COPY . . [2021-01-07T07:24:30.012Z] ---> a9e0d847bd94 [2021-01-07T07:24:30.012Z] Step 13/25 : RUN $MAKE [2021-01-07T07:24:30.012Z] ---> Running in 759fac7db58f [2021-01-07T07:24:30.596Z] 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-07T07:24:31.868Z] $ docker rm -f 2d74f89665281b78dcfbf65c1bc810aa14ac8b10d3e397a941bff11cb415cc64 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T07:24:32.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T07:24:32.909Z] Warning: overwriting stash ‘coverage-report’ [2021-01-07T07:24:33.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T07:24:34.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-07T07:24:34.967Z] + ls -al . [2021-01-07T07:24:34.967Z] total 124 [2021-01-07T07:24:34.967Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 07:24 . [2021-01-07T07:24:34.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 7 07:22 .. [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 7 07:22 .dockerignore [2021-01-07T07:24:34.967Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 07:22 .git [2021-01-07T07:24:34.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 07:22 .github [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 7 07:22 .gitignore [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 7 07:22 Attribution.txt [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 7 07:22 Dockerfile [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 7 07:22 Dockerfile.build [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 7 07:22 Jenkinsfile [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 7 07:22 LICENSE [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 7 07:22 Makefile [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 7 07:22 README.md [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 7 07:20 VERSION [2021-01-07T07:24:34.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 07:22 bin [2021-01-07T07:24:34.967Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 07:22 cmd [2021-01-07T07:24:34.967Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 7 07:24 coverage.out [2021-01-07T07:24:34.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 07:24 driver [2021-01-07T07:24:34.967Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 7 07:24 go.mod [2021-01-07T07:24:34.967Z] -rw-r--r-- 1 jenkins jenkins 13790 Jan 7 07:24 go.sum [2021-01-07T07:24:34.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 7 07:22 snap [2021-01-07T07:24:34.967Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 7 07:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:24:35.372Z] + 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=c99d5dc85383e5fc32e239b83c619eb36f3eafe8 --label arch=arm64 --label version=0.0.0 . [2021-01-07T07:24:35.372Z] Sending build context to Docker daemon 95.74kB [2021-01-07T07:24:35.649Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T07:24:35.649Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-07T07:24:35.649Z] ---> b982a9d32e5b [2021-01-07T07:24:35.649Z] Step 3/25 : ARG MAKE='make build' [2021-01-07T07:24:35.933Z] ---> Running in d124efb132b4 [2021-01-07T07:24:36.534Z] Removing intermediate container d124efb132b4 [2021-01-07T07:24:36.534Z] ---> f947a6bc3245 [2021-01-07T07:24:36.534Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-07T07:24:36.534Z] ---> Running in 51b0d7cd3f96 [2021-01-07T07:24:37.135Z] Removing intermediate container 51b0d7cd3f96 [2021-01-07T07:24:37.135Z] ---> 586332daa01c [2021-01-07T07:24:37.135Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-07T07:24:37.135Z] ---> Running in 87d183551202 [2021-01-07T07:24:37.736Z] Removing intermediate container 87d183551202 [2021-01-07T07:24:37.736Z] ---> 0db14e61c98c [2021-01-07T07:24:37.736Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-07T07:24:37.736Z] ---> Running in 8e40f507cc58 [2021-01-07T07:24:40.354Z] Removing intermediate container 8e40f507cc58 [2021-01-07T07:24:40.354Z] ---> dfd66b206e30 [2021-01-07T07:24:40.354Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-07T07:24:40.354Z] ---> Running in b7d85f98029b [2021-01-07T07:24:40.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T07:24:41.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T07:24:42.527Z] OK: 142 MiB in 39 packages [2021-01-07T07:24:42.929Z] Removing intermediate container 759fac7db58f [2021-01-07T07:24:42.929Z] ---> 766c85e581b5 [2021-01-07T07:24:42.929Z] Step 14/25 : FROM alpine:3.12 [2021-01-07T07:24:42.929Z] 3.12: Pulling from library/alpine [2021-01-07T07:24:42.929Z] 801bfaa63ef2: Pulling fs layer [2021-01-07T07:24:42.929Z] 801bfaa63ef2: Verifying Checksum [2021-01-07T07:24:42.929Z] 801bfaa63ef2: Download complete [2021-01-07T07:24:42.929Z] 801bfaa63ef2: Pull complete [2021-01-07T07:24:42.929Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-07T07:24:42.929Z] Status: Downloaded newer image for alpine:3.12 [2021-01-07T07:24:42.929Z] ---> 389fef711851 [2021-01-07T07:24:42.929Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T07:24:42.929Z] ---> Running in c9ef3238aeb8 [2021-01-07T07:24:42.929Z] Removing intermediate container c9ef3238aeb8 [2021-01-07T07:24:42.929Z] ---> a8051afa7305 [2021-01-07T07:24:42.929Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-07T07:24:42.929Z] ---> Running in 418b4a01a0fb [2021-01-07T07:24:42.929Z] Removing intermediate container 418b4a01a0fb [2021-01-07T07:24:42.929Z] ---> dbc663ecdf09 [2021-01-07T07:24:42.929Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-07T07:24:42.929Z] ---> aa542d7e06e4 [2021-01-07T07:24:42.929Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-07T07:24:42.929Z] ---> e07ca42d7914 [2021-01-07T07:24:42.929Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-07T07:24:43.511Z] ---> 36d52a15b90b [2021-01-07T07:24:43.511Z] Step 20/25 : EXPOSE 49986 [2021-01-07T07:24:43.518Z] Removing intermediate container b7d85f98029b [2021-01-07T07:24:43.518Z] ---> 604917dbecc7 [2021-01-07T07:24:43.518Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-07T07:24:43.776Z] ---> Running in 02e2125a19b5 [2021-01-07T07:24:43.794Z] ---> Running in cdc3c461eaf5 [2021-01-07T07:24:44.038Z] Removing intermediate container 02e2125a19b5 [2021-01-07T07:24:44.038Z] ---> 6d7cb0807e95 [2021-01-07T07:24:44.038Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-07T07:24:44.038Z] ---> Running in 47b506aa2164 [2021-01-07T07:24:44.038Z] Removing intermediate container 47b506aa2164 [2021-01-07T07:24:44.038Z] ---> ec8d7fa84921 [2021-01-07T07:24:44.038Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-07T07:24:44.307Z] ---> Running in 079dac1f58e3 [2021-01-07T07:24:44.307Z] Removing intermediate container 079dac1f58e3 [2021-01-07T07:24:44.307Z] ---> 34071b0834ce [2021-01-07T07:24:44.307Z] Step 23/25 : LABEL arch=amd64 [2021-01-07T07:24:44.307Z] ---> Running in 50ed0ddc3046 [2021-01-07T07:24:44.391Z] Removing intermediate container cdc3c461eaf5 [2021-01-07T07:24:44.392Z] ---> cdf3f5493d89 [2021-01-07T07:24:44.392Z] Step 9/25 : COPY go.mod . [2021-01-07T07:24:44.574Z] Removing intermediate container 50ed0ddc3046 [2021-01-07T07:24:44.574Z] ---> f94226b31939 [2021-01-07T07:24:44.574Z] Step 24/25 : LABEL git_sha=c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:24:44.574Z] ---> Running in e4f685e9d680 [2021-01-07T07:24:44.837Z] Removing intermediate container e4f685e9d680 [2021-01-07T07:24:44.837Z] ---> 267a5d44942a [2021-01-07T07:24:44.837Z] Step 25/25 : LABEL version=0.0.0 [2021-01-07T07:24:44.837Z] ---> Running in f7c481a61087 [2021-01-07T07:24:44.985Z] ---> 0d9ff8393eef [2021-01-07T07:24:44.985Z] Step 10/25 : COPY Makefile . [2021-01-07T07:24:45.100Z] Removing intermediate container f7c481a61087 [2021-01-07T07:24:45.100Z] ---> 51330f5e2417 [2021-01-07T07:24:45.100Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-07T07:24:45.100Z] Successfully built 51330f5e2417 [2021-01-07T07:24:45.100Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [2021-01-07T07:24:45.579Z] ---> 7c57e903cc1f [2021-01-07T07:24:45.579Z] Step 11/25 : RUN make update [2021-01-07T07:24:45.856Z] ---> Running in 1ec71a5b28e1 [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] } [2021-01-07T07:24:46.855Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T07:24:48.296Z] Removing intermediate container 1ec71a5b28e1 [2021-01-07T07:24:48.296Z] ---> fbadf7a7a4bf [2021-01-07T07:24:48.296Z] Step 12/25 : COPY . . [2021-01-07T07:24:48.897Z] ---> 0dabef7490fa [2021-01-07T07:24:48.897Z] Step 13/25 : RUN $MAKE [2021-01-07T07:24:48.897Z] ---> Running in bcbed63fc1d0 [2021-01-07T07:24:50.335Z] 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-07T07:25:17.154Z] Removing intermediate container bcbed63fc1d0 [2021-01-07T07:25:17.154Z] ---> 2a8a81bfac95 [2021-01-07T07:25:17.154Z] Step 14/25 : FROM alpine:3.12 [2021-01-07T07:25:17.425Z] 3.12: Pulling from library/alpine [2021-01-07T07:25:17.699Z] 159e5727ea61: Pulling fs layer [2021-01-07T07:25:17.974Z] 159e5727ea61: Verifying Checksum [2021-01-07T07:25:17.974Z] 159e5727ea61: Download complete [2021-01-07T07:25:18.572Z] 159e5727ea61: Pull complete [2021-01-07T07:25:18.572Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-07T07:25:18.572Z] Status: Downloaded newer image for alpine:3.12 [2021-01-07T07:25:18.572Z] ---> afeebe901d6b [2021-01-07T07:25:18.572Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T07:25:18.843Z] ---> Running in 960fe2ada437 [2021-01-07T07:25:19.115Z] Removing intermediate container 960fe2ada437 [2021-01-07T07:25:19.115Z] ---> c5bfe8509b8b [2021-01-07T07:25:19.115Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-07T07:25:19.389Z] ---> Running in f7b3a7e197e5 [2021-01-07T07:25:19.662Z] Removing intermediate container f7b3a7e197e5 [2021-01-07T07:25:19.662Z] ---> db3b915c0026 [2021-01-07T07:25:19.662Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-07T07:25:20.639Z] ---> 71297e12af7e [2021-01-07T07:25:20.639Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-07T07:25:21.235Z] ---> c31a5e54f8cd [2021-01-07T07:25:21.235Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-07T07:25:22.230Z] ---> 7537561f77c7 [2021-01-07T07:25:22.230Z] Step 20/25 : EXPOSE 49986 [2021-01-07T07:25:22.508Z] ---> Running in 1dbe1ae7c250 [2021-01-07T07:25:23.101Z] Removing intermediate container 1dbe1ae7c250 [2021-01-07T07:25:23.101Z] ---> cff58eaf4855 [2021-01-07T07:25:23.101Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-07T07:25:23.101Z] ---> Running in 8a1f625a1e1d [2021-01-07T07:25:23.375Z] Removing intermediate container 8a1f625a1e1d [2021-01-07T07:25:23.375Z] ---> 3946e55a37ec [2021-01-07T07:25:23.375Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-07T07:25:23.650Z] ---> Running in 39d9b7c0b1d4 [2021-01-07T07:25:24.244Z] Removing intermediate container 39d9b7c0b1d4 [2021-01-07T07:25:24.244Z] ---> 915ca6391cf5 [2021-01-07T07:25:24.244Z] Step 23/25 : LABEL arch=arm64 [2021-01-07T07:25:24.244Z] ---> Running in 7264e07a320c [2021-01-07T07:25:24.518Z] Removing intermediate container 7264e07a320c [2021-01-07T07:25:24.518Z] ---> 393f1da43537 [2021-01-07T07:25:24.518Z] Step 24/25 : LABEL git_sha=c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [2021-01-07T07:25:24.790Z] ---> Running in b85fb6c25eb5 [2021-01-07T07:25:25.386Z] Removing intermediate container b85fb6c25eb5 [2021-01-07T07:25:25.386Z] ---> 9ae3b43b4910 [2021-01-07T07:25:25.386Z] Step 25/25 : LABEL version=0.0.0 [2021-01-07T07:25:25.386Z] ---> Running in 8a65cbd8f2c2 [2021-01-07T07:25:25.661Z] Removing intermediate container 8a65cbd8f2c2 [2021-01-07T07:25:25.661Z] ---> c85dc4ea956e [2021-01-07T07:25:25.661Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-07T07:25:25.661Z] Successfully built c85dc4ea956e [2021-01-07T07:25:25.934Z] 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-07T07:25:28.091Z] provisioning config files... [2021-01-07T07:25:28.112Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config5505040218488709003tmp [Pipeline] { [Pipeline] sh [2021-01-07T07:25:28.581Z] + set +x [2021-01-07T07:25:28.581Z] + curl -s https://codecov.io/bash [2021-01-07T07:25:28.581Z] + bash -s -- [2021-01-07T07:25:28.864Z] [2021-01-07T07:25:28.864Z] _____ _ [2021-01-07T07:25:28.864Z] / ____| | | [2021-01-07T07:25:28.864Z] | | ___ __| | ___ ___ _____ __ [2021-01-07T07:25:28.864Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-07T07:25:28.864Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-07T07:25:28.864Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-07T07:25:28.864Z] Bash-20201231-23d4836 [2021-01-07T07:25:28.864Z] [2021-01-07T07:25:28.864Z] [2021-01-07T07:25:28.864Z] ==> git version 2.24.3 found [2021-01-07T07:25:28.864Z] ==> 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-07T07:25:28.864Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-07T07:25:28.864Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-07T07:25:28.864Z] ==> Jenkins CI detected. [2021-01-07T07:25:28.864Z] project root: . [2021-01-07T07:25:28.864Z] --> token set from env [2021-01-07T07:25:29.147Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-07T07:25:29.147Z] ==> Running gcov in . (disable via -X gcov) [2021-01-07T07:25:29.147Z] ==> Python coveragepy not found [2021-01-07T07:25:29.147Z] ==> Searching for coverage reports in: [2021-01-07T07:25:29.147Z] + . [2021-01-07T07:25:29.147Z] -> Found 1 reports [2021-01-07T07:25:29.147Z] ==> Detecting git/mercurial file structure [2021-01-07T07:25:29.147Z] ==> Reading reports [2021-01-07T07:25:29.147Z] + ./coverage.out bytes=9369 [2021-01-07T07:25:29.147Z] ==> Appending adjustments [2021-01-07T07:25:29.147Z] https://docs.codecov.io/docs/fixing-reports [2021-01-07T07:25:29.456Z] + Found adjustments [2021-01-07T07:25:29.456Z] ==> Gzipping contents [2021-01-07T07:25:29.456Z] 4.0K /tmp/codecov.iUtJJb.gz [2021-01-07T07:25:29.456Z] ==> Uploading reports [2021-01-07T07:25:29.456Z] url: https://codecov.io [2021-01-07T07:25:29.456Z] query: branch=PR-69&commit=c99d5dc85383e5fc32e239b83c619eb36f3eafe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-69%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=69&job=&cmd_args= [2021-01-07T07:25:29.456Z] -> Pinging Codecov [2021-01-07T07:25:29.456Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-69&commit=c99d5dc85383e5fc32e239b83c619eb36f3eafe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-69%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=69&job=&cmd_args= [2021-01-07T07:25:30.083Z] -> Uploading to [2021-01-07T07:25:30.083Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-07/4E5D53B4F1F92C436F7061BF334D961C/c99d5dc85383e5fc32e239b83c619eb36f3eafe8/a4e4536a-e875-48d0-bd75-9fd7a2590b0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210107T072529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71d9ce749c0a76ba59391e774363b55e7a5a7bead31f4c4a7e209f253e2c22d0 [2021-01-07T07:25:30.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T07:25:30.083Z] Dload Upload Total Spent Left Speed [2021-01-07T07:25:30.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3450 --:--:-- --:--:-- --:--:-- 3452 [2021-01-07T07:25:30.627Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c99d5dc85383e5fc32e239b83c619eb36f3eafe8 [Pipeline] } [2021-01-07T07:25:30.654Z] 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-07T07:25:34.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:25:35.130Z] ---> package-listing.sh [2021-01-07T07:25:35.130Z] ++ facter osfamily [2021-01-07T07:25:35.130Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T07:25:35.130Z] + OS_FAMILY=redhat [2021-01-07T07:25:35.130Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-69 [2021-01-07T07:25:35.130Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T07:25:35.130Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T07:25:35.130Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T07:25:35.130Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T07:25:35.130Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-69 ']' [2021-01-07T07:25:35.130Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T07:25:35.130Z] + case "${OS_FAMILY}" in [2021-01-07T07:25:35.130Z] + rpm -qa [2021-01-07T07:25:35.130Z] + sort [2021-01-07T07:25:41.783Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T07:25:41.783Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T07:25:41.783Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T07:25:41.783Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-69 ']' [2021-01-07T07:25:41.783Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-69/archives/ [2021-01-07T07:25:41.783Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-69/archives/ [Pipeline] echo [2021-01-07T07:25:41.832Z] 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-69/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T07:25:42.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:25:42.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T07:25:42.815Z] [2021-01-07T07:25:42.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T07:25:43.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T07:25:43.234Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T07:25:43.234Z] df20fa9351a1: Pulling fs layer [2021-01-07T07:25:43.234Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T07:25:43.234Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T07:25:43.234Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T07:25:43.234Z] 93b61091891f: Pulling fs layer [2021-01-07T07:25:43.234Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T07:25:43.234Z] 5e14af77c1be: Pulling fs layer [2021-01-07T07:25:43.234Z] 01666e4c0597: Pulling fs layer [2021-01-07T07:25:43.234Z] 46f8f816bc3b: Waiting [2021-01-07T07:25:43.234Z] 93b61091891f: Waiting [2021-01-07T07:25:43.234Z] 93b9cdb0e59b: Waiting [2021-01-07T07:25:43.234Z] aa168da1d23b: Pulling fs layer [2021-01-07T07:25:43.234Z] 5e14af77c1be: Waiting [2021-01-07T07:25:43.234Z] 01666e4c0597: Waiting [2021-01-07T07:25:43.234Z] aa168da1d23b: Waiting [2021-01-07T07:25:43.503Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T07:25:43.503Z] 36b3adc4ff6f: Download complete [2021-01-07T07:25:43.503Z] 46f8f816bc3b: Verifying Checksum [2021-01-07T07:25:43.503Z] 46f8f816bc3b: Download complete [2021-01-07T07:25:43.503Z] df20fa9351a1: Verifying Checksum [2021-01-07T07:25:43.503Z] df20fa9351a1: Download complete [2021-01-07T07:25:43.503Z] 93b9cdb0e59b: Download complete [2021-01-07T07:25:43.503Z] 5e14af77c1be: Verifying Checksum [2021-01-07T07:25:43.503Z] 5e14af77c1be: Download complete [2021-01-07T07:25:43.503Z] 01666e4c0597: Verifying Checksum [2021-01-07T07:25:43.503Z] 01666e4c0597: Download complete [2021-01-07T07:25:43.773Z] 93b61091891f: Verifying Checksum [2021-01-07T07:25:43.773Z] 93b61091891f: Download complete [2021-01-07T07:25:44.037Z] df20fa9351a1: Pull complete [2021-01-07T07:25:44.309Z] 36b3adc4ff6f: Pull complete [2021-01-07T07:25:44.598Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T07:25:44.598Z] 8ad3a11d3b57: Download complete [2021-01-07T07:25:46.066Z] 8ad3a11d3b57: Pull complete [2021-01-07T07:25:46.360Z] 46f8f816bc3b: Pull complete [2021-01-07T07:25:46.643Z] 93b61091891f: Pull complete [2021-01-07T07:25:46.912Z] 93b9cdb0e59b: Pull complete [2021-01-07T07:25:47.231Z] 5e14af77c1be: Pull complete [2021-01-07T07:25:47.231Z] 01666e4c0597: Pull complete [2021-01-07T07:25:49.984Z] aa168da1d23b: Verifying Checksum [2021-01-07T07:25:49.984Z] aa168da1d23b: Download complete [2021-01-07T07:26:02.429Z] aa168da1d23b: Pull complete [2021-01-07T07:26:02.429Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T07:26:02.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T07:26:02.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T07:26:02.807Z] prd-centos7-docker-4c-2g-18834 does not seem to be running inside a container [2021-01-07T07:26:02.918Z] $ 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-69/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-69 -v /w/workspace/dgexfoundry_device-rest-go_PR-69:/w/workspace/dgexfoundry_device-rest-go_PR-69:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-69@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T07:26:07.229Z] $ docker top 0937a2f81448c9144b4bc979cb839bb0bcf61868ca294f8f9735a8c22e965bc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T07:26:07.943Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T07:26:08.327Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T07:26:08.681Z] + ls /var/log/sa-host [2021-01-07T07:26:08.681Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T07:26:08.681Z] file_magic: OK [2021-01-07T07:26:08.682Z] HZ: Using current value: 100 [2021-01-07T07:26:08.682Z] file_header: OK [2021-01-07T07:26:08.682Z] 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-07T07:26:08.682Z] Statistics: [2021-01-07T07:26:08.682Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-07T07:26:08.682Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T07:26:08.682Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T07:26:08.682Z] file_magic: OK [2021-01-07T07:26:08.682Z] HZ: Using current value: 100 [2021-01-07T07:26:08.682Z] file_header: OK [2021-01-07T07:26:08.682Z] 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-07T07:26:08.682Z] Statistics: [2021-01-07T07:26:08.682Z] Hnuu...uuuununununu... [2021-01-07T07:26:08.682Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T07:26:08.985Z] provisioning config files... [2021-01-07T07:26:09.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-69@tmp/config1507310618589772570tmp [Pipeline] { [Pipeline] echo [2021-01-07T07:26:09.130Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:26:09.480Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T07:26:09.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T07:26:09.672Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:26:10.086Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T07:26:10.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:26:10.526Z] ---> sudo-logs.sh [2021-01-07T07:26:10.526Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T07:26:10.565Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:26:10.916Z] ---> job-cost.sh [2021-01-07T07:26:10.916Z] lf-activate-venv: SKIPPING [2021-01-07T07:26:10.916Z] INFO: No Stack... [2021-01-07T07:26:12.326Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T07:26:12.912Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T07:26:12.964Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T07:26:13.725Z] ---> logs-deploy.sh [2021-01-07T07:26:13.725Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-69/1 [2021-01-07T07:26:13.725Z] INFO: archiving workspace using pattern(s): [2021-01-07T07:26:16.409Z] Archives upload complete. [2021-01-07T07:26:16.409Z] INFO: archiving logs to Nexus [2021-01-07T07:26:17.840Z] ---> uname -a: [2021-01-07T07:26:17.840Z] Linux prd-centos7-docker-4c-2g-18834.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-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> lscpu: [2021-01-07T07:26:17.840Z] Architecture: x86_64 [2021-01-07T07:26:17.840Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-07T07:26:17.840Z] Byte Order: Little Endian [2021-01-07T07:26:17.840Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-07T07:26:17.840Z] CPU(s): 4 [2021-01-07T07:26:17.840Z] On-line CPU(s) list: 0-3 [2021-01-07T07:26:17.840Z] Thread(s) per core: 1 [2021-01-07T07:26:17.840Z] Core(s) per socket: 1 [2021-01-07T07:26:17.840Z] Socket(s): 4 [2021-01-07T07:26:17.840Z] NUMA node(s): 1 [2021-01-07T07:26:17.840Z] Vendor ID: GenuineIntel [2021-01-07T07:26:17.840Z] CPU family: 6 [2021-01-07T07:26:17.840Z] Model: 44 [2021-01-07T07:26:17.840Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-07T07:26:17.840Z] Stepping: 1 [2021-01-07T07:26:17.840Z] CPU MHz: 2933.438 [2021-01-07T07:26:17.840Z] BogoMIPS: 5866.87 [2021-01-07T07:26:17.840Z] Virtualization: VT-x [2021-01-07T07:26:17.840Z] Hypervisor vendor: KVM [2021-01-07T07:26:17.840Z] Virtualization type: full [2021-01-07T07:26:17.840Z] L1d cache: 128 KiB [2021-01-07T07:26:17.840Z] L1i cache: 128 KiB [2021-01-07T07:26:17.840Z] L2 cache: 16 MiB [2021-01-07T07:26:17.840Z] L3 cache: 64 MiB [2021-01-07T07:26:17.840Z] NUMA node0 CPU(s): 0-3 [2021-01-07T07:26:17.840Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-07T07:26:17.840Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-07T07:26:17.840Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-07T07:26:17.840Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-07T07:26:17.840Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-07T07:26:17.840Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-07T07:26:17.840Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-07T07:26:17.840Z] Vulnerability Srbds: Not affected [2021-01-07T07:26:17.840Z] Vulnerability Tsx async abort: Not affected [2021-01-07T07:26:17.840Z] 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-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> nproc: [2021-01-07T07:26:17.840Z] 4 [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> df -h: [2021-01-07T07:26:17.840Z] Filesystem Size Used Available Use% Mounted on [2021-01-07T07:26:17.840Z] overlay 50.0G 7.3G 42.7G 15% / [2021-01-07T07:26:17.840Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-07T07:26:17.840Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-07T07:26:17.840Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-69 [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-69@tmp [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-01-07T07:26:17.840Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> free -m: [2021-01-07T07:26:17.840Z] total used free shared buff/cache available [2021-01-07T07:26:17.840Z] Mem: 1837 691 84 0 1061 1041 [2021-01-07T07:26:17.840Z] Swap: 1023 0 1023 [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> ip addr: [2021-01-07T07:26:17.840Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-01-07T07:26:17.840Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-01-07T07:26:17.840Z] inet 127.0.0.1/8 scope host lo [2021-01-07T07:26:17.840Z] valid_lft forever preferred_lft forever [2021-01-07T07:26:17.840Z] inet6 ::1/128 scope host [2021-01-07T07:26:17.840Z] valid_lft forever preferred_lft forever [2021-01-07T07:26:17.840Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-01-07T07:26:17.840Z] link/ether fa:16:3e:0a:29:06 brd ff:ff:ff:ff:ff:ff [2021-01-07T07:26:17.840Z] inet 10.30.123.212/23 brd 10.30.123.255 scope global dynamic eth0 [2021-01-07T07:26:17.840Z] valid_lft 85971sec preferred_lft 85971sec [2021-01-07T07:26:17.840Z] inet6 fe80::f816:3eff:fe0a:2906/64 scope link [2021-01-07T07:26:17.840Z] valid_lft forever preferred_lft forever [2021-01-07T07:26:17.840Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-01-07T07:26:17.840Z] link/ether 02:42:39:2e:ec:0c brd ff:ff:ff:ff:ff:ff [2021-01-07T07:26:17.840Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-01-07T07:26:17.840Z] valid_lft forever preferred_lft forever [2021-01-07T07:26:17.840Z] inet6 fe80::42:39ff:fe2e:ec0c/64 scope link [2021-01-07T07:26:17.840Z] valid_lft forever preferred_lft forever [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] ---> sar -b -r -n DEV: [2021-01-07T07:26:17.840Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/07/21 _x86_64_ (4 CPU) [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] 07:18:57 LINUX RESTART (4 CPU) [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] 07:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-01-07T07:26:17.840Z] 07:21:01 28.99 11.06 17.93 0.00 4356.29 2864.38 0.00 [2021-01-07T07:26:17.840Z] 07:22:01 1.93 0.00 1.93 0.00 0.00 35.66 0.00 [2021-01-07T07:26:17.840Z] 07:23:01 0.23 0.00 0.23 0.00 0.00 3.33 0.00 [2021-01-07T07:26:17.840Z] 07:24:02 0.25 0.00 0.25 0.00 0.00 2.70 0.00 [2021-01-07T07:26:17.840Z] 07:25:01 0.22 0.00 0.22 0.00 0.00 3.49 0.00 [2021-01-07T07:26:17.840Z] 07:26:01 110.54 60.83 49.71 0.00 4667.31 15099.43 0.00 [2021-01-07T07:26:17.840Z] Average: 23.78 12.02 11.75 0.00 1509.09 3012.43 0.00 [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] 07:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-01-07T07:26:17.840Z] 07:21:01 158476 0 584092 31.04 2620 1136356 1153360 39.36 401636 1121740 20 [2021-01-07T07:26:17.840Z] 07:22:01 169604 0 572956 30.45 2620 1136364 1080752 36.88 395900 1118088 8 [2021-01-07T07:26:17.840Z] 07:23:01 166724 0 575832 30.60 2620 1136368 1080980 36.89 406388 1110684 8 [2021-01-07T07:26:17.840Z] 07:24:02 168088 0 574464 30.53 2620 1136372 1080752 36.88 405004 1110688 16 [2021-01-07T07:26:17.840Z] 07:25:01 166276 0 576272 30.63 2620 1136376 1080836 36.89 406804 1110872 8 [2021-01-07T07:26:17.840Z] 07:26:01 241848 0 632828 33.63 2620 1004248 1082680 36.95 408264 981392 86560 [2021-01-07T07:26:17.840Z] Average: 178503 0 586074 31.15 2620 1114347 1093227 37.31 403999 1092244 14437 [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z] 07:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-01-07T07:26:17.840Z] 07:21:01 eth0 101.90 90.39 473.88 36.19 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:21:01 docker0 39.53 33.98 3.73 132.65 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:22:01 eth0 0.70 0.08 0.06 0.01 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:23:01 eth0 2.45 1.56 3.23 0.43 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:24:02 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:24:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:24:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:25:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:26:01 eth0 212.41 159.10 2171.17 18.93 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] 07:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] Average: eth0 53.15 42.04 443.01 9.31 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] Average: docker0 6.61 5.68 0.62 22.18 0.00 0.00 0.00 0.00 [2021-01-07T07:26:17.840Z] [2021-01-07T07:26:17.840Z]