Pull request #78 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 soda480 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7+c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (726b652d5e42392f4240c78629be30afd27141c1) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-78/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-78/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-867 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [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-78 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) > 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/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # 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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T18:36:45.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T18:36:45.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T18:36:45.744Z] ========================================================= [2021-04-19T18:36:45.744Z] EdgeX Global Pipelines Version Info [2021-04-19T18:36:45.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:36:47.525Z] ------------------- [2021-04-19T18:36:47.525Z] stable info: [2021-04-19T18:36:47.525Z] ------------------- [2021-04-19T18:36:47.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T18:36:47.525Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:36:47.525Z] Message: update stable to v1.0.186 [2021-04-19T18:36:48.474Z] ------------------- [2021-04-19T18:36:48.474Z] experimental info: [2021-04-19T18:36:48.474Z] ------------------- [2021-04-19T18:36:48.474Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T18:36:48.474Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T18:36:48.474Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T18:36:48.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-19T18:36:48.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-19T18:36:48.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T18:36:48.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T18:36:48.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T18:36:49.029Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T18:36:49.095Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T18:36:49.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T18:36:49.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T18:36:49.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T18:36:49.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T18:36:49.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-19T18:36:49.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T18:36:49.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T18:36:49.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:36:49.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:36:49.745Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:36:49.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:36:49.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T18:36:49.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T18:36:50.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T18:36:50.110Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T18:36:50.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T18:36:50.228Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T18:36:50.282Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T18:36:50.340Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T18:36:50.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo [2021-04-19T18:36:50.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo [2021-04-19T18:36:50.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo [2021-04-19T18:36:50.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] echo [2021-04-19T18:36:50.627Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 972f9a5 [Pipeline] echo [2021-04-19T18:36:50.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:36:50.844Z] provisioning config files... [2021-04-19T18:36:50.884Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config8490325559031773526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:36:51.279Z] ---> docker-login.sh [2021-04-19T18:36:51.279Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:36:51.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:51.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:51.549Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:51.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:51.549Z] [2021-04-19T18:36:51.549Z] Login Succeeded [2021-04-19T18:36:51.549Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:36:51.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:51.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:51.815Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:51.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:51.815Z] [2021-04-19T18:36:51.815Z] Login Succeeded [2021-04-19T18:36:51.815Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:36:51.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:52.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:52.083Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:52.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:52.083Z] [2021-04-19T18:36:52.083Z] Login Succeeded [2021-04-19T18:36:52.083Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:36:52.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:52.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:52.083Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:52.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:52.083Z] [2021-04-19T18:36:52.083Z] Login Succeeded [2021-04-19T18:36:52.083Z] docker.io [2021-04-19T18:36:52.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:52.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:52.618Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:52.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:52.618Z] [2021-04-19T18:36:52.618Z] Login Succeeded [2021-04-19T18:36:52.618Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:36:52.686Z] 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-04-19T18:36:53.521Z] + git log --format=format:%s -1 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] echo [2021-04-19T18:36:53.643Z] GIT_COMMIT: 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7, Commit Message: docs: Add badges to readme [Pipeline] echo [2021-04-19T18:36:53.692Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:36:54.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:54.311Z] [2021-04-19T18:36:54.311Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:36:54.703Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:54.703Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T18:36:54.703Z] 31603596830f: Pulling fs layer [2021-04-19T18:36:54.703Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T18:36:54.703Z] 6ca5941a6612: Pulling fs layer [2021-04-19T18:36:54.703Z] ecc8261a40a4: Pulling fs layer [2021-04-19T18:36:54.703Z] ecc8261a40a4: Waiting [2021-04-19T18:36:54.703Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T18:36:54.703Z] 2a8b12db71e7: Download complete [2021-04-19T18:36:54.703Z] 31603596830f: Verifying Checksum [2021-04-19T18:36:54.703Z] 31603596830f: Download complete [2021-04-19T18:36:54.974Z] 6ca5941a6612: Verifying Checksum [2021-04-19T18:36:54.974Z] 6ca5941a6612: Download complete [2021-04-19T18:36:54.974Z] ecc8261a40a4: Verifying Checksum [2021-04-19T18:36:54.974Z] ecc8261a40a4: Download complete [2021-04-19T18:36:54.974Z] 31603596830f: Pull complete [2021-04-19T18:36:55.246Z] 2a8b12db71e7: Pull complete [2021-04-19T18:36:56.207Z] 6ca5941a6612: Pull complete [2021-04-19T18:36:56.207Z] ecc8261a40a4: Pull complete [2021-04-19T18:36:56.473Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T18:36:56.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:56.473Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T18:36:56.609Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2021-04-19T18:36:56.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-78 -v /w/workspace/dgexfoundry_device-rest-go_PR-78:/w/workspace/dgexfoundry_device-rest-go_PR-78:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-78@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T18:36:58.404Z] $ docker top 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T18:36:58.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:36:58.674Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:36:58.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:36:58.895Z] $ docker exec 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent [2021-04-19T18:36:59.062Z] SSH_AUTH_SOCK=/tmp/ssh-EIM3Kymc3GSw/agent.11 [2021-04-19T18:36:59.062Z] SSH_AGENT_PID=16 [2021-04-19T18:36:59.076Z] Running ssh-add (command line suppressed) [2021-04-19T18:36:59.203Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_8325760332572249213.key (/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_8325760332572249213.key) [2021-04-19T18:36:59.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:36:59.626Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T18:36:59.653Z] $ docker exec --env ******** --env ******** 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent -k [2021-04-19T18:36:59.769Z] unset SSH_AUTH_SOCK; [2021-04-19T18:36:59.769Z] unset SSH_AGENT_PID; [2021-04-19T18:36:59.769Z] echo Agent pid 16 killed; [2021-04-19T18:36:59.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T18:36:59.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:36:59.916Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:37:00.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:37:00.075Z] $ docker exec 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent [2021-04-19T18:37:00.235Z] SSH_AUTH_SOCK=/tmp/ssh-vr7blHdt1P40/agent.45 [2021-04-19T18:37:00.235Z] SSH_AGENT_PID=51 [2021-04-19T18:37:00.242Z] Running ssh-add (command line suppressed) [2021-04-19T18:37:00.354Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_7164717721264587765.key (/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_7164717721264587765.key) [2021-04-19T18:37:00.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:37:00.777Z] + git semver init [2021-04-19T18:37:00.777Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T18:37:00.777Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-78/.git [2021-04-19T18:37:00.777Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-78 [2021-04-19T18:37:00.777Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T18:37:00.777Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T18:37:00.777Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T18:37:00.777Z] # $SEMVER_BRANCH = PR-78 [2021-04-19T18:37:00.777Z] # $SEMVER_TEMP = /tmp/semver-544926754 [2021-04-19T18:37:00.777Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-19T18:37:01.754Z] # '/tmp/semver-544926754' -> '/w/workspace/dgexfoundry_device-rest-go_PR-78/.semver' [2021-04-19T18:37:01.754Z] # -> Force: false [2021-04-19T18:37:01.754Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-78/.semver [Pipeline] } [2021-04-19T18:37:01.780Z] $ docker exec --env ******** --env ******** 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent -k [2021-04-19T18:37:01.899Z] unset SSH_AUTH_SOCK; [2021-04-19T18:37:01.900Z] unset SSH_AGENT_PID; [2021-04-19T18:37:01.900Z] echo Agent pid 51 killed; [2021-04-19T18:37:01.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T18:37:02.431Z] + git semver [Pipeline] } [2021-04-19T18:37:02.489Z] $ docker stop --time=1 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 [2021-04-19T18:37:03.948Z] $ docker rm -f 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:37:04.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T18:37:04.817Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T18:37:04.841Z] [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-04-19T18:37:20.435Z] Still waiting to schedule task [2021-04-19T18:37:20.435Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-862’ is offline; ‘prd-centos7-docker-4c-2g-873’ is offline [2021-04-19T18:37:20.461Z] Still waiting to schedule task [2021-04-19T18:37:20.462Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ [2021-04-19T18:38:24.381Z] Running on prd-centos7-docker-4c-2g-871 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [Pipeline] { [Pipeline] ws [2021-04-19T18:38:24.438Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:38:33.369Z] using credential edgex-jenkins-ssh [2021-04-19T18:38:33.384Z] Cloning the remote Git repository [2021-04-19T18:38:33.471Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:38:33.650Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-19T18:38:33.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:38:33.915Z] > git --version # timeout=10 [2021-04-19T18:38:33.971Z] > git --version # 'git version 2.24.3' [2021-04-19T18:38:33.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:34.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:38:36.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-19T18:38:36.110Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:38:36.790Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [2021-04-19T18:38:37.105Z] Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [2021-04-19T18:38:37.105Z] Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) [2021-04-19T18:38:36.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-19T18:38:36.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:38:36.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:36.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:38:36.803Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:38:36.823Z] > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 [2021-04-19T18:38:36.888Z] > git remote # timeout=10 [2021-04-19T18:38:36.926Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:38:36.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:36.968Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-04-19T18:38:37.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:38:37.120Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:38:37.179Z] > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 [2021-04-19T18:38:42.386Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:38:42.787Z] > git --version # timeout=10 [2021-04-19T18:38:42.940Z] > git --version # 'git version 2.24.3' [2021-04-19T18:38:43.002Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:38:45.818Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:38:46.368Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:38:46.984Z] + sudo service docker restart [2021-04-19T18:38:46.984Z] + true [2021-04-19T18:38:46.984Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:38:50.896Z] provisioning config files... [2021-04-19T18:38:50.951Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config802718714610200401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:38:51.426Z] ---> docker-login.sh [2021-04-19T18:38:51.427Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:38:52.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:52.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:52.334Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:52.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:52.334Z] [2021-04-19T18:38:52.334Z] Login Succeeded [2021-04-19T18:38:52.334Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:38:52.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:53.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:53.278Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:53.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:53.278Z] [2021-04-19T18:38:53.278Z] Login Succeeded [2021-04-19T18:38:53.278Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:38:53.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:53.554Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:53.554Z] [2021-04-19T18:38:53.554Z] Login Succeeded [2021-04-19T18:38:53.554Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:38:54.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:54.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:54.209Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:54.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:54.209Z] [2021-04-19T18:38:54.209Z] Login Succeeded [2021-04-19T18:38:54.209Z] docker.io [2021-04-19T18:38:54.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:54.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:54.767Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:54.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:54.767Z] [2021-04-19T18:38:54.767Z] Login Succeeded [2021-04-19T18:38:54.767Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:38:54.797Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:38:55.286Z] ========================================================= [2021-04-19T18:38:55.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T18:38:55.286Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:38:55.687Z] + 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-04-19T18:38:55.687Z] Sending build context to Docker daemon 89.09kB [2021-04-19T18:38:55.964Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:38:55.964Z] Step 2/10 : FROM ${BASE} [2021-04-19T18:38:55.964Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T18:38:55.964Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T18:38:55.964Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T18:38:55.964Z] de9db76c5a1d: Pulling fs layer [2021-04-19T18:38:55.964Z] bca2f99d35d6: Pulling fs layer [2021-04-19T18:38:55.964Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T18:38:55.964Z] 7c6f9722023f: Pulling fs layer [2021-04-19T18:38:55.964Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T18:38:55.964Z] 93359f2a8cfa: Waiting [2021-04-19T18:38:55.964Z] 7c6f9722023f: Waiting [2021-04-19T18:38:55.964Z] a35cf1a2eb13: Waiting [2021-04-19T18:38:55.964Z] bca2f99d35d6: Waiting [2021-04-19T18:38:55.964Z] de9db76c5a1d: Verifying Checksum [2021-04-19T18:38:55.964Z] de9db76c5a1d: Download complete [2021-04-19T18:38:55.964Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T18:38:55.964Z] 0ef7d3d256c8: Download complete [2021-04-19T18:38:55.964Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T18:38:55.964Z] 93359f2a8cfa: Download complete [2021-04-19T18:38:56.260Z] 7c6f9722023f: Verifying Checksum [2021-04-19T18:38:56.260Z] 7c6f9722023f: Download complete [2021-04-19T18:38:56.260Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T18:38:56.260Z] 188c0c94c7c5: Download complete [2021-04-19T18:38:56.897Z] 188c0c94c7c5: Pull complete [2021-04-19T18:38:57.549Z] 0ef7d3d256c8: Pull complete [2021-04-19T18:38:57.834Z] de9db76c5a1d: Pull complete [2021-04-19T18:39:00.559Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T18:39:00.559Z] a35cf1a2eb13: Download complete [2021-04-19T18:39:02.090Z] bca2f99d35d6: Verifying Checksum [2021-04-19T18:39:02.090Z] bca2f99d35d6: Download complete [2021-04-19T18:39:20.766Z] bca2f99d35d6: Pull complete [2021-04-19T18:39:20.766Z] 93359f2a8cfa: Pull complete [2021-04-19T18:39:20.766Z] 7c6f9722023f: Pull complete [2021-04-19T18:39:26.296Z] a35cf1a2eb13: Pull complete [2021-04-19T18:39:26.296Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T18:39:26.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T18:39:26.296Z] ---> a62c8e92a672 [2021-04-19T18:39:26.296Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:39:26.943Z] ---> Running in 5824474110f2 [2021-04-19T18:39:27.233Z] Removing intermediate container 5824474110f2 [2021-04-19T18:39:27.233Z] ---> 48661ac494fe [2021-04-19T18:39:27.233Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:39:27.233Z] ---> Running in 8eeed135ab36 [2021-04-19T18:39:27.849Z] Removing intermediate container 8eeed135ab36 [2021-04-19T18:39:27.849Z] ---> 667c08b4bf05 [2021-04-19T18:39:27.849Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-19T18:39:27.849Z] ---> Running in cc689dcccbab [2021-04-19T18:39:28.125Z] Removing intermediate container cc689dcccbab [2021-04-19T18:39:28.126Z] ---> f6c22679ec94 [2021-04-19T18:39:28.126Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:39:28.126Z] ---> Running in eec4b4189c63 [2021-04-19T18:39:30.121Z] Removing intermediate container eec4b4189c63 [2021-04-19T18:39:30.121Z] ---> 7eec018b1891 [2021-04-19T18:39:30.121Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:39:30.424Z] ---> Running in 164a8b7c1fff [2021-04-19T18:39:31.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:39:32.058Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:39:32.691Z] OK: 166 MiB in 39 packages [2021-04-19T18:39:33.731Z] Removing intermediate container 164a8b7c1fff [2021-04-19T18:39:33.731Z] ---> 6684a404682e [2021-04-19T18:39:33.731Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-19T18:39:34.033Z] ---> Running in 64b7c15051e3 [2021-04-19T18:39:34.377Z] Removing intermediate container 64b7c15051e3 [2021-04-19T18:39:34.377Z] ---> a837e7278cd0 [2021-04-19T18:39:34.377Z] Step 9/10 : COPY . . [2021-04-19T18:39:35.005Z] ---> 6f6a0418775f [2021-04-19T18:39:35.005Z] Step 10/10 : RUN go mod download [2021-04-19T18:39:35.005Z] ---> Running in e7bd61dee892 [2021-04-19T18:40:06.842Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-880 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [Pipeline] { [Pipeline] ws [2021-04-19T18:40:06.899Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:40:08.087Z] Removing intermediate container e7bd61dee892 [2021-04-19T18:40:08.087Z] ---> ba5bc9167bf2 [2021-04-19T18:40:08.087Z] Successfully built ba5bc9167bf2 [2021-04-19T18:40:08.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:08.616Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:40:09.281Z] . [Pipeline] withDockerContainer [2021-04-19T18:40:09.927Z] prd-centos7-docker-4c-2g-871 does not seem to be running inside a container [2021-04-19T18:40:10.126Z] $ 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-04-19T18:40:12.810Z] $ docker top b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:40:14.023Z] using credential edgex-jenkins-ssh [2021-04-19T18:40:14.054Z] Cloning the remote Git repository [2021-04-19T18:40:14.208Z] + go version [2021-04-19T18:40:14.209Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T18:40:14.265Z] $ docker stop --time=1 b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 [2021-04-19T18:40:14.114Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:40:14.239Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-19T18:40:14.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:40:14.346Z] > git --version # timeout=10 [2021-04-19T18:40:14.369Z] > git --version # 'git version 2.17.1' [2021-04-19T18:40:14.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:14.447Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:16.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-19T18:40:16.346Z] $ docker rm -f b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-19T18:40:16.778Z] Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:17.062Z] Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [2021-04-19T18:40:17.063Z] Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) [2021-04-19T18:40:17.451Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:40:17.451Z] . [2021-04-19T18:40:16.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:16.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-19T18:40:16.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-19T18:40:16.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:16.205Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:40:16.806Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:16.845Z] > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 [2021-04-19T18:40:16.943Z] > git remote # timeout=10 [2021-04-19T18:40:16.964Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:40:16.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:17.002Z] > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-04-19T18:40:17.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:40:17.074Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:17.089Z] > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 [Pipeline] withDockerContainer [2021-04-19T18:40:18.233Z] prd-centos7-docker-4c-2g-871 does not seem to be running inside a container [2021-04-19T18:40:18.539Z] $ 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-04-19T18:40:21.428Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:40:21.486Z] > git --version # timeout=10 [2021-04-19T18:40:21.495Z] > git --version # 'git version 2.17.1' [2021-04-19T18:40:21.514Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:40:22.670Z] $ docker top bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:40:24.593Z] + make test [2021-04-19T18:40:24.593Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-19T18:40:25.331Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:40:25.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:40:26.128Z] + sudo service docker restart+ [2021-04-19T18:40:26.128Z] true [2021-04-19T18:40:26.998Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:40:28.244Z] provisioning config files... [2021-04-19T18:40:28.302Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2554206101832284804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:40:28.775Z] ---> docker-login.sh [2021-04-19T18:40:28.775Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:40:29.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:30.044Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:30.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:30.044Z] [2021-04-19T18:40:30.044Z] Login Succeeded [2021-04-19T18:40:30.044Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:40:30.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:30.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:30.643Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:30.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:30.643Z] [2021-04-19T18:40:30.643Z] Login Succeeded [2021-04-19T18:40:30.643Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:40:30.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:31.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:31.213Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:31.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:31.213Z] [2021-04-19T18:40:31.213Z] Login Succeeded [2021-04-19T18:40:31.213Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:40:31.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:31.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:31.488Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:31.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:31.488Z] [2021-04-19T18:40:31.488Z] Login Succeeded [2021-04-19T18:40:31.488Z] docker.io [2021-04-19T18:40:32.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:32.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:32.373Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:32.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:32.373Z] [2021-04-19T18:40:32.373Z] Login Succeeded [2021-04-19T18:40:32.373Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:40:32.413Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:40:32.906Z] ========================================================= [2021-04-19T18:40:32.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T18:40:32.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:33.292Z] + 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-04-19T18:40:33.293Z] Sending build context to Docker daemon 89.09kB [2021-04-19T18:40:33.571Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:40:33.571Z] Step 2/10 : FROM ${BASE} [2021-04-19T18:40:33.571Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T18:40:33.571Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T18:40:33.571Z] a4357932f1b6: Pulling fs layer [2021-04-19T18:40:33.571Z] 18c013af1878: Pulling fs layer [2021-04-19T18:40:33.571Z] 00ac8860ef70: Pulling fs layer [2021-04-19T18:40:33.571Z] 63d7cb157983: Pulling fs layer [2021-04-19T18:40:33.571Z] b116817d02f9: Pulling fs layer [2021-04-19T18:40:33.571Z] 745a02a5169b: Pulling fs layer [2021-04-19T18:40:33.571Z] 00ac8860ef70: Waiting [2021-04-19T18:40:33.571Z] b116817d02f9: Waiting [2021-04-19T18:40:33.571Z] 745a02a5169b: Waiting [2021-04-19T18:40:33.571Z] 63d7cb157983: Waiting [2021-04-19T18:40:33.844Z] 18c013af1878: Verifying Checksum [2021-04-19T18:40:33.844Z] 18c013af1878: Download complete [2021-04-19T18:40:33.844Z] a4357932f1b6: Verifying Checksum [2021-04-19T18:40:33.844Z] 63d7cb157983: Download complete [2021-04-19T18:40:33.844Z] b116817d02f9: Verifying Checksum [2021-04-19T18:40:33.844Z] b116817d02f9: Download complete [2021-04-19T18:40:33.844Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T18:40:33.844Z] 5f621e34cdf4: Download complete [2021-04-19T18:40:34.869Z] 5f621e34cdf4: Pull complete [2021-04-19T18:40:35.502Z] a4357932f1b6: Pull complete [2021-04-19T18:40:35.784Z] 18c013af1878: Pull complete [2021-04-19T18:40:36.794Z] 745a02a5169b: Download complete [2021-04-19T18:40:37.411Z] 00ac8860ef70: Verifying Checksum [2021-04-19T18:40:37.411Z] 00ac8860ef70: Download complete [2021-04-19T18:40:47.604Z] 00ac8860ef70: Pull complete [2021-04-19T18:40:47.604Z] 63d7cb157983: Pull complete [2021-04-19T18:40:47.604Z] b116817d02f9: Pull complete [2021-04-19T18:40:51.945Z] 745a02a5169b: Pull complete [2021-04-19T18:40:51.945Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T18:40:51.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T18:40:51.945Z] ---> b7e6874047d6 [2021-04-19T18:40:51.945Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:40:54.577Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-19T18:40:54.795Z] ---> Running in 52a8a53b9647 [2021-04-19T18:40:54.795Z] Removing intermediate container 52a8a53b9647 [2021-04-19T18:40:54.795Z] ---> 49c343f0c447 [2021-04-19T18:40:54.795Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:40:55.080Z] ---> Running in d27cf8f1877a [2021-04-19T18:40:55.688Z] Removing intermediate container d27cf8f1877a [2021-04-19T18:40:55.688Z] ---> eceb75ba5282 [2021-04-19T18:40:55.688Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-19T18:40:55.688Z] ---> Running in 858d84577c42 [2021-04-19T18:40:56.292Z] Removing intermediate container 858d84577c42 [2021-04-19T18:40:56.292Z] ---> 7e372fe46c7c [2021-04-19T18:40:56.292Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:40:56.292Z] ---> Running in e1a0633b2d9b [2021-04-19T18:40:56.597Z] ok github.com/edgexfoundry/device-rest-go/driver 0.089s coverage: 56.3% of statements [2021-04-19T18:40:56.865Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T18:40:58.963Z] Removing intermediate container e1a0633b2d9b [2021-04-19T18:40:58.963Z] ---> 7a21b052db39 [2021-04-19T18:40:58.963Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:40:58.963Z] ---> Running in 9faa78aabf9c [2021-04-19T18:41:00.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:01.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:02.974Z] OK: 142 MiB in 39 packages [2021-04-19T18:41:04.151Z] gofmt -l . [2021-04-19T18:41:04.151Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:41:04.446Z] Removing intermediate container 9faa78aabf9c [2021-04-19T18:41:04.446Z] ---> d56bfe84c94e [2021-04-19T18:41:04.446Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-19T18:41:04.446Z] ---> Running in 449920e61351 [2021-04-19T18:41:04.510Z] ./bin/test-go-mod-tidy.sh [2021-04-19T18:41:05.047Z] Removing intermediate container 449920e61351 [2021-04-19T18:41:05.047Z] ---> b5a06dda6c47 [2021-04-19T18:41:05.047Z] Step 9/10 : COPY . . [2021-04-19T18:41:05.663Z] ---> 7bfed2709d45 [2021-04-19T18:41:05.663Z] Step 10/10 : RUN go mod download [2021-04-19T18:41:05.949Z] ---> Running in 6c296922e51c [2021-04-19T18:41:08.324Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-19T18:41:09.117Z] $ docker stop --time=1 bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb [2021-04-19T18:41:11.860Z] $ docker rm -f bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:41:13.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:41:14.788Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T18:41:16.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:41:16.535Z] + ls -al . [2021-04-19T18:41:16.535Z] total 96 [2021-04-19T18:41:16.535Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 19 18:41 . [2021-04-19T18:41:16.535Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:38 .. [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 5294 Apr 19 18:38 Attribution.txt [2021-04-19T18:41:16.535Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 18:38 bin [2021-04-19T18:41:16.535Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 18:38 cmd [2021-04-19T18:41:16.535Z] -rw-r--r--. 1 jenkins jenkins 9369 Apr 19 18:40 coverage.out [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 1530 Apr 19 18:38 Dockerfile [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 1002 Apr 19 18:38 Dockerfile.build [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 19 18:38 .dockerignore [2021-04-19T18:41:16.535Z] drwxrwxr-x. 2 jenkins jenkins 93 Apr 19 18:40 driver [2021-04-19T18:41:16.535Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:38 .git [2021-04-19T18:41:16.535Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 18:38 .github [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 19 18:38 .gitignore [2021-04-19T18:41:16.535Z] -rw-r--r--. 1 jenkins jenkins 267 Apr 19 18:41 go.mod [2021-04-19T18:41:16.535Z] -rw-r--r--. 1 jenkins jenkins 13985 Apr 19 18:41 go.sum [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 19 18:38 Jenkinsfile [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 18:38 LICENSE [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 951 Apr 19 18:38 Makefile [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 7690 Apr 19 18:38 README.md [2021-04-19T18:41:16.535Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 19 18:38 snap [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:37 VERSION [2021-04-19T18:41:16.535Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 19 18:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:17.025Z] + 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=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 --label arch=amd64 --label version=0.0.0 . [2021-04-19T18:41:17.310Z] Sending build context to Docker daemon 100.9kB [2021-04-19T18:41:17.606Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:41:17.606Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T18:41:17.606Z] ---> ba5bc9167bf2 [2021-04-19T18:41:17.606Z] Step 3/25 : ARG MAKE='make build' [2021-04-19T18:41:17.924Z] ---> Running in a22a5d087b8d [2021-04-19T18:41:18.210Z] Removing intermediate container a22a5d087b8d [2021-04-19T18:41:18.210Z] ---> f43e24372132 [2021-04-19T18:41:18.210Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:41:18.511Z] ---> Running in ccd0526e8d44 [2021-04-19T18:41:19.170Z] Removing intermediate container ccd0526e8d44 [2021-04-19T18:41:19.170Z] ---> 15018721e684 [2021-04-19T18:41:19.170Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:41:19.170Z] ---> Running in e8b5778e6d5f [2021-04-19T18:41:19.851Z] Removing intermediate container e8b5778e6d5f [2021-04-19T18:41:19.851Z] ---> ac0d5450cbc0 [2021-04-19T18:41:19.851Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:41:20.526Z] ---> Running in 51c3adc74f02 [2021-04-19T18:41:24.999Z] Removing intermediate container 51c3adc74f02 [2021-04-19T18:41:24.999Z] ---> dcd30cfb4225 [2021-04-19T18:41:24.999Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:41:24.999Z] ---> Running in 44531e7b9e1b [2021-04-19T18:41:27.097Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:28.768Z] Removing intermediate container 6c296922e51c [2021-04-19T18:41:28.768Z] ---> aca48b8e2a49 [2021-04-19T18:41:28.768Z] Successfully built aca48b8e2a49 [2021-04-19T18:41:28.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:29.156Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:41:29.156Z] . [2021-04-19T18:41:29.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withDockerContainer [2021-04-19T18:41:29.490Z] prd-ubuntu18.04-docker-arm64-4c-16g-880 does not seem to be running inside a container [2021-04-19T18:41:29.588Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-19T18:41:31.276Z] $ docker top 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:41:31.846Z] OK: 166 MiB in 39 packages [2021-04-19T18:41:32.361Z] + go version [2021-04-19T18:41:32.361Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T18:41:32.425Z] $ docker stop --time=1 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c [2021-04-19T18:41:32.867Z] Removing intermediate container 44531e7b9e1b [2021-04-19T18:41:32.867Z] ---> 34a12cd6028b [2021-04-19T18:41:32.867Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-04-19T18:41:33.164Z] ---> Running in e2015d89b450 [2021-04-19T18:41:33.483Z] Removing intermediate container e2015d89b450 [2021-04-19T18:41:33.483Z] ---> 59092b3789d5 [2021-04-19T18:41:33.483Z] Step 9/25 : COPY go.mod . [2021-04-19T18:41:34.466Z] $ docker rm -f 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c [2021-04-19T18:41:34.532Z] ---> 1de30d122a66 [2021-04-19T18:41:34.532Z] Step 10/25 : COPY Makefile . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:35.519Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:41:35.519Z] . [Pipeline] withDockerContainer [2021-04-19T18:41:35.568Z] ---> 5442418e24c2 [2021-04-19T18:41:35.568Z] Step 11/25 : RUN make update [2021-04-19T18:41:35.568Z] ---> Running in ae6c4f1ea598 [2021-04-19T18:41:35.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-880 does not seem to be running inside a container [2021-04-19T18:41:35.924Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-19T18:41:37.583Z] $ docker top c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e -eo pid,comm [2021-04-19T18:41:37.668Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] { [Pipeline] sh [2021-04-19T18:41:38.645Z] Removing intermediate container ae6c4f1ea598 [2021-04-19T18:41:38.645Z] ---> 85d1854cef60 [2021-04-19T18:41:38.645Z] Step 12/25 : COPY . . [2021-04-19T18:41:38.669Z] + make test [2021-04-19T18:41:38.669Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-19T18:41:39.241Z] ---> d41e144c2297 [2021-04-19T18:41:39.241Z] Step 13/25 : RUN $MAKE [2021-04-19T18:41:39.241Z] ---> Running in c5ed7e60c5b5 [2021-04-19T18:41:40.142Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-19T18:41:40.251Z] 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-04-19T18:42:13.603Z] Removing intermediate container c5ed7e60c5b5 [2021-04-19T18:42:13.603Z] ---> 9681c32a47d0 [2021-04-19T18:42:13.603Z] Step 14/25 : FROM alpine:3.12 [2021-04-19T18:42:13.603Z] 3.12: Pulling from library/alpine [2021-04-19T18:42:13.603Z] 339de151aab4: Pulling fs layer [2021-04-19T18:42:13.603Z] 339de151aab4: Verifying Checksum [2021-04-19T18:42:13.603Z] 339de151aab4: Download complete [2021-04-19T18:42:13.603Z] 339de151aab4: Pull complete [2021-04-19T18:42:13.603Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:42:13.603Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:42:13.603Z] ---> 13621d1b12d4 [2021-04-19T18:42:13.603Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-19T18:42:13.603Z] ---> Running in 5cd831446bb4 [2021-04-19T18:42:13.603Z] Removing intermediate container 5cd831446bb4 [2021-04-19T18:42:13.603Z] ---> b92bfa0ba2c7 [2021-04-19T18:42:13.603Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-19T18:42:13.603Z] ---> Running in 869aadeca6c4 [2021-04-19T18:42:13.603Z] Removing intermediate container 869aadeca6c4 [2021-04-19T18:42:13.603Z] ---> 345b925cbf5d [2021-04-19T18:42:13.603Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-04-19T18:42:13.603Z] ---> aebb2a315027 [2021-04-19T18:42:13.603Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-04-19T18:42:13.603Z] ---> 3790182e6df2 [2021-04-19T18:42:13.603Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-04-19T18:42:15.345Z] ---> 14a02a1493eb [2021-04-19T18:42:15.345Z] Step 20/25 : EXPOSE 49986 [2021-04-19T18:42:15.345Z] ---> Running in fffc572c5269 [2021-04-19T18:42:15.699Z] Removing intermediate container fffc572c5269 [2021-04-19T18:42:15.699Z] ---> 7abc8b1268a0 [2021-04-19T18:42:15.699Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-04-19T18:42:16.014Z] ---> Running in a4d6cf982933 [2021-04-19T18:42:16.282Z] Removing intermediate container a4d6cf982933 [2021-04-19T18:42:16.282Z] ---> 199cb370d351 [2021-04-19T18:42:16.282Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T18:42:16.564Z] ---> Running in 73cde7c75f16 [2021-04-19T18:42:16.841Z] Removing intermediate container 73cde7c75f16 [2021-04-19T18:42:16.841Z] ---> afc39e531707 [2021-04-19T18:42:16.841Z] Step 23/25 : LABEL arch=amd64 [2021-04-19T18:42:17.152Z] ---> Running in f93b35fa5655 [2021-04-19T18:42:17.505Z] Removing intermediate container f93b35fa5655 [2021-04-19T18:42:17.505Z] ---> 35ad59990f6a [2021-04-19T18:42:17.505Z] Step 24/25 : LABEL git_sha=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [2021-04-19T18:42:17.881Z] ---> Running in 4ecf60ff496f [2021-04-19T18:42:18.505Z] Removing intermediate container 4ecf60ff496f [2021-04-19T18:42:18.505Z] ---> b021525eabe4 [2021-04-19T18:42:18.505Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T18:42:18.505Z] ---> Running in 752ac369fb63 [2021-04-19T18:42:18.843Z] Removing intermediate container 752ac369fb63 [2021-04-19T18:42:18.843Z] ---> 3e49bb63c8e3 [2021-04-19T18:42:18.843Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:42:18.843Z] Successfully built 3e49bb63c8e3 [2021-04-19T18:42:18.843Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:42:19.689Z] ---> job-cost.sh [2021-04-19T18:42:19.689Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eUfk [2021-04-19T18:42:19.948Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-19T18:42:19.948Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements [2021-04-19T18:42:19.948Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T18:42:26.677Z] gofmt -l . [2021-04-19T18:42:26.677Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:42:26.677Z] ./bin/test-go-mod-tidy.sh [2021-04-19T18:42:27.281Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-19T18:42:27.947Z] $ docker stop --time=1 c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e [2021-04-19T18:42:30.237Z] $ docker rm -f c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:42:31.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:42:31.208Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T18:42:32.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:42:33.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:42:33.390Z] + ls -al . [2021-04-19T18:42:33.390Z] total 124 [2021-04-19T18:42:33.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:42 . [2021-04-19T18:42:33.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 .. [2021-04-19T18:42:33.390Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 18:40 .dockerignore [2021-04-19T18:42:33.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 .git [2021-04-19T18:42:33.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 .github [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 19 18:40 .gitignore [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 5294 Apr 19 18:40 Attribution.txt [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 1530 Apr 19 18:40 Dockerfile [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 1002 Apr 19 18:40 Dockerfile.build [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 18:40 Jenkinsfile [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 18:40 LICENSE [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 951 Apr 19 18:40 Makefile [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 7690 Apr 19 18:40 README.md [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:37 VERSION [2021-04-19T18:42:33.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 bin [2021-04-19T18:42:33.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:40 cmd [2021-04-19T18:42:33.391Z] -rw-r--r-- 1 jenkins jenkins 9369 Apr 19 18:42 coverage.out [2021-04-19T18:42:33.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:42 driver [2021-04-19T18:42:33.391Z] -rw-r--r-- 1 jenkins jenkins 267 Apr 19 18:42 go.mod [2021-04-19T18:42:33.391Z] -rw-r--r-- 1 jenkins jenkins 13985 Apr 19 18:42 go.sum [2021-04-19T18:42:33.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 snap [2021-04-19T18:42:33.391Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 18:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:42:33.813Z] + 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=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 --label arch=arm64 --label version=0.0.0 . [2021-04-19T18:42:33.813Z] Sending build context to Docker daemon 100.9kB [2021-04-19T18:42:34.091Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:42:34.091Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T18:42:34.091Z] ---> aca48b8e2a49 [2021-04-19T18:42:34.091Z] Step 3/25 : ARG MAKE='make build' [2021-04-19T18:42:34.366Z] ---> Running in f5948077f9f3 [2021-04-19T18:42:34.963Z] Removing intermediate container f5948077f9f3 [2021-04-19T18:42:34.963Z] ---> 5f60a65c89c1 [2021-04-19T18:42:34.963Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:42:34.963Z] ---> Running in e067d742b7f3 [2021-04-19T18:42:35.565Z] Removing intermediate container e067d742b7f3 [2021-04-19T18:42:35.565Z] ---> d05d33aca28c [2021-04-19T18:42:35.565Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:42:35.565Z] ---> Running in 8b292eae1e03 [2021-04-19T18:42:36.169Z] Removing intermediate container 8b292eae1e03 [2021-04-19T18:42:36.169Z] ---> b04574352465 [2021-04-19T18:42:36.169Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:42:36.169Z] ---> Running in 8a9adfb371d2 [2021-04-19T18:42:38.796Z] Removing intermediate container 8a9adfb371d2 [2021-04-19T18:42:38.796Z] ---> f9801f5e9add [2021-04-19T18:42:38.796Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:42:38.796Z] ---> Running in c63fc0957e79 [2021-04-19T18:42:40.234Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:42:40.833Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:42:41.430Z] OK: 142 MiB in 39 packages [2021-04-19T18:42:42.868Z] Removing intermediate container c63fc0957e79 [2021-04-19T18:42:42.868Z] ---> 636df57d469e [2021-04-19T18:42:42.868Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-04-19T18:42:42.868Z] ---> Running in 910b2a797468 [2021-04-19T18:42:43.467Z] Removing intermediate container 910b2a797468 [2021-04-19T18:42:43.467Z] ---> 6cae2520a5d9 [2021-04-19T18:42:43.467Z] Step 9/25 : COPY go.mod . [2021-04-19T18:42:44.447Z] ---> 225bddaa0157 [2021-04-19T18:42:44.448Z] Step 10/25 : COPY Makefile . [2021-04-19T18:42:45.046Z] ---> 851ad89c1097 [2021-04-19T18:42:45.046Z] Step 11/25 : RUN make update [2021-04-19T18:42:45.325Z] ---> Running in 5cc2397d30e5 [2021-04-19T18:42:46.314Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-19T18:42:46.735Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:42:47.760Z] Removing intermediate container 5cc2397d30e5 [2021-04-19T18:42:47.760Z] ---> ad5eedb9fda8 [2021-04-19T18:42:47.760Z] Step 12/25 : COPY . . [2021-04-19T18:42:48.356Z] ---> 8ec844b18b1e [2021-04-19T18:42:48.356Z] Step 13/25 : RUN $MAKE [2021-04-19T18:42:48.628Z] ---> Running in 1771bb9ec6bb [2021-04-19T18:42:49.637Z] 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-04-19T18:43:22.018Z] Removing intermediate container 1771bb9ec6bb [2021-04-19T18:43:22.018Z] ---> 9866de819c5f [2021-04-19T18:43:22.018Z] Step 14/25 : FROM alpine:3.12 [2021-04-19T18:43:22.018Z] 3.12: Pulling from library/alpine [2021-04-19T18:43:22.018Z] d2f70382dc9a: Pulling fs layer [2021-04-19T18:43:22.290Z] d2f70382dc9a: Download complete [2021-04-19T18:43:22.883Z] d2f70382dc9a: Pull complete [2021-04-19T18:43:22.883Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:43:22.883Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:43:22.883Z] ---> 9852663dfa18 [2021-04-19T18:43:22.884Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-19T18:43:23.155Z] ---> Running in b5878ef9d35a [2021-04-19T18:43:23.428Z] Removing intermediate container b5878ef9d35a [2021-04-19T18:43:23.428Z] ---> 08cf7e66336c [2021-04-19T18:43:23.428Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-19T18:43:23.705Z] ---> Running in 184550a689f4 [2021-04-19T18:43:24.301Z] Removing intermediate container 184550a689f4 [2021-04-19T18:43:24.301Z] ---> e6f72980f58f [2021-04-19T18:43:24.301Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-04-19T18:43:24.896Z] ---> 878ba7c55e90 [2021-04-19T18:43:24.896Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-04-19T18:43:25.872Z] ---> b1fde5af2ea1 [2021-04-19T18:43:25.872Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-04-19T18:43:25.969Z] lf-activate-venv(): INFO: Adding /tmp/venv-eUfk/bin to PATH [2021-04-19T18:43:25.969Z] INFO: No Stack... [2021-04-19T18:43:26.852Z] ---> c0d682051c5b [2021-04-19T18:43:26.852Z] Step 20/25 : EXPOSE 49986 [2021-04-19T18:43:27.125Z] ---> Running in d065b4f316b0 [2021-04-19T18:43:27.390Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:43:27.723Z] Removing intermediate container d065b4f316b0 [2021-04-19T18:43:27.723Z] ---> f41ed4adc3e7 [2021-04-19T18:43:27.723Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-04-19T18:43:27.723Z] ---> Running in 322ad937fd5d [2021-04-19T18:43:27.996Z] Removing intermediate container 322ad937fd5d [2021-04-19T18:43:27.996Z] ---> 9fd8ef18d721 [2021-04-19T18:43:27.996Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T18:43:28.272Z] ---> Running in a28d3aa36258 [2021-04-19T18:43:28.352Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:43:28.707Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-04-19T18:43:28.707Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T18:43:28.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [2021-04-19T18:43:28.847Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] did not exist. Created. [2021-04-19T18:43:28.847Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] { [2021-04-19T18:43:28.878Z] Removing intermediate container a28d3aa36258 [2021-04-19T18:43:28.878Z] ---> b81292e53147 [2021-04-19T18:43:28.878Z] Step 23/25 : LABEL arch=arm64 [2021-04-19T18:43:28.878Z] ---> Running in 8326f1d71cc4 [Pipeline] unstash [Pipeline] sh [2021-04-19T18:43:29.162Z] Removing intermediate container 8326f1d71cc4 [2021-04-19T18:43:29.163Z] ---> 7691edb1625e [2021-04-19T18:43:29.163Z] Step 24/25 : LABEL git_sha=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [2021-04-19T18:43:29.300Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T18:43:29.439Z] ---> Running in 3af92cada85f [2021-04-19T18:43:29.477Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:43:29.499Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T18:43:30.039Z] Removing intermediate container 3af92cada85f [2021-04-19T18:43:30.039Z] ---> 814c0c2b47ee [2021-04-19T18:43:30.039Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T18:43:30.039Z] ---> Running in 5888a5efc7c1 [2021-04-19T18:43:30.637Z] Removing intermediate container 5888a5efc7c1 [2021-04-19T18:43:30.637Z] ---> 8167dd73e3e4 [2021-04-19T18:43:30.637Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:43:30.637Z] Successfully built 8167dd73e3e4 [2021-04-19T18:43:30.637Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:43:31.348Z] ---> job-cost.sh [2021-04-19T18:43:31.348Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uyaT [2021-04-19T18:44:18.297Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:45:55.044Z] lf-activate-venv(): INFO: Adding /tmp/venv-uyaT/bin to PATH [2021-04-19T18:45:55.044Z] INFO: No Stack... [2021-04-19T18:45:55.044Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T18:45:55.044Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:45:55.409Z] + cut -d, -f6 [2021-04-19T18:45:55.409Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-04-19T18:45:55.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [2021-04-19T18:45:55.551Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] did not exist. Created. [2021-04-19T18:45:55.551Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:45:55.996Z] /w/workspace/device-rest-go/1@tmp/durable-1882cf19/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-1882cf19/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T18:45:56.434Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T18:45:56.480Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T18:45:56.646Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:45:56.667Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] // lock [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-04-19T18:45:57.616Z] provisioning config files... [2021-04-19T18:45:57.627Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config4084953494022438091tmp [Pipeline] { [Pipeline] sh [2021-04-19T18:45:58.010Z] + set +x [2021-04-19T18:45:58.010Z] + curl -s https://codecov.io/bash [2021-04-19T18:45:58.010Z] + bash -s -- [2021-04-19T18:45:58.276Z] [2021-04-19T18:45:58.276Z] _____ _ [2021-04-19T18:45:58.276Z] / ____| | | [2021-04-19T18:45:58.276Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T18:45:58.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T18:45:58.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T18:45:58.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T18:45:58.276Z] Bash-1.0.1 [2021-04-19T18:45:58.276Z] [2021-04-19T18:45:58.276Z] [2021-04-19T18:45:58.276Z] ==> git version 2.24.3 found [2021-04-19T18:45:58.276Z] ==> 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-04-19T18:45:58.276Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T18:45:58.276Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T18:45:58.276Z] ==> Jenkins CI detected. [2021-04-19T18:45:58.276Z] project root: . [2021-04-19T18:45:58.276Z] --> token set from env [2021-04-19T18:45:58.276Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T18:45:58.276Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T18:45:58.276Z] ==> Python coveragepy not found [2021-04-19T18:45:58.276Z] ==> Searching for coverage reports in: [2021-04-19T18:45:58.276Z] + . [2021-04-19T18:45:58.276Z] -> Found 1 reports [2021-04-19T18:45:58.276Z] ==> Detecting git/mercurial file structure [2021-04-19T18:45:58.276Z] ==> Reading reports [2021-04-19T18:45:58.276Z] + ./coverage.out bytes=9369 [2021-04-19T18:45:58.276Z] ==> Appending adjustments [2021-04-19T18:45:58.276Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T18:45:58.276Z] + Found adjustments [2021-04-19T18:45:58.276Z] ==> Gzipping contents [2021-04-19T18:45:58.276Z] 4.0K /tmp/codecov.6v4IVC.gz [2021-04-19T18:45:58.276Z] ==> Uploading reports [2021-04-19T18:45:58.276Z] url: https://codecov.io [2021-04-19T18:45:58.276Z] query: branch=PR-78&commit=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=78&job=&cmd_args= [2021-04-19T18:45:58.276Z] -> Pinging Codecov [2021-04-19T18:45:58.276Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-78&commit=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=78&job=&cmd_args= [2021-04-19T18:45:58.862Z] -> Uploading to [2021-04-19T18:45:58.862Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/4E5D53B4F1F92C436F7061BF334D961C/972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7/179cb11e-3d9c-4a2f-b0c8-257abf9ee9be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T184558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca221e7558eeb13698f9aa96d37395041a267ee16b4bfb011ba21b438a826a2b [2021-04-19T18:45:58.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T18:45:58.862Z] Dload Upload Total Spent Left Speed [2021-04-19T18:45:59.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4811 --:--:-- --:--:-- --:--:-- 4821 [2021-04-19T18:45:59.442Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] } [2021-04-19T18:45:59.471Z] 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] { (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-04-19T18:46:01.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:01.932Z] ---> package-listing.sh [2021-04-19T18:46:01.932Z] ++ facter osfamily [2021-04-19T18:46:01.932Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T18:46:01.932Z] + OS_FAMILY=redhat [2021-04-19T18:46:01.932Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-78 [2021-04-19T18:46:01.932Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T18:46:01.932Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T18:46:01.932Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T18:46:01.932Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T18:46:01.932Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-78 ']' [2021-04-19T18:46:01.932Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T18:46:01.932Z] + case "${OS_FAMILY}" in [2021-04-19T18:46:01.932Z] + rpm -qa [2021-04-19T18:46:01.932Z] + sort [2021-04-19T18:46:07.262Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T18:46:07.262Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T18:46:07.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T18:46:07.262Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-78 ']' [2021-04-19T18:46:07.262Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-78/archives/ [2021-04-19T18:46:07.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-78/archives/ [Pipeline] echo [2021-04-19T18:46:07.315Z] 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-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T18:46:07.649Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:46:07.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:07.991Z] [2021-04-19T18:46:07.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:46:08.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:08.357Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T18:46:08.357Z] df20fa9351a1: Pulling fs layer [2021-04-19T18:46:08.357Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T18:46:08.357Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T18:46:08.357Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T18:46:08.357Z] 93b61091891f: Pulling fs layer [2021-04-19T18:46:08.357Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T18:46:08.357Z] 5e14af77c1be: Pulling fs layer [2021-04-19T18:46:08.357Z] 01666e4c0597: Pulling fs layer [2021-04-19T18:46:08.357Z] aa168da1d23b: Pulling fs layer [2021-04-19T18:46:08.357Z] 93b61091891f: Waiting [2021-04-19T18:46:08.357Z] 93b9cdb0e59b: Waiting [2021-04-19T18:46:08.357Z] 46f8f816bc3b: Waiting [2021-04-19T18:46:08.357Z] 5e14af77c1be: Waiting [2021-04-19T18:46:08.357Z] 01666e4c0597: Waiting [2021-04-19T18:46:08.357Z] aa168da1d23b: Waiting [2021-04-19T18:46:08.357Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T18:46:08.357Z] 36b3adc4ff6f: Download complete [2021-04-19T18:46:08.357Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T18:46:08.357Z] 46f8f816bc3b: Download complete [2021-04-19T18:46:08.357Z] df20fa9351a1: Verifying Checksum [2021-04-19T18:46:08.357Z] df20fa9351a1: Download complete [2021-04-19T18:46:08.630Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T18:46:08.630Z] 93b9cdb0e59b: Download complete [2021-04-19T18:46:08.630Z] 5e14af77c1be: Verifying Checksum [2021-04-19T18:46:08.631Z] 5e14af77c1be: Download complete [2021-04-19T18:46:08.631Z] 01666e4c0597: Verifying Checksum [2021-04-19T18:46:08.631Z] 01666e4c0597: Download complete [2021-04-19T18:46:08.631Z] 93b61091891f: Verifying Checksum [2021-04-19T18:46:08.631Z] 93b61091891f: Download complete [2021-04-19T18:46:08.631Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T18:46:08.631Z] 8ad3a11d3b57: Download complete [2021-04-19T18:46:08.894Z] df20fa9351a1: Pull complete [2021-04-19T18:46:09.159Z] 36b3adc4ff6f: Pull complete [2021-04-19T18:46:09.743Z] 8ad3a11d3b57: Pull complete [2021-04-19T18:46:09.743Z] 46f8f816bc3b: Pull complete [2021-04-19T18:46:11.154Z] aa168da1d23b: Verifying Checksum [2021-04-19T18:46:11.154Z] aa168da1d23b: Download complete [2021-04-19T18:46:11.417Z] 93b61091891f: Pull complete [2021-04-19T18:46:11.417Z] 93b9cdb0e59b: Pull complete [2021-04-19T18:46:11.685Z] 5e14af77c1be: Pull complete [2021-04-19T18:46:11.685Z] 01666e4c0597: Pull complete [2021-04-19T18:46:18.338Z] aa168da1d23b: Pull complete [2021-04-19T18:46:18.338Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T18:46:18.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:18.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T18:46:18.495Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2021-04-19T18:46:18.555Z] $ 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-78/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-78 -v /w/workspace/dgexfoundry_device-rest-go_PR-78:/w/workspace/dgexfoundry_device-rest-go_PR-78:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T18:46:23.913Z] $ docker top d336eccdead0fb7490168f27554b27faa02a0fef06629a25d80f3cca8f1d6090 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:46:24.415Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T18:46:24.765Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T18:46:25.096Z] + ls /var/log/sa-host [2021-04-19T18:46:25.096Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T18:46:25.096Z] file_magic: OK [2021-04-19T18:46:25.096Z] HZ: Using current value: 100 [2021-04-19T18:46:25.096Z] file_header: OK [2021-04-19T18:46:25.096Z] 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-04-19T18:46:25.096Z] Statistics: [2021-04-19T18:46:25.096Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T18:46:25.096Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T18:46:25.096Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T18:46:25.096Z] file_magic: OK [2021-04-19T18:46:25.096Z] HZ: Using current value: 100 [2021-04-19T18:46:25.096Z] file_header: OK [2021-04-19T18:46:25.096Z] 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-04-19T18:46:25.096Z] Statistics: [2021-04-19T18:46:25.096Z] Hnuu...uuuununununu... [2021-04-19T18:46:25.096Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T18:46:25.338Z] provisioning config files... [2021-04-19T18:46:25.356Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config4785748372375189120tmp [Pipeline] { [Pipeline] echo [2021-04-19T18:46:25.417Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:25.748Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T18:46:25.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T18:46:25.848Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:26.187Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T18:46:26.228Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:26.572Z] ---> sudo-logs.sh [2021-04-19T18:46:26.572Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T18:46:26.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:26.988Z] ---> job-cost.sh [2021-04-19T18:46:26.988Z] lf-activate-venv: SKIPPING [2021-04-19T18:46:26.988Z] DEBUG: total: 0.20999999344348907 [2021-04-19T18:46:26.988Z] INFO: Retrieving Stack Cost... [2021-04-19T18:46:27.937Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:46:28.510Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T18:46:28.558Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:28.904Z] ---> logs-deploy.sh [2021-04-19T18:46:28.904Z] lf-activate-venv: SKIPPING [2021-04-19T18:46:28.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-78/1 [2021-04-19T18:46:28.904Z] INFO: archiving workspace using pattern(s): [2021-04-19T18:46:30.844Z] Archives upload complete. [2021-04-19T18:46:30.844Z] INFO: archiving logs to Nexus [2021-04-19T18:46:31.789Z] ---> uname -a: [2021-04-19T18:46:31.789Z] Linux prd-centos7-docker-4c-2g-867.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-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] ---> lscpu: [2021-04-19T18:46:31.789Z] Architecture: x86_64 [2021-04-19T18:46:31.789Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-19T18:46:31.789Z] Byte Order: Little Endian [2021-04-19T18:46:31.789Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-19T18:46:31.789Z] CPU(s): 4 [2021-04-19T18:46:31.789Z] On-line CPU(s) list: 0-3 [2021-04-19T18:46:31.789Z] Thread(s) per core: 1 [2021-04-19T18:46:31.789Z] Core(s) per socket: 1 [2021-04-19T18:46:31.789Z] Socket(s): 4 [2021-04-19T18:46:31.789Z] NUMA node(s): 1 [2021-04-19T18:46:31.789Z] Vendor ID: GenuineIntel [2021-04-19T18:46:31.789Z] CPU family: 6 [2021-04-19T18:46:31.789Z] Model: 44 [2021-04-19T18:46:31.789Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-19T18:46:31.789Z] Stepping: 1 [2021-04-19T18:46:31.789Z] CPU MHz: 2933.438 [2021-04-19T18:46:31.789Z] BogoMIPS: 5866.87 [2021-04-19T18:46:31.789Z] Virtualization: VT-x [2021-04-19T18:46:31.789Z] Hypervisor vendor: KVM [2021-04-19T18:46:31.789Z] Virtualization type: full [2021-04-19T18:46:31.789Z] L1d cache: 128 KiB [2021-04-19T18:46:31.789Z] L1i cache: 128 KiB [2021-04-19T18:46:31.789Z] L2 cache: 16 MiB [2021-04-19T18:46:31.789Z] L3 cache: 64 MiB [2021-04-19T18:46:31.789Z] NUMA node0 CPU(s): 0-3 [2021-04-19T18:46:31.789Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-19T18:46:31.789Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-19T18:46:31.789Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-19T18:46:31.789Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-19T18:46:31.789Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-19T18:46:31.789Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-19T18:46:31.789Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-19T18:46:31.789Z] Vulnerability Srbds: Not affected [2021-04-19T18:46:31.789Z] Vulnerability Tsx async abort: Not affected [2021-04-19T18:46:31.789Z] 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-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] ---> nproc: [2021-04-19T18:46:31.789Z] 4 [2021-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] [2021-04-19T18:46:31.789Z] ---> df -h: [2021-04-19T18:46:31.789Z] Filesystem Size Used Available Use% Mounted on [2021-04-19T18:46:31.789Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-19T18:46:31.789Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-19T18:46:31.789Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-19T18:46:31.789Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-19T18:46:31.789Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-19T18:46:31.790Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-78 [2021-04-19T18:46:31.790Z] [2021-04-19T18:46:31.790Z] [2021-04-19T18:46:31.790Z] ---> free -m: [2021-04-19T18:46:31.790Z] total used free shared buff/cache available [2021-04-19T18:46:31.790Z] Mem: 1837 734 95 0 1007 997 [2021-04-19T18:46:31.790Z] Swap: 1023 1 1022 [2021-04-19T18:46:31.790Z] [2021-04-19T18:46:31.790Z]