Pull request #62 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2dc1009696e581976701f93299ca14bdab07eb3+cbc1fb126fca16d22f986b5cd5c305caa6710614 (397d1111a330552e7510161354224073be6690e1) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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-62/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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-62/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14797 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [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-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 Merge succeeded, producing b2dc1009696e581976701f93299ca14bdab07eb3 Checking out Revision b2dc1009696e581976701f93299ca14bdab07eb3 (PR-62) > git config core.sparsecheckout # timeout=10 > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # 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 cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T06:32:16.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T06:32:17.226Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T06:32:17.412Z] ========================================================= [2020-12-07T06:32:17.412Z] EdgeX Global Pipelines Version Info [2020-12-07T06:32:17.412Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:32:19.306Z] ------------------- [2020-12-07T06:32:19.306Z] stable info: [2020-12-07T06:32:19.306Z] ------------------- [2020-12-07T06:32:19.306Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T06:32:19.306Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T06:32:19.306Z] Message: update stable to v1.0.169 [2020-12-07T06:32:19.882Z] ------------------- [2020-12-07T06:32:19.882Z] experimental info: [2020-12-07T06:32:19.882Z] ------------------- [2020-12-07T06:32:19.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T06:32:19.882Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T06:32:19.882Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T06:32:20.469Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-12-07T06:32:20.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-12-07T06:32:20.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T06:32:20.894Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T06:32:21.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T06:32:21.171Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T06:32:21.297Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T06:32:21.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T06:32:21.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T06:32:21.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T06:32:21.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T06:32:22.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-12-07T06:32:22.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T06:32:22.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T06:32:22.414Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:32:22.548Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:32:22.693Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:32:22.823Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:32:22.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T06:32:23.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T06:32:23.236Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T06:32:23.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T06:32:23.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T06:32:23.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T06:32:23.842Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T06:32:23.982Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T06:32:24.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2020-12-07T06:32:24.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2020-12-07T06:32:24.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2020-12-07T06:32:24.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2dc1009696e581976701f93299ca14bdab07eb3 [Pipeline] echo [2020-12-07T06:32:24.662Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2dc100 [Pipeline] echo [2020-12-07T06:32:24.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:32:25.064Z] provisioning config files... [2020-12-07T06:32:25.096Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/config362958809644964210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:32:25.528Z] ---> docker-login.sh [2020-12-07T06:32:25.528Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:32:25.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:32:26.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:32:26.059Z] Configure a credential helper to remove this warning. See [2020-12-07T06:32:26.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:32:26.059Z] [2020-12-07T06:32:26.059Z] Login Succeeded [2020-12-07T06:32:26.059Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:32:26.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:32:26.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:32:26.059Z] Configure a credential helper to remove this warning. See [2020-12-07T06:32:26.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:32:26.059Z] [2020-12-07T06:32:26.059Z] Login Succeeded [2020-12-07T06:32:26.059Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:32:26.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:32:26.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:32:26.322Z] Configure a credential helper to remove this warning. See [2020-12-07T06:32:26.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:32:26.322Z] [2020-12-07T06:32:26.322Z] Login Succeeded [2020-12-07T06:32:26.322Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:32:26.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:32:26.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:32:26.587Z] Configure a credential helper to remove this warning. See [2020-12-07T06:32:26.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:32:26.587Z] [2020-12-07T06:32:26.587Z] Login Succeeded [2020-12-07T06:32:26.587Z] docker.io [2020-12-07T06:32:26.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:32:26.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:32:26.851Z] Configure a credential helper to remove this warning. See [2020-12-07T06:32:26.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:32:26.851Z] [2020-12-07T06:32:26.851Z] Login Succeeded [2020-12-07T06:32:26.851Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:32:26.875Z] 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 [2020-12-07T06:32:28.014Z] + git log --format=format:%s -1 b2dc1009696e581976701f93299ca14bdab07eb3 [Pipeline] echo [2020-12-07T06:32:28.097Z] GIT_COMMIT: b2dc1009696e581976701f93299ca14bdab07eb3, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-07T06:32:28.167Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:32:28.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:32:28.813Z] [2020-12-07T06:32:28.813Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:32:29.219Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:32:29.219Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T06:32:29.219Z] 31603596830f: Pulling fs layer [2020-12-07T06:32:29.219Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T06:32:29.219Z] 6ca5941a6612: Pulling fs layer [2020-12-07T06:32:29.219Z] ecc8261a40a4: Pulling fs layer [2020-12-07T06:32:29.219Z] ecc8261a40a4: Waiting [2020-12-07T06:32:29.219Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T06:32:29.219Z] 2a8b12db71e7: Download complete [2020-12-07T06:32:29.219Z] 31603596830f: Download complete [2020-12-07T06:32:29.496Z] 6ca5941a6612: Verifying Checksum [2020-12-07T06:32:29.496Z] 6ca5941a6612: Download complete [2020-12-07T06:32:29.496Z] ecc8261a40a4: Verifying Checksum [2020-12-07T06:32:29.496Z] ecc8261a40a4: Download complete [2020-12-07T06:32:29.761Z] 31603596830f: Pull complete [2020-12-07T06:32:29.761Z] 2a8b12db71e7: Pull complete [2020-12-07T06:32:30.709Z] 6ca5941a6612: Pull complete [2020-12-07T06:32:31.291Z] ecc8261a40a4: Pull complete [2020-12-07T06:32:31.291Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T06:32:31.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:32:31.291Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T06:32:31.419Z] prd-centos7-docker-4c-2g-14797 does not seem to be running inside a container [2020-12-07T06:32:31.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-62 -v /w/workspace/dgexfoundry_device-rest-go_PR-62:/w/workspace/dgexfoundry_device-rest-go_PR-62:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T06:32:33.095Z] $ docker top 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T06:32:33.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:32:33.651Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:32:33.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:32:33.886Z] $ docker exec 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 ssh-agent [2020-12-07T06:32:34.063Z] SSH_AUTH_SOCK=/tmp/ssh-umFu4xjv6eug/agent.11 [2020-12-07T06:32:34.063Z] SSH_AGENT_PID=16 [2020-12-07T06:32:34.075Z] Running ssh-add (command line suppressed) [2020-12-07T06:32:34.201Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_513835324312566679.key (/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_513835324312566679.key) [2020-12-07T06:32:34.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:32:34.646Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T06:32:34.674Z] $ docker exec --env ******** --env ******** 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 ssh-agent -k [2020-12-07T06:32:34.788Z] unset SSH_AUTH_SOCK; [2020-12-07T06:32:34.788Z] unset SSH_AGENT_PID; [2020-12-07T06:32:34.788Z] echo Agent pid 16 killed; [2020-12-07T06:32:34.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T06:32:35.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:32:35.045Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:32:35.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:32:35.225Z] $ docker exec 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 ssh-agent [2020-12-07T06:32:35.387Z] SSH_AUTH_SOCK=/tmp/ssh-AGs4h9htA5oK/agent.45 [2020-12-07T06:32:35.387Z] SSH_AGENT_PID=50 [2020-12-07T06:32:35.394Z] Running ssh-add (command line suppressed) [2020-12-07T06:32:35.519Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_6378129572018746714.key (/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/private_key_6378129572018746714.key) [2020-12-07T06:32:35.576Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:32:35.958Z] + git semver init [2020-12-07T06:32:35.958Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T06:32:35.958Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-62/.git [2020-12-07T06:32:35.958Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-62 [2020-12-07T06:32:35.958Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T06:32:35.958Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T06:32:35.958Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T06:32:35.958Z] # $SEMVER_BRANCH = PR-62 [2020-12-07T06:32:35.958Z] # $SEMVER_TEMP = /tmp/semver-489445802 [2020-12-07T06:32:35.958Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-12-07T06:32:36.913Z] # '/tmp/semver-489445802' -> '/w/workspace/dgexfoundry_device-rest-go_PR-62/.semver' [2020-12-07T06:32:36.913Z] # -> Force: false [2020-12-07T06:32:36.913Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-62/.semver [Pipeline] } [2020-12-07T06:32:36.936Z] $ docker exec --env ******** --env ******** 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 ssh-agent -k [2020-12-07T06:32:37.053Z] unset SSH_AUTH_SOCK; [2020-12-07T06:32:37.054Z] unset SSH_AGENT_PID; [2020-12-07T06:32:37.054Z] echo Agent pid 50 killed; [2020-12-07T06:32:37.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T06:32:37.671Z] + git semver [Pipeline] } [2020-12-07T06:32:37.704Z] $ docker stop --time=1 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 [2020-12-07T06:32:39.098Z] $ docker rm -f 02daa8944761703e3ef6453060e4fb6ce0bd634944b453f69d603cb0ac183e13 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T06:32:39.678Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T06:32:40.137Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T06:32:40.162Z] [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 [2020-12-07T06:32:56.255Z] Still waiting to schedule task [2020-12-07T06:32:56.255Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-07T06:32:56.286Z] Still waiting to schedule task [2020-12-07T06:32:56.286Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T06:33:58.168Z] Running on prd-centos7-docker-4c-2g-14801 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [Pipeline] { [Pipeline] ws [2020-12-07T06:33:58.266Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:34:02.521Z] using credential edgex-jenkins-ssh [2020-12-07T06:34:02.588Z] Cloning the remote Git repository [2020-12-07T06:34:02.453Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:34:02.527Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-12-07T06:34:02.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:34:02.590Z] > git --version # timeout=10 [2020-12-07T06:34:02.598Z] > git --version # 'git version 2.24.3' [2020-12-07T06:34:02.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:34:02.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:34:04.256Z] Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T06:34:04.336Z] Merge succeeded, producing b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T06:34:04.337Z] Checking out Revision b2dc1009696e581976701f93299ca14bdab07eb3 (PR-62) [2020-12-07T06:34:03.760Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T06:34:03.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:34:03.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T06:34:03.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:34:03.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:34:03.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:34:04.233Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:34:04.240Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T06:34:04.277Z] > git remote # timeout=10 [2020-12-07T06:34:04.282Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:34:04.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:34:04.294Z] > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [2020-12-07T06:34:04.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:34:04.314Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:34:04.318Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T06:34:07.915Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:34:07.939Z] > git --version # timeout=10 [2020-12-07T06:34:07.944Z] > git --version # 'git version 2.24.3' [2020-12-07T06:34:07.949Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T06:34:09.491Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:34:09.838Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:34:10.164Z] + sudo service docker restart [2020-12-07T06:34:10.164Z] + true [2020-12-07T06:34:10.164Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:34:11.726Z] provisioning config files... [2020-12-07T06:34:11.752Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1921002204237018731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:34:12.200Z] ---> docker-login.sh [2020-12-07T06:34:12.200Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:34:12.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:34:12.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:34:12.474Z] Configure a credential helper to remove this warning. See [2020-12-07T06:34:12.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:34:12.474Z] [2020-12-07T06:34:12.474Z] Login Succeeded [2020-12-07T06:34:12.474Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:34:12.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:34:12.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:34:12.742Z] Configure a credential helper to remove this warning. See [2020-12-07T06:34:12.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:34:12.742Z] [2020-12-07T06:34:12.742Z] Login Succeeded [2020-12-07T06:34:12.742Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:34:12.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:34:13.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:34:13.006Z] Configure a credential helper to remove this warning. See [2020-12-07T06:34:13.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:34:13.006Z] [2020-12-07T06:34:13.006Z] Login Succeeded [2020-12-07T06:34:13.006Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:34:13.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:34:13.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:34:13.006Z] Configure a credential helper to remove this warning. See [2020-12-07T06:34:13.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:34:13.006Z] [2020-12-07T06:34:13.006Z] Login Succeeded [2020-12-07T06:34:13.006Z] docker.io [2020-12-07T06:34:13.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:34:13.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:34:13.530Z] Configure a credential helper to remove this warning. See [2020-12-07T06:34:13.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:34:13.530Z] [2020-12-07T06:34:13.530Z] Login Succeeded [2020-12-07T06:34:13.530Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:34:13.554Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:34:14.183Z] ========================================================= [2020-12-07T06:34:14.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T06:34:14.183Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:34:14.564Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-07T06:34:14.564Z] Sending build context to Docker daemon 79.87kB [2020-12-07T06:34:14.564Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T06:34:14.564Z] Step 2/10 : FROM ${BASE} [2020-12-07T06:34:14.828Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T06:34:14.828Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T06:34:14.828Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T06:34:14.828Z] de9db76c5a1d: Pulling fs layer [2020-12-07T06:34:14.828Z] bca2f99d35d6: Pulling fs layer [2020-12-07T06:34:14.828Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T06:34:14.828Z] 7c6f9722023f: Pulling fs layer [2020-12-07T06:34:14.828Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T06:34:14.828Z] 93359f2a8cfa: Waiting [2020-12-07T06:34:14.828Z] 7c6f9722023f: Waiting [2020-12-07T06:34:14.828Z] a35cf1a2eb13: Waiting [2020-12-07T06:34:14.828Z] bca2f99d35d6: Waiting [2020-12-07T06:34:14.828Z] de9db76c5a1d: Download complete [2020-12-07T06:34:14.828Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T06:34:14.828Z] 0ef7d3d256c8: Download complete [2020-12-07T06:34:14.828Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T06:34:14.828Z] 93359f2a8cfa: Download complete [2020-12-07T06:34:14.828Z] 7c6f9722023f: Verifying Checksum [2020-12-07T06:34:14.828Z] 7c6f9722023f: Download complete [2020-12-07T06:34:14.828Z] 188c0c94c7c5: Download complete [2020-12-07T06:34:15.095Z] 188c0c94c7c5: Pull complete [2020-12-07T06:34:15.361Z] 0ef7d3d256c8: Pull complete [2020-12-07T06:34:15.361Z] de9db76c5a1d: Pull complete [2020-12-07T06:34:16.766Z] a35cf1a2eb13: Download complete [2020-12-07T06:34:17.028Z] bca2f99d35d6: Verifying Checksum [2020-12-07T06:34:17.028Z] bca2f99d35d6: Download complete [2020-12-07T06:34:22.362Z] bca2f99d35d6: Pull complete [2020-12-07T06:34:22.631Z] 93359f2a8cfa: Pull complete [2020-12-07T06:34:22.631Z] 7c6f9722023f: Pull complete [2020-12-07T06:34:27.950Z] a35cf1a2eb13: Pull complete [2020-12-07T06:34:27.950Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T06:34:27.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T06:34:27.950Z] ---> a62c8e92a672 [2020-12-07T06:34:27.950Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T06:34:27.950Z] ---> Running in 00afd57a4e07 [2020-12-07T06:34:27.950Z] Removing intermediate container 00afd57a4e07 [2020-12-07T06:34:27.950Z] ---> 9b73c460afea [2020-12-07T06:34:27.950Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T06:34:27.950Z] ---> Running in 4dce0d7f0bba [2020-12-07T06:34:27.950Z] Removing intermediate container 4dce0d7f0bba [2020-12-07T06:34:27.950Z] ---> 4d523c846bfc [2020-12-07T06:34:27.950Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T06:34:27.950Z] ---> Running in 1ea93d7f9534 [2020-12-07T06:34:27.950Z] Removing intermediate container 1ea93d7f9534 [2020-12-07T06:34:27.950Z] ---> ea5aa4e89f88 [2020-12-07T06:34:27.950Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:34:27.950Z] ---> Running in 4ea71ef5b74b [2020-12-07T06:34:29.358Z] Removing intermediate container 4ea71ef5b74b [2020-12-07T06:34:29.358Z] ---> f1523c24ed37 [2020-12-07T06:34:29.358Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T06:34:29.358Z] ---> Running in 26825bed2699 [2020-12-07T06:34:30.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T06:34:30.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T06:34:31.480Z] OK: 166 MiB in 39 packages [2020-12-07T06:34:32.058Z] Removing intermediate container 26825bed2699 [2020-12-07T06:34:32.058Z] ---> b56e6c252983 [2020-12-07T06:34:32.058Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T06:34:32.058Z] ---> Running in 71d0d09cb992 [2020-12-07T06:34:32.058Z] Removing intermediate container 71d0d09cb992 [2020-12-07T06:34:32.058Z] ---> 56652de869e1 [2020-12-07T06:34:32.058Z] Step 9/10 : COPY . . [2020-12-07T06:34:32.637Z] ---> 59ef3c1e636c [2020-12-07T06:34:32.637Z] Step 10/10 : RUN go mod download [2020-12-07T06:34:32.637Z] ---> Running in a3aab8b1c343 [2020-12-07T06:34:54.682Z] Removing intermediate container a3aab8b1c343 [2020-12-07T06:34:54.682Z] ---> bf5162ee160c [2020-12-07T06:34:54.682Z] Successfully built bf5162ee160c [2020-12-07T06:34:54.682Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:34:55.037Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:34:55.037Z] . [Pipeline] withDockerContainer [2020-12-07T06:34:55.180Z] prd-centos7-docker-4c-2g-14801 does not seem to be running inside a container [2020-12-07T06:34:55.230Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-07T06:34:56.080Z] $ docker top fc8645040f9cb8494f48faefcfb2fa6cdc1cd0452e39a1f6f3ed22e86f4a8937 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:34:56.628Z] + go version [2020-12-07T06:34:56.628Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T06:34:56.654Z] $ docker stop --time=1 fc8645040f9cb8494f48faefcfb2fa6cdc1cd0452e39a1f6f3ed22e86f4a8937 [2020-12-07T06:34:57.997Z] $ docker rm -f fc8645040f9cb8494f48faefcfb2fa6cdc1cd0452e39a1f6f3ed22e86f4a8937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:34:59.093Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:34:59.093Z] . [Pipeline] withDockerContainer [2020-12-07T06:34:59.222Z] prd-centos7-docker-4c-2g-14801 does not seem to be running inside a container [2020-12-07T06:34:59.273Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-07T06:34:59.859Z] $ docker top d477c594c970743a55cce9d3364d8d1365ccc16b2076b2bd64eab32f8d147011 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:35:00.402Z] + make test [2020-12-07T06:35:00.402Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T06:35:00.989Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T06:35:09.236Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:35:09.236Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T06:35:09.236Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T06:35:11.842Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2020-12-07T06:35:12.105Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T06:35:12.150Z] $ docker stop --time=1 d477c594c970743a55cce9d3364d8d1365ccc16b2076b2bd64eab32f8d147011 [2020-12-07T06:35:14.591Z] $ docker rm -f d477c594c970743a55cce9d3364d8d1365ccc16b2076b2bd64eab32f8d147011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T06:35:17.247Z] Failed in branch amd64 [2020-12-07T06:35:22.599Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14804 in /w/workspace/dgexfoundry_device-rest-go_PR-62 [Pipeline] { [Pipeline] ws [2020-12-07T06:35:22.745Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:35:28.084Z] using credential edgex-jenkins-ssh [2020-12-07T06:35:28.170Z] Cloning the remote Git repository [2020-12-07T06:35:28.239Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:35:28.354Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-12-07T06:35:28.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:35:28.432Z] > git --version # timeout=10 [2020-12-07T06:35:28.454Z] > git --version # 'git version 2.17.1' [2020-12-07T06:35:28.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:35:28.540Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:35:30.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T06:35:30.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:35:30.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T06:35:30.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T06:35:30.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:35:30.337Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:35:30.833Z] Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T06:35:31.041Z] Merge succeeded, producing b2dc1009696e581976701f93299ca14bdab07eb3 [2020-12-07T06:35:31.041Z] Checking out Revision b2dc1009696e581976701f93299ca14bdab07eb3 (PR-62) [2020-12-07T06:35:30.851Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:35:30.869Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T06:35:30.947Z] > git remote # timeout=10 [2020-12-07T06:35:30.965Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:35:30.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:35:31.000Z] > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [2020-12-07T06:35:31.023Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:35:31.047Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:35:31.060Z] > git checkout -f b2dc1009696e581976701f93299ca14bdab07eb3 # timeout=10 [2020-12-07T06:35:35.230Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:35:35.284Z] > git --version # timeout=10 [2020-12-07T06:35:35.292Z] > git --version # 'git version 2.17.1' [2020-12-07T06:35:35.304Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T06:35:37.074Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:35:37.507Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:35:37.860Z] + true [2020-12-07T06:35:37.860Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:35:39.975Z] provisioning config files... [2020-12-07T06:35:40.015Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8161695580655129779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:35:40.471Z] ---> docker-login.sh [2020-12-07T06:35:40.471Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:35:41.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:41.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:41.734Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:41.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:41.734Z] [2020-12-07T06:35:41.734Z] Login Succeeded [2020-12-07T06:35:41.734Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:35:42.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:42.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:42.336Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:42.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:42.336Z] [2020-12-07T06:35:42.336Z] Login Succeeded [2020-12-07T06:35:42.336Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:35:42.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:42.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:42.942Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:42.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:42.942Z] [2020-12-07T06:35:42.942Z] Login Succeeded [2020-12-07T06:35:42.942Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:35:43.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:43.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:43.501Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:43.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:43.501Z] [2020-12-07T06:35:43.501Z] Login Succeeded [2020-12-07T06:35:43.501Z] docker.io [2020-12-07T06:35:43.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:44.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:44.370Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:44.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:44.370Z] [2020-12-07T06:35:44.370Z] Login Succeeded [2020-12-07T06:35:44.370Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:35:44.413Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:35:45.000Z] ========================================================= [2020-12-07T06:35:45.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T06:35:45.000Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:35:45.455Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-07T06:35:45.455Z] Sending build context to Docker daemon 79.87kB [2020-12-07T06:35:45.729Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T06:35:45.729Z] Step 2/10 : FROM ${BASE} [2020-12-07T06:35:45.729Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T06:35:45.729Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T06:35:45.729Z] a4357932f1b6: Pulling fs layer [2020-12-07T06:35:45.729Z] 18c013af1878: Pulling fs layer [2020-12-07T06:35:45.729Z] 00ac8860ef70: Pulling fs layer [2020-12-07T06:35:45.729Z] 63d7cb157983: Pulling fs layer [2020-12-07T06:35:45.729Z] b116817d02f9: Pulling fs layer [2020-12-07T06:35:45.729Z] 745a02a5169b: Pulling fs layer [2020-12-07T06:35:45.729Z] 63d7cb157983: Waiting [2020-12-07T06:35:45.729Z] 745a02a5169b: Waiting [2020-12-07T06:35:45.729Z] b116817d02f9: Waiting [2020-12-07T06:35:45.729Z] 00ac8860ef70: Waiting [2020-12-07T06:35:46.013Z] 18c013af1878: Verifying Checksum [2020-12-07T06:35:46.013Z] 18c013af1878: Download complete [2020-12-07T06:35:46.013Z] a4357932f1b6: Verifying Checksum [2020-12-07T06:35:46.013Z] a4357932f1b6: Download complete [2020-12-07T06:35:46.013Z] 63d7cb157983: Verifying Checksum [2020-12-07T06:35:46.013Z] 63d7cb157983: Download complete [2020-12-07T06:35:46.013Z] b116817d02f9: Verifying Checksum [2020-12-07T06:35:46.013Z] b116817d02f9: Download complete [2020-12-07T06:35:46.013Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T06:35:46.013Z] 5f621e34cdf4: Download complete [2020-12-07T06:35:46.652Z] 5f621e34cdf4: Pull complete [2020-12-07T06:35:47.292Z] a4357932f1b6: Pull complete [2020-12-07T06:35:47.897Z] 18c013af1878: Pull complete [2020-12-07T06:35:48.502Z] 745a02a5169b: Download complete [2020-12-07T06:35:49.945Z] 00ac8860ef70: Verifying Checksum [2020-12-07T06:35:49.945Z] 00ac8860ef70: Download complete [2020-12-07T06:36:00.142Z] 00ac8860ef70: Pull complete [2020-12-07T06:36:00.142Z] 63d7cb157983: Pull complete [2020-12-07T06:36:00.142Z] b116817d02f9: Pull complete [2020-12-07T06:36:03.555Z] 745a02a5169b: Pull complete [2020-12-07T06:36:03.555Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T06:36:03.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T06:36:03.555Z] ---> b7e6874047d6 [2020-12-07T06:36:03.555Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T06:36:06.967Z] ---> Running in f765f076f124 [2020-12-07T06:36:07.243Z] Removing intermediate container f765f076f124 [2020-12-07T06:36:07.243Z] ---> ec18c9ea659d [2020-12-07T06:36:07.243Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T06:36:07.243Z] ---> Running in bacda71e3f08 [2020-12-07T06:36:07.841Z] Removing intermediate container bacda71e3f08 [2020-12-07T06:36:07.841Z] ---> 1518e9a87004 [2020-12-07T06:36:07.841Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T06:36:07.841Z] ---> Running in fba971fc9a20 [2020-12-07T06:36:08.443Z] Removing intermediate container fba971fc9a20 [2020-12-07T06:36:08.443Z] ---> 35cffff6f4d0 [2020-12-07T06:36:08.443Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:36:08.443Z] ---> Running in d3e49a86d85d [2020-12-07T06:36:11.077Z] Removing intermediate container d3e49a86d85d [2020-12-07T06:36:11.077Z] ---> 1d2428e8d0a7 [2020-12-07T06:36:11.077Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T06:36:11.077Z] ---> Running in 5b36ee5c6629 [2020-12-07T06:36:12.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T06:36:13.138Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T06:36:13.734Z] OK: 142 MiB in 39 packages [2020-12-07T06:36:15.171Z] Removing intermediate container 5b36ee5c6629 [2020-12-07T06:36:15.171Z] ---> 14fb2b4c4d67 [2020-12-07T06:36:15.171Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T06:36:15.171Z] ---> Running in 37084576bdbe [2020-12-07T06:36:15.445Z] Removing intermediate container 37084576bdbe [2020-12-07T06:36:15.445Z] ---> a0294f07bce5 [2020-12-07T06:36:15.445Z] Step 9/10 : COPY . . [2020-12-07T06:36:16.423Z] ---> 65355f5e4c16 [2020-12-07T06:36:16.423Z] Step 10/10 : RUN go mod download [2020-12-07T06:36:16.423Z] ---> Running in 4ce17ca2936b [2020-12-07T06:36:38.601Z] Removing intermediate container 4ce17ca2936b [2020-12-07T06:36:38.601Z] ---> 000236aec4ae [2020-12-07T06:36:38.601Z] Successfully built 000236aec4ae [2020-12-07T06:36:38.873Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:36:39.263Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:36:39.263Z] . [Pipeline] withDockerContainer [2020-12-07T06:36:39.565Z] prd-ubuntu18.04-docker-arm64-4c-16g-14804 does not seem to be running inside a container [2020-12-07T06:36:39.648Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-07T06:36:41.675Z] $ docker top b1a078858dace6dacaff4960c72df856698268d5c9527e6376337e01d366e93a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:36:42.780Z] + go version [2020-12-07T06:36:42.780Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T06:36:42.816Z] $ docker stop --time=1 b1a078858dace6dacaff4960c72df856698268d5c9527e6376337e01d366e93a [2020-12-07T06:36:45.145Z] $ docker rm -f b1a078858dace6dacaff4960c72df856698268d5c9527e6376337e01d366e93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:37:06.436Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:37:06.436Z] . [Pipeline] withDockerContainer [2020-12-07T06:37:06.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-14804 does not seem to be running inside a container [2020-12-07T06:37:06.792Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-07T06:37:08.723Z] $ docker top 90f42402363daa4545a7e7d662885e224a8a14a38e529153cddec88e3acf01e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:37:09.826Z] + make test [2020-12-07T06:37:09.826Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T06:37:10.836Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T06:37:37.728Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:37:37.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T06:37:37.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T06:37:42.067Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2020-12-07T06:37:42.067Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T06:37:42.118Z] $ docker stop --time=1 90f42402363daa4545a7e7d662885e224a8a14a38e529153cddec88e3acf01e7 [2020-12-07T06:37:44.250Z] $ docker rm -f 90f42402363daa4545a7e7d662885e224a8a14a38e529153cddec88e3acf01e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T06:37:46.602Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:37:51.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:37:51.833Z] ---> package-listing.sh [2020-12-07T06:37:51.833Z] ++ facter osfamily [2020-12-07T06:37:51.833Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T06:37:51.833Z] + OS_FAMILY=redhat [2020-12-07T06:37:51.833Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-62 [2020-12-07T06:37:51.833Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T06:37:51.833Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T06:37:51.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T06:37:51.833Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T06:37:51.833Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-62 ']' [2020-12-07T06:37:51.833Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T06:37:51.833Z] + case "${OS_FAMILY}" in [2020-12-07T06:37:51.833Z] + rpm -qa [2020-12-07T06:37:51.833Z] + sort [2020-12-07T06:37:57.157Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T06:37:57.157Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T06:37:57.157Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T06:37:57.157Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-62 ']' [2020-12-07T06:37:57.157Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-62/archives/ [2020-12-07T06:37:57.157Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-62/archives/ [Pipeline] echo [2020-12-07T06:37:57.195Z] 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-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T06:37:57.512Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:37:57.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:37:57.857Z] [2020-12-07T06:37:57.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:37:58.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:37:58.313Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T06:37:58.313Z] df20fa9351a1: Pulling fs layer [2020-12-07T06:37:58.313Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T06:37:58.313Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T06:37:58.313Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T06:37:58.313Z] 93b61091891f: Pulling fs layer [2020-12-07T06:37:58.313Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T06:37:58.313Z] 5e14af77c1be: Pulling fs layer [2020-12-07T06:37:58.313Z] 01666e4c0597: Pulling fs layer [2020-12-07T06:37:58.313Z] aa168da1d23b: Pulling fs layer [2020-12-07T06:37:58.313Z] 46f8f816bc3b: Waiting [2020-12-07T06:37:58.313Z] 93b61091891f: Waiting [2020-12-07T06:37:58.313Z] 93b9cdb0e59b: Waiting [2020-12-07T06:37:58.313Z] 5e14af77c1be: Waiting [2020-12-07T06:37:58.313Z] 01666e4c0597: Waiting [2020-12-07T06:37:58.313Z] aa168da1d23b: Waiting [2020-12-07T06:37:58.313Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T06:37:58.313Z] 36b3adc4ff6f: Download complete [2020-12-07T06:37:58.313Z] 46f8f816bc3b: Download complete [2020-12-07T06:37:58.313Z] df20fa9351a1: Verifying Checksum [2020-12-07T06:37:58.313Z] df20fa9351a1: Download complete [2020-12-07T06:37:58.579Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T06:37:58.579Z] 93b9cdb0e59b: Download complete [2020-12-07T06:37:58.579Z] 5e14af77c1be: Verifying Checksum [2020-12-07T06:37:58.579Z] 5e14af77c1be: Download complete [2020-12-07T06:37:58.579Z] 93b61091891f: Verifying Checksum [2020-12-07T06:37:58.579Z] 93b61091891f: Download complete [2020-12-07T06:37:58.579Z] 01666e4c0597: Verifying Checksum [2020-12-07T06:37:58.579Z] 01666e4c0597: Download complete [2020-12-07T06:37:58.843Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T06:37:58.843Z] 8ad3a11d3b57: Download complete [2020-12-07T06:37:58.843Z] df20fa9351a1: Pull complete [2020-12-07T06:37:59.116Z] 36b3adc4ff6f: Pull complete [2020-12-07T06:38:00.077Z] 8ad3a11d3b57: Pull complete [2020-12-07T06:38:00.347Z] 46f8f816bc3b: Pull complete [2020-12-07T06:38:00.613Z] aa168da1d23b: Verifying Checksum [2020-12-07T06:38:00.613Z] aa168da1d23b: Download complete [2020-12-07T06:38:00.876Z] 93b61091891f: Pull complete [2020-12-07T06:38:00.876Z] 93b9cdb0e59b: Pull complete [2020-12-07T06:38:01.154Z] 5e14af77c1be: Pull complete [2020-12-07T06:38:01.154Z] 01666e4c0597: Pull complete [2020-12-07T06:38:07.804Z] aa168da1d23b: Pull complete [2020-12-07T06:38:07.804Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T06:38:07.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:38:07.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T06:38:08.001Z] prd-centos7-docker-4c-2g-14797 does not seem to be running inside a container [2020-12-07T06:38:08.055Z] $ 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-62/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-62 -v /w/workspace/dgexfoundry_device-rest-go_PR-62:/w/workspace/dgexfoundry_device-rest-go_PR-62:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T06:38:11.924Z] $ docker top 1fc878c4f132532cec461f99bbb61e914aee6238146e45a952a3a240ed92b5bc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:38:12.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T06:38:12.908Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T06:38:13.226Z] + ls /var/log/sa-host [2020-12-07T06:38:13.227Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T06:38:13.227Z] file_magic: OK [2020-12-07T06:38:13.227Z] HZ: Using current value: 100 [2020-12-07T06:38:13.227Z] file_header: OK [2020-12-07T06:38:13.227Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T06:38:13.227Z] Statistics: [2020-12-07T06:38:13.227Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T06:38:13.227Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T06:38:13.227Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T06:38:13.227Z] file_magic: OK [2020-12-07T06:38:13.227Z] HZ: Using current value: 100 [2020-12-07T06:38:13.227Z] file_header: OK [2020-12-07T06:38:13.227Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T06:38:13.227Z] Statistics: [2020-12-07T06:38:13.227Z] Hnuu...uuuununununu... [2020-12-07T06:38:13.227Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T06:38:13.510Z] provisioning config files... [2020-12-07T06:38:13.524Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-62@tmp/config8923119763169718799tmp [Pipeline] { [Pipeline] echo [2020-12-07T06:38:13.650Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:13.985Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T06:38:14.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T06:38:14.175Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:14.537Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T06:38:14.570Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:14.911Z] ---> sudo-logs.sh [2020-12-07T06:38:14.911Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T06:38:14.942Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:15.285Z] ---> job-cost.sh [2020-12-07T06:38:15.285Z] lf-activate-venv: SKIPPING [2020-12-07T06:38:15.285Z] INFO: No Stack... [2020-12-07T06:38:16.231Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T06:38:16.804Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T06:38:16.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:17.167Z] ---> logs-deploy.sh [2020-12-07T06:38:17.167Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-62/1 [2020-12-07T06:38:17.167Z] INFO: archiving workspace using pattern(s): [2020-12-07T06:38:19.088Z] Archives upload complete. [2020-12-07T06:38:19.088Z] INFO: archiving logs to Nexus