Pull request #677 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ce79034ab24d5a3a245d7862ec23f6a2c301c16c+cbcd560d226450c2fc49532ec953a0990705dfef (a9aa043b4c119da12ba8ada836bf5f222e305b46) 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-sdk-go/branches/PR-677/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-sdk-go/branches/PR-677/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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13976 in /w/workspace/dgexfoundry_device-sdk-go_PR-677 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-677 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ce79034ab24d5a3a245d7862ec23f6a2c301c16c Merge succeeded, producing ce79034ab24d5a3a245d7862ec23f6a2c301c16c Checking out Revision ce79034ab24d5a3a245d7862ec23f6a2c301c16c (PR-677) > git config core.sparsecheckout # timeout=10 > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # 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 cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # 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-01T06:33:35.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-01T06:33:35.695Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-01T06:33:35.915Z] ========================================================= [2020-12-01T06:33:35.915Z] EdgeX Global Pipelines Version Info [2020-12-01T06:33:35.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:33:38.199Z] ------------------- [2020-12-01T06:33:38.199Z] stable info: [2020-12-01T06:33:38.199Z] ------------------- [2020-12-01T06:33:38.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-01T06:33:38.199Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-01T06:33:38.199Z] Message: update stable to v1.0.169 [2020-12-01T06:33:39.250Z] ------------------- [2020-12-01T06:33:39.250Z] experimental info: [2020-12-01T06:33:39.250Z] ------------------- [2020-12-01T06:33:39.250Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-01T06:33:39.250Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-01T06:33:39.250Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-01T06:33:39.651Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-01T06:33:39.778Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-01T06:33:39.917Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-01T06:33:40.035Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-01T06:33:40.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-01T06:33:40.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-01T06:33:40.557Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-01T06:33:40.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-01T06:33:40.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-01T06:33:40.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-01T06:33:41.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-01T06:33:41.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-01T06:33:41.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-01T06:33:41.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-01T06:33:41.719Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-01T06:33:41.873Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-01T06:33:42.016Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-01T06:33:42.141Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-01T06:33:42.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-01T06:33:42.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-01T06:33:42.526Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-01T06:33:42.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-01T06:33:42.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-01T06:33:42.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-01T06:33:43.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-01T06:33:43.182Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-01T06:33:43.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-677 [Pipeline] echo [2020-12-01T06:33:43.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-677 [Pipeline] echo [2020-12-01T06:33:43.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-677 [Pipeline] echo [2020-12-01T06:33:43.683Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce79034ab24d5a3a245d7862ec23f6a2c301c16c [Pipeline] echo [2020-12-01T06:33:43.826Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce79034 [Pipeline] echo [2020-12-01T06:33:43.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-01T06:33:44.205Z] provisioning config files... [2020-12-01T06:33:44.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/config8651089869434773579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:33:44.758Z] ---> docker-login.sh [2020-12-01T06:33:44.758Z] nexus3.edgexfoundry.org:10001 [2020-12-01T06:33:45.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:33:45.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:33:45.350Z] Configure a credential helper to remove this warning. See [2020-12-01T06:33:45.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:33:45.350Z] [2020-12-01T06:33:45.350Z] Login Succeeded [2020-12-01T06:33:45.350Z] nexus3.edgexfoundry.org:10002 [2020-12-01T06:33:45.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:33:45.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:33:45.615Z] Configure a credential helper to remove this warning. See [2020-12-01T06:33:45.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:33:45.615Z] [2020-12-01T06:33:45.615Z] Login Succeeded [2020-12-01T06:33:45.615Z] nexus3.edgexfoundry.org:10003 [2020-12-01T06:33:45.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:33:45.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:33:45.897Z] Configure a credential helper to remove this warning. See [2020-12-01T06:33:45.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:33:45.897Z] [2020-12-01T06:33:45.897Z] Login Succeeded [2020-12-01T06:33:45.897Z] nexus3.edgexfoundry.org:10004 [2020-12-01T06:33:46.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:33:46.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:33:46.433Z] Configure a credential helper to remove this warning. See [2020-12-01T06:33:46.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:33:46.433Z] [2020-12-01T06:33:46.433Z] Login Succeeded [2020-12-01T06:33:46.433Z] docker.io [2020-12-01T06:33:46.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:33:47.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:33:47.032Z] Configure a credential helper to remove this warning. See [2020-12-01T06:33:47.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:33:47.032Z] [2020-12-01T06:33:47.032Z] Login Succeeded [2020-12-01T06:33:47.032Z] ---> docker-login.sh ends [Pipeline] } [2020-12-01T06:33:47.057Z] 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-01T06:33:48.179Z] + git log --format=format:%s -1 ce79034ab24d5a3a245d7862ec23f6a2c301c16c [Pipeline] echo [2020-12-01T06:33:48.296Z] GIT_COMMIT: ce79034ab24d5a3a245d7862ec23f6a2c301c16c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-01T06:33:48.380Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:33:49.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:33:49.072Z] [2020-12-01T06:33:49.072Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:33:49.554Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:33:49.827Z] latest: Pulling from edgex-devops/git-semver [2020-12-01T06:33:49.827Z] 31603596830f: Pulling fs layer [2020-12-01T06:33:49.827Z] 2a8b12db71e7: Pulling fs layer [2020-12-01T06:33:49.827Z] 6ca5941a6612: Pulling fs layer [2020-12-01T06:33:49.827Z] ecc8261a40a4: Pulling fs layer [2020-12-01T06:33:49.827Z] ecc8261a40a4: Waiting [2020-12-01T06:33:49.827Z] 2a8b12db71e7: Verifying Checksum [2020-12-01T06:33:49.827Z] 2a8b12db71e7: Download complete [2020-12-01T06:33:50.147Z] 31603596830f: Verifying Checksum [2020-12-01T06:33:50.147Z] 31603596830f: Download complete [2020-12-01T06:33:50.427Z] ecc8261a40a4: Verifying Checksum [2020-12-01T06:33:50.427Z] ecc8261a40a4: Download complete [2020-12-01T06:33:50.427Z] 6ca5941a6612: Verifying Checksum [2020-12-01T06:33:50.427Z] 6ca5941a6612: Download complete [2020-12-01T06:33:50.725Z] 31603596830f: Pull complete [2020-12-01T06:33:51.041Z] 2a8b12db71e7: Pull complete [2020-12-01T06:33:53.197Z] 6ca5941a6612: Pull complete [2020-12-01T06:33:53.787Z] ecc8261a40a4: Pull complete [2020-12-01T06:33:53.787Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-01T06:33:53.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-01T06:33:53.787Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-01T06:33:53.964Z] prd-centos7-docker-4c-2g-13976 does not seem to be running inside a container [2020-12-01T06:33:54.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-677 -v /w/workspace/dgexfoundry_device-sdk-go_PR-677:/w/workspace/dgexfoundry_device-sdk-go_PR-677:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-677@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-01T06:33:56.704Z] $ docker top 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-01T06:33:57.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-01T06:33:57.262Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-01T06:33:57.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-01T06:33:57.703Z] $ docker exec 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 ssh-agent [2020-12-01T06:33:58.038Z] SSH_AUTH_SOCK=/tmp/ssh-hrwlGi6wyC6f/agent.11 [2020-12-01T06:33:58.038Z] SSH_AGENT_PID=16 [2020-12-01T06:33:58.071Z] Running ssh-add (command line suppressed) [2020-12-01T06:33:58.316Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/private_key_856564293791034307.key (/w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/private_key_856564293791034307.key) [2020-12-01T06:33:58.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-01T06:33:58.937Z] + git tag --points-at HEAD [Pipeline] } [2020-12-01T06:33:59.051Z] $ docker exec --env ******** --env ******** 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 ssh-agent -k [2020-12-01T06:33:59.287Z] unset SSH_AUTH_SOCK; [2020-12-01T06:33:59.290Z] unset SSH_AGENT_PID; [2020-12-01T06:33:59.290Z] echo Agent pid 16 killed; [2020-12-01T06:33:59.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-01T06:33:59.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-01T06:33:59.583Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-01T06:33:59.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-01T06:33:59.808Z] $ docker exec 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 ssh-agent [2020-12-01T06:34:00.014Z] SSH_AUTH_SOCK=/tmp/ssh-0OlH1cocvV4t/agent.46 [2020-12-01T06:34:00.014Z] SSH_AGENT_PID=51 [2020-12-01T06:34:00.021Z] Running ssh-add (command line suppressed) [2020-12-01T06:34:00.182Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/private_key_2623487648466989633.key (/w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/private_key_2623487648466989633.key) [2020-12-01T06:34:00.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-01T06:34:00.707Z] + git semver init [2020-12-01T06:34:00.707Z] # -> Open(): unable to determine branch for HEAD [2020-12-01T06:34:00.707Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-677/.git [2020-12-01T06:34:00.707Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-677 [2020-12-01T06:34:00.707Z] # $SEMVER_REMOTE_NAME = origin [2020-12-01T06:34:00.707Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-01T06:34:00.707Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-01T06:34:00.707Z] # $SEMVER_BRANCH = PR-677 [2020-12-01T06:34:00.707Z] # $SEMVER_TEMP = /tmp/semver-030957898 [2020-12-01T06:34:00.707Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-01T06:34:01.684Z] # '/tmp/semver-030957898' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-677/.semver' [2020-12-01T06:34:01.684Z] # -> Force: false [2020-12-01T06:34:01.684Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-677/.semver [Pipeline] } [2020-12-01T06:34:01.712Z] $ docker exec --env ******** --env ******** 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 ssh-agent -k [2020-12-01T06:34:01.974Z] unset SSH_AUTH_SOCK; [2020-12-01T06:34:01.976Z] unset SSH_AGENT_PID; [2020-12-01T06:34:01.976Z] echo Agent pid 51 killed; [2020-12-01T06:34:02.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-01T06:34:02.668Z] + git semver [Pipeline] } [2020-12-01T06:34:02.752Z] $ docker stop --time=1 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 [2020-12-01T06:34:04.596Z] $ docker rm -f 99563d9457aafed7f1c89fa2ab9e36fd152a212a0d1bee39a30d8e70e3718993 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-01T06:34:05.195Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-01T06:34:05.696Z] Stashed 1 file(s) [Pipeline] echo [2020-12-01T06:34:05.716Z] [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-01T06:34:21.551Z] Still waiting to schedule task [2020-12-01T06:34:21.551Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-01T06:34:21.577Z] Still waiting to schedule task [2020-12-01T06:34:21.577Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-01T06:36:18.315Z] Running on prd-centos7-docker-4c-2g-13980 in /w/workspace/dgexfoundry_device-sdk-go_PR-677 [Pipeline] { [Pipeline] ws [2020-12-01T06:36:18.406Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-01T06:36:21.022Z] using credential edgex-jenkins-ssh [2020-12-01T06:36:21.072Z] Cloning the remote Git repository [2020-12-01T06:36:21.100Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:36:21.166Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-01T06:36:21.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:36:21.223Z] > git --version # timeout=10 [2020-12-01T06:36:21.230Z] > git --version # 'git version 2.24.3' [2020-12-01T06:36:21.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:36:21.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:36:21.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-01T06:36:21.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:36:21.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-01T06:36:21.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:36:21.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:36:21.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-01T06:36:22.294Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ce79034ab24d5a3a245d7862ec23f6a2c301c16c [2020-12-01T06:36:22.413Z] Merge succeeded, producing ce79034ab24d5a3a245d7862ec23f6a2c301c16c [2020-12-01T06:36:22.413Z] Checking out Revision ce79034ab24d5a3a245d7862ec23f6a2c301c16c (PR-677) [2020-12-01T06:36:22.306Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:36:22.312Z] > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # timeout=10 [2020-12-01T06:36:22.366Z] > git remote # timeout=10 [2020-12-01T06:36:22.377Z] > git config --get remote.origin.url # timeout=10 [2020-12-01T06:36:22.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:36:22.391Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-01T06:36:22.405Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-01T06:36:22.418Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:36:22.426Z] > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # timeout=10 [2020-12-01T06:36:26.019Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-01T06:36:26.050Z] > git --version # timeout=10 [2020-12-01T06:36:26.053Z] > git --version # 'git version 2.24.3' [2020-12-01T06:36:26.059Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-01T06:36:27.501Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:36:27.844Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:36:28.159Z] + true [2020-12-01T06:36:28.159Z] + sudo service docker restart [2020-12-01T06:36:28.159Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-01T06:36:29.222Z] provisioning config files... [2020-12-01T06:36:29.247Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4612929470056604862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:36:29.785Z] ---> docker-login.sh [2020-12-01T06:36:29.785Z] nexus3.edgexfoundry.org:10001 [2020-12-01T06:36:30.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:36:30.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:36:30.047Z] Configure a credential helper to remove this warning. See [2020-12-01T06:36:30.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:36:30.047Z] [2020-12-01T06:36:30.047Z] Login Succeeded [2020-12-01T06:36:30.047Z] nexus3.edgexfoundry.org:10002 [2020-12-01T06:36:30.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:36:30.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:36:30.310Z] Configure a credential helper to remove this warning. See [2020-12-01T06:36:30.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:36:30.310Z] [2020-12-01T06:36:30.310Z] Login Succeeded [2020-12-01T06:36:30.310Z] nexus3.edgexfoundry.org:10003 [2020-12-01T06:36:30.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:36:30.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:36:30.572Z] Configure a credential helper to remove this warning. See [2020-12-01T06:36:30.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:36:30.572Z] [2020-12-01T06:36:30.572Z] Login Succeeded [2020-12-01T06:36:30.572Z] nexus3.edgexfoundry.org:10004 [2020-12-01T06:36:30.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:36:30.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:36:30.835Z] Configure a credential helper to remove this warning. See [2020-12-01T06:36:30.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:36:30.835Z] [2020-12-01T06:36:30.835Z] Login Succeeded [2020-12-01T06:36:30.835Z] docker.io [2020-12-01T06:36:30.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:36:31.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:36:31.097Z] Configure a credential helper to remove this warning. See [2020-12-01T06:36:31.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:36:31.097Z] [2020-12-01T06:36:31.097Z] Login Succeeded [2020-12-01T06:36:31.097Z] ---> docker-login.sh ends [Pipeline] } [2020-12-01T06:36:31.119Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-01T06:36:31.679Z] ========================================================= [2020-12-01T06:36:31.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-01T06:36:31.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:36:32.082Z] + 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-01T06:36:32.082Z] Sending build context to Docker daemon 2.359MB [2020-12-01T06:36:32.082Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-01T06:36:32.082Z] Step 2/8 : FROM ${BASE} [2020-12-01T06:36:32.345Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-01T06:36:32.345Z] df20fa9351a1: Pulling fs layer [2020-12-01T06:36:32.345Z] ed8968b2872e: Pulling fs layer [2020-12-01T06:36:32.345Z] a92cc7c5fd73: Pulling fs layer [2020-12-01T06:36:32.345Z] e871e8e8d7a9: Pulling fs layer [2020-12-01T06:36:32.345Z] e73272ec9a57: Pulling fs layer [2020-12-01T06:36:32.345Z] 1e910a182e73: Pulling fs layer [2020-12-01T06:36:32.345Z] 4e634b169226: Pulling fs layer [2020-12-01T06:36:32.345Z] e73272ec9a57: Waiting [2020-12-01T06:36:32.345Z] 1e910a182e73: Waiting [2020-12-01T06:36:32.345Z] e871e8e8d7a9: Waiting [2020-12-01T06:36:32.345Z] a92cc7c5fd73: Download complete [2020-12-01T06:36:32.345Z] ed8968b2872e: Verifying Checksum [2020-12-01T06:36:32.345Z] ed8968b2872e: Download complete [2020-12-01T06:36:32.345Z] e73272ec9a57: Verifying Checksum [2020-12-01T06:36:32.345Z] e73272ec9a57: Download complete [2020-12-01T06:36:32.345Z] df20fa9351a1: Verifying Checksum [2020-12-01T06:36:32.345Z] df20fa9351a1: Download complete [2020-12-01T06:36:32.345Z] 1e910a182e73: Verifying Checksum [2020-12-01T06:36:32.345Z] 1e910a182e73: Download complete [2020-12-01T06:36:32.619Z] df20fa9351a1: Pull complete [2020-12-01T06:36:32.883Z] ed8968b2872e: Pull complete [2020-12-01T06:36:32.883Z] a92cc7c5fd73: Pull complete [2020-12-01T06:36:34.291Z] 4e634b169226: Verifying Checksum [2020-12-01T06:36:34.291Z] 4e634b169226: Download complete [2020-12-01T06:36:34.868Z] e871e8e8d7a9: Download complete [2020-12-01T06:36:40.208Z] e871e8e8d7a9: Pull complete [2020-12-01T06:36:40.208Z] e73272ec9a57: Pull complete [2020-12-01T06:36:40.208Z] 1e910a182e73: Pull complete [2020-12-01T06:36:45.561Z] 4e634b169226: Pull complete [2020-12-01T06:36:45.561Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-12-01T06:36:45.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-01T06:36:45.561Z] ---> f7629b54cfaa [2020-12-01T06:36:45.561Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-01T06:36:45.561Z] ---> Running in bc1d875398ff [2020-12-01T06:36:45.824Z] Removing intermediate container bc1d875398ff [2020-12-01T06:36:45.824Z] ---> 5179a63918f6 [2020-12-01T06:36:45.824Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-01T06:36:45.824Z] ---> Running in 8f385f7e6c61 [2020-12-01T06:36:46.789Z] Removing intermediate container 8f385f7e6c61 [2020-12-01T06:36:46.789Z] ---> 14e92f1d08ff [2020-12-01T06:36:46.789Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-01T06:36:47.055Z] ---> Running in dcb395fd7489 [2020-12-01T06:36:48.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-01T06:36:48.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-01T06:36:49.529Z] OK: 166 MiB in 39 packages [2020-12-01T06:36:49.793Z] Removing intermediate container dcb395fd7489 [2020-12-01T06:36:49.793Z] ---> 3485ccb35d6b [2020-12-01T06:36:49.793Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-01T06:36:50.057Z] ---> Running in f8e65e0f2966 [2020-12-01T06:36:50.057Z] Removing intermediate container f8e65e0f2966 [2020-12-01T06:36:50.057Z] ---> eb8cd34a8eaf [2020-12-01T06:36:50.057Z] Step 7/8 : COPY . . [2020-12-01T06:36:51.450Z] ---> d69bfffe839b [2020-12-01T06:36:51.450Z] Step 8/8 : RUN go mod download [2020-12-01T06:36:51.450Z] ---> Running in f9ec0fa3f6c0 [2020-12-01T06:37:01.452Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13979 in /w/workspace/dgexfoundry_device-sdk-go_PR-677 [Pipeline] { [Pipeline] ws [2020-12-01T06:37:01.615Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-01T06:37:06.378Z] using credential edgex-jenkins-ssh [2020-12-01T06:37:06.448Z] Cloning the remote Git repository [2020-12-01T06:37:06.504Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:37:06.604Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-01T06:37:06.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:37:06.693Z] > git --version # timeout=10 [2020-12-01T06:37:06.714Z] > git --version # 'git version 2.17.1' [2020-12-01T06:37:06.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:37:06.775Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:37:07.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-01T06:37:07.868Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-01T06:37:07.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-01T06:37:08.582Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ce79034ab24d5a3a245d7862ec23f6a2c301c16c [2020-12-01T06:37:08.813Z] Merge succeeded, producing ce79034ab24d5a3a245d7862ec23f6a2c301c16c [2020-12-01T06:37:08.814Z] Checking out Revision ce79034ab24d5a3a245d7862ec23f6a2c301c16c (PR-677) [2020-12-01T06:37:07.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-01T06:37:07.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:37:07.944Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-01T06:37:08.601Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:37:08.615Z] > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # timeout=10 [2020-12-01T06:37:08.726Z] > git remote # timeout=10 [2020-12-01T06:37:08.744Z] > git config --get remote.origin.url # timeout=10 [2020-12-01T06:37:08.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-01T06:37:08.774Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-01T06:37:08.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-01T06:37:08.822Z] > git config core.sparsecheckout # timeout=10 [2020-12-01T06:37:08.841Z] > git checkout -f ce79034ab24d5a3a245d7862ec23f6a2c301c16c # timeout=10 [2020-12-01T06:37:13.359Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-01T06:37:13.419Z] > git --version # timeout=10 [2020-12-01T06:37:13.431Z] > git --version # 'git version 2.17.1' [2020-12-01T06:37:13.441Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-01T06:37:15.294Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:37:15.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-01T06:37:16.110Z] + sudo service docker restart [2020-12-01T06:37:16.110Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-01T06:37:18.921Z] provisioning config files... [2020-12-01T06:37:18.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1208615408371242267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:37:19.431Z] ---> docker-login.sh [2020-12-01T06:37:19.431Z] nexus3.edgexfoundry.org:10001 [2020-12-01T06:37:20.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:20.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:20.691Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:20.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:20.691Z] [2020-12-01T06:37:20.691Z] Login Succeeded [2020-12-01T06:37:20.691Z] nexus3.edgexfoundry.org:10002 [2020-12-01T06:37:20.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:21.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:21.238Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:21.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:21.238Z] [2020-12-01T06:37:21.238Z] Login Succeeded [2020-12-01T06:37:21.238Z] nexus3.edgexfoundry.org:10003 [2020-12-01T06:37:21.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:21.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:21.790Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:21.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:21.790Z] [2020-12-01T06:37:21.790Z] Login Succeeded [2020-12-01T06:37:21.790Z] nexus3.edgexfoundry.org:10004 [2020-12-01T06:37:22.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:22.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:22.339Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:22.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:22.339Z] [2020-12-01T06:37:22.339Z] Login Succeeded [2020-12-01T06:37:22.339Z] docker.io [2020-12-01T06:37:22.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-01T06:37:23.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-01T06:37:23.209Z] Configure a credential helper to remove this warning. See [2020-12-01T06:37:23.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-01T06:37:23.209Z] [2020-12-01T06:37:23.209Z] Login Succeeded [2020-12-01T06:37:23.209Z] ---> docker-login.sh ends [Pipeline] } [2020-12-01T06:37:23.240Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-12-01T06:37:23.657Z] Removing intermediate container f9ec0fa3f6c0 [2020-12-01T06:37:23.657Z] ---> a094f01008a0 [2020-12-01T06:37:23.657Z] Successfully built a094f01008a0 [2020-12-01T06:37:23.657Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-12-01T06:37:24.002Z] ========================================================= [2020-12-01T06:37:24.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-01T06:37:24.002Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:37:24.155Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-01T06:37:24.155Z] . [Pipeline] withDockerContainer [2020-12-01T06:37:24.404Z] prd-centos7-docker-4c-2g-13980 does not seem to be running inside a container [2020-12-01T06:37:24.427Z] + 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-01T06:37:24.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-01T06:37:25.042Z] Sending build context to Docker daemon 2.358MB [2020-12-01T06:37:25.042Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-01T06:37:25.042Z] Step 2/8 : FROM ${BASE} [2020-12-01T06:37:25.042Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-01T06:37:25.042Z] b538f80385f9: Pulling fs layer [2020-12-01T06:37:25.042Z] 74f711af9a0d: Pulling fs layer [2020-12-01T06:37:25.042Z] 99f96fe45779: Pulling fs layer [2020-12-01T06:37:25.042Z] 8529a6b9a6be: Pulling fs layer [2020-12-01T06:37:25.042Z] 45590311c82a: Pulling fs layer [2020-12-01T06:37:25.042Z] 69ca0ff8b7b3: Pulling fs layer [2020-12-01T06:37:25.042Z] 209524e5b208: Pulling fs layer [2020-12-01T06:37:25.042Z] 45590311c82a: Waiting [2020-12-01T06:37:25.042Z] 69ca0ff8b7b3: Waiting [2020-12-01T06:37:25.042Z] 209524e5b208: Waiting [2020-12-01T06:37:25.042Z] 8529a6b9a6be: Waiting [2020-12-01T06:37:25.042Z] 99f96fe45779: Verifying Checksum [2020-12-01T06:37:25.042Z] 99f96fe45779: Download complete [2020-12-01T06:37:25.042Z] 74f711af9a0d: Verifying Checksum [2020-12-01T06:37:25.042Z] 74f711af9a0d: Download complete [2020-12-01T06:37:25.042Z] 45590311c82a: Verifying Checksum [2020-12-01T06:37:25.042Z] 45590311c82a: Download complete [2020-12-01T06:37:25.042Z] 69ca0ff8b7b3: Download complete [2020-12-01T06:37:25.042Z] b538f80385f9: Verifying Checksum [2020-12-01T06:37:25.042Z] b538f80385f9: Download complete [2020-12-01T06:37:25.262Z] $ docker top 1ca8ace38172a284eb5dc3af019400e1f22bef781376d9dc92766f0c353006ef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:37:25.645Z] b538f80385f9: Pull complete [2020-12-01T06:37:25.915Z] + go version [2020-12-01T06:37:25.915Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-12-01T06:37:25.951Z] $ docker stop --time=1 1ca8ace38172a284eb5dc3af019400e1f22bef781376d9dc92766f0c353006ef [2020-12-01T06:37:26.267Z] 74f711af9a0d: Pull complete [2020-12-01T06:37:26.867Z] 99f96fe45779: Pull complete [2020-12-01T06:37:27.313Z] $ docker rm -f 1ca8ace38172a284eb5dc3af019400e1f22bef781376d9dc92766f0c353006ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-01T06:37:27.852Z] 209524e5b208: Verifying Checksum [2020-12-01T06:37:27.852Z] 209524e5b208: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:37:28.543Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-01T06:37:28.543Z] . [Pipeline] withDockerContainer [2020-12-01T06:37:28.700Z] prd-centos7-docker-4c-2g-13980 does not seem to be running inside a container [2020-12-01T06:37:28.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-01T06:37:28.863Z] 8529a6b9a6be: Verifying Checksum [2020-12-01T06:37:28.863Z] 8529a6b9a6be: Download complete [2020-12-01T06:37:29.533Z] $ docker top af88274f74a4b9a9813303a40ccee5be44579b02da3e11e0b1d5002c8760f579 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:37:30.199Z] + make test [2020-12-01T06:37:30.199Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-01T06:37:38.426Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-01T06:37:39.075Z] 8529a6b9a6be: Pull complete [2020-12-01T06:37:39.347Z] 45590311c82a: Pull complete [2020-12-01T06:37:39.622Z] 69ca0ff8b7b3: Pull complete [2020-12-01T06:37:43.966Z] 209524e5b208: Pull complete [2020-12-01T06:37:43.966Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-12-01T06:37:43.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-01T06:37:43.966Z] ---> 5bddaf1c2fca [2020-12-01T06:37:43.966Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-01T06:37:46.594Z] ---> Running in 992339ad5f70 [2020-12-01T06:37:46.594Z] Removing intermediate container 992339ad5f70 [2020-12-01T06:37:46.594Z] ---> 1f39a16df866 [2020-12-01T06:37:46.594Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-01T06:37:46.869Z] ---> Running in 3785947f5e6d [2020-12-01T06:37:48.517Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-01T06:37:48.517Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:37:48.517Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-01T06:37:49.502Z] Removing intermediate container 3785947f5e6d [2020-12-01T06:37:49.502Z] ---> 04598c6b627a [2020-12-01T06:37:49.502Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-01T06:37:49.502Z] ---> Running in 4ca91ad448ca [2020-12-01T06:37:50.481Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-01T06:37:51.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-01T06:37:51.897Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 20.6% of statements [2020-12-01T06:37:52.066Z] OK: 142 MiB in 39 packages [2020-12-01T06:37:53.050Z] Removing intermediate container 4ca91ad448ca [2020-12-01T06:37:53.050Z] ---> b5479ed3d765 [2020-12-01T06:37:53.050Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-01T06:37:53.323Z] ---> Running in e18854483842 [2020-12-01T06:37:53.600Z] Removing intermediate container e18854483842 [2020-12-01T06:37:53.600Z] ---> ed0a157f11a7 [2020-12-01T06:37:53.600Z] Step 7/8 : COPY . . [2020-12-01T06:37:53.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.478s coverage: 97.1% of statements [2020-12-01T06:37:55.059Z] ---> 32c86a44fbce [2020-12-01T06:37:55.059Z] Step 8/8 : RUN go mod download [2020-12-01T06:37:55.337Z] ---> Running in 4c3808a14041 [2020-12-01T06:38:17.500Z] Removing intermediate container 4c3808a14041 [2020-12-01T06:38:17.500Z] ---> 02c0bea3beb8 [2020-12-01T06:38:17.500Z] Successfully built 02c0bea3beb8 [2020-12-01T06:38:17.500Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:38:17.918Z] + docker inspect -f . ci-base-image-arm64 [2020-12-01T06:38:17.918Z] . [Pipeline] withDockerContainer [2020-12-01T06:38:18.199Z] prd-ubuntu18.04-docker-arm64-4c-16g-13979 does not seem to be running inside a container [2020-12-01T06:38:18.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-01T06:38:19.687Z] $ docker top 206a5c25549fe543998882d7218527f1e4c8c4dc071b6667db22836ff02294f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:38:20.819Z] + go version [2020-12-01T06:38:20.819Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-12-01T06:38:20.864Z] $ docker stop --time=1 206a5c25549fe543998882d7218527f1e4c8c4dc071b6667db22836ff02294f0 [2020-12-01T06:38:22.676Z] $ docker rm -f 206a5c25549fe543998882d7218527f1e4c8c4dc071b6667db22836ff02294f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:38:24.080Z] + docker inspect -f . ci-base-image-arm64 [2020-12-01T06:38:24.081Z] . [Pipeline] withDockerContainer [2020-12-01T06:38:25.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-13979 does not seem to be running inside a container [2020-12-01T06:38:25.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-01T06:38:26.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-12-01T06:38:26.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-12-01T06:38:26.021Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-01T06:38:26.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.271s coverage: 68.9% of statements [2020-12-01T06:38:26.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-12-01T06:38:26.021Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.361s coverage: 68.9% of statements [2020-12-01T06:38:26.021Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-01T06:38:26.021Z] make: *** [Makefile:32: test] Error 2 [2020-12-01T06:38:26.995Z] $ docker top ccb403bb76e3a29b0b645f5b822545b0bc7f44290e2070992469352163733d45 -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-01T06:38:27.439Z] $ docker stop --time=1 af88274f74a4b9a9813303a40ccee5be44579b02da3e11e0b1d5002c8760f579 [2020-12-01T06:38:29.039Z] $ docker rm -f af88274f74a4b9a9813303a40ccee5be44579b02da3e11e0b1d5002c8760f579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2020-12-01T06:38:30.061Z] + make test [2020-12-01T06:38:30.061Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [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-01T06:38:32.250Z] Failed in branch amd64 [2020-12-01T06:38:52.346Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-01T06:39:24.748Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-01T06:39:24.748Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-01T06:39:24.748Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-01T06:39:30.173Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.119s coverage: 20.6% of statements [2020-12-01T06:39:35.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.186s coverage: 97.1% of statements [2020-12-01T06:40:02.490Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements [2020-12-01T06:40:02.490Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-12-01T06:40:02.490Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-01T06:40:02.490Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.813s coverage: 68.9% of statements [2020-12-01T06:40:02.490Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.161s coverage: 52.6% of statements [2020-12-01T06:40:02.490Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.736s coverage: 68.9% of statements [2020-12-01T06:40:02.490Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-01T06:40:02.490Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-01T06:40:02.555Z] $ docker stop --time=1 ccb403bb76e3a29b0b645f5b822545b0bc7f44290e2070992469352163733d45 [2020-12-01T06:40:04.664Z] $ docker rm -f ccb403bb76e3a29b0b645f5b822545b0bc7f44290e2070992469352163733d45 [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-01T06:40:07.435Z] 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-01T06:40:11.789Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:12.441Z] ---> package-listing.sh [2020-12-01T06:40:12.441Z] ++ facter osfamily [2020-12-01T06:40:12.441Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-01T06:40:12.441Z] + OS_FAMILY=redhat [2020-12-01T06:40:12.441Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-677 [2020-12-01T06:40:12.441Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-01T06:40:12.441Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-01T06:40:12.441Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-01T06:40:12.441Z] + PACKAGES=/tmp/packages_start.txt [2020-12-01T06:40:12.441Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-677 ']' [2020-12-01T06:40:12.441Z] + PACKAGES=/tmp/packages_end.txt [2020-12-01T06:40:12.441Z] + case "${OS_FAMILY}" in [2020-12-01T06:40:12.441Z] + rpm -qa [2020-12-01T06:40:12.441Z] + sort [2020-12-01T06:40:17.804Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-01T06:40:17.804Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-01T06:40:17.804Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-01T06:40:17.804Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-677 ']' [2020-12-01T06:40:17.804Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-677/archives/ [2020-12-01T06:40:17.804Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-677/archives/ [Pipeline] echo [2020-12-01T06:40:17.850Z] 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-sdk-go_PR-677/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-01T06:40:18.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:40:18.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:40:19.132Z] [2020-12-01T06:40:19.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-01T06:40:19.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:40:19.877Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-01T06:40:19.877Z] df20fa9351a1: Pulling fs layer [2020-12-01T06:40:19.877Z] 36b3adc4ff6f: Pulling fs layer [2020-12-01T06:40:19.877Z] 8ad3a11d3b57: Pulling fs layer [2020-12-01T06:40:19.877Z] 46f8f816bc3b: Pulling fs layer [2020-12-01T06:40:19.877Z] 93b61091891f: Pulling fs layer [2020-12-01T06:40:19.877Z] 93b9cdb0e59b: Pulling fs layer [2020-12-01T06:40:19.877Z] 5e14af77c1be: Pulling fs layer [2020-12-01T06:40:19.877Z] 01666e4c0597: Pulling fs layer [2020-12-01T06:40:19.877Z] aa168da1d23b: Pulling fs layer [2020-12-01T06:40:19.877Z] 93b9cdb0e59b: Waiting [2020-12-01T06:40:19.877Z] 5e14af77c1be: Waiting [2020-12-01T06:40:19.877Z] 01666e4c0597: Waiting [2020-12-01T06:40:19.877Z] aa168da1d23b: Waiting [2020-12-01T06:40:19.877Z] 46f8f816bc3b: Waiting [2020-12-01T06:40:19.877Z] 93b61091891f: Waiting [2020-12-01T06:40:19.877Z] 36b3adc4ff6f: Verifying Checksum [2020-12-01T06:40:19.877Z] 36b3adc4ff6f: Download complete [2020-12-01T06:40:20.171Z] 46f8f816bc3b: Verifying Checksum [2020-12-01T06:40:20.171Z] 46f8f816bc3b: Download complete [2020-12-01T06:40:20.171Z] df20fa9351a1: Verifying Checksum [2020-12-01T06:40:20.171Z] df20fa9351a1: Download complete [2020-12-01T06:40:20.171Z] 93b9cdb0e59b: Verifying Checksum [2020-12-01T06:40:20.171Z] 93b9cdb0e59b: Download complete [2020-12-01T06:40:20.443Z] 5e14af77c1be: Verifying Checksum [2020-12-01T06:40:20.443Z] 5e14af77c1be: Download complete [2020-12-01T06:40:20.443Z] 01666e4c0597: Verifying Checksum [2020-12-01T06:40:20.443Z] 01666e4c0597: Download complete [2020-12-01T06:40:20.443Z] 93b61091891f: Verifying Checksum [2020-12-01T06:40:20.443Z] 93b61091891f: Download complete [2020-12-01T06:40:20.710Z] df20fa9351a1: Pull complete [2020-12-01T06:40:20.991Z] 36b3adc4ff6f: Pull complete [2020-12-01T06:40:21.268Z] 8ad3a11d3b57: Verifying Checksum [2020-12-01T06:40:21.268Z] 8ad3a11d3b57: Download complete [2020-12-01T06:40:22.771Z] 8ad3a11d3b57: Pull complete [2020-12-01T06:40:23.076Z] 46f8f816bc3b: Pull complete [2020-12-01T06:40:24.132Z] 93b61091891f: Pull complete [2020-12-01T06:40:24.415Z] 93b9cdb0e59b: Pull complete [2020-12-01T06:40:24.696Z] 5e14af77c1be: Pull complete [2020-12-01T06:40:24.962Z] aa168da1d23b: Verifying Checksum [2020-12-01T06:40:24.962Z] aa168da1d23b: Download complete [2020-12-01T06:40:24.962Z] 01666e4c0597: Pull complete [2020-12-01T06:40:35.146Z] aa168da1d23b: Pull complete [2020-12-01T06:40:35.146Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-01T06:40:35.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-01T06:40:35.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-01T06:40:35.438Z] prd-centos7-docker-4c-2g-13976 does not seem to be running inside a container [2020-12-01T06:40:35.513Z] $ 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-sdk-go_PR-677/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-sdk-go_PR-677 -v /w/workspace/dgexfoundry_device-sdk-go_PR-677:/w/workspace/dgexfoundry_device-sdk-go_PR-677:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-677@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-01T06:40:38.461Z] $ docker top 314edc6411c931d11f6ef5ebde6d3d6ec9a8e3bf5f8022c9321ea1adb240d60f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-01T06:40:39.313Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-01T06:40:40.090Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-01T06:40:40.505Z] + ls /var/log/sa-host [2020-12-01T06:40:40.505Z] + sadf -c /var/log/sa-host/sa01 [2020-12-01T06:40:40.505Z] file_magic: OK [2020-12-01T06:40:40.505Z] HZ: Using current value: 100 [2020-12-01T06:40:40.505Z] file_header: OK [2020-12-01T06:40:40.505Z] 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-01T06:40:40.505Z] Statistics: [2020-12-01T06:40:40.505Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-01T06:40:40.505Z] File successfully converted to sysstat format version 12.2.1 [2020-12-01T06:40:40.505Z] + sadf -c /var/log/sa-host/sa23 [2020-12-01T06:40:40.505Z] file_magic: OK [2020-12-01T06:40:40.505Z] HZ: Using current value: 100 [2020-12-01T06:40:40.505Z] file_header: OK [2020-12-01T06:40:40.505Z] 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-01T06:40:40.505Z] Statistics: [2020-12-01T06:40:40.505Z] Hnuu...uuuununununu... [2020-12-01T06:40:40.505Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-01T06:40:40.867Z] provisioning config files... [2020-12-01T06:40:40.889Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-677@tmp/config1326651835786696412tmp [Pipeline] { [Pipeline] echo [2020-12-01T06:40:41.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:41.625Z] ---> create-netrc.sh [Pipeline] } [2020-12-01T06:40:41.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-01T06:40:42.078Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:42.431Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-01T06:40:42.460Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:42.798Z] ---> sudo-logs.sh [2020-12-01T06:40:42.799Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-01T06:40:42.831Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:43.262Z] ---> job-cost.sh [2020-12-01T06:40:43.532Z] lf-activate-venv: SKIPPING [2020-12-01T06:40:43.532Z] INFO: No Stack... [2020-12-01T06:40:44.141Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-01T06:40:44.719Z] INFO: Archiving Costs [Pipeline] echo [2020-12-01T06:40:44.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-01T06:40:45.156Z] ---> logs-deploy.sh [2020-12-01T06:40:45.156Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-677/1 [2020-12-01T06:40:45.156Z] INFO: archiving workspace using pattern(s): [2020-12-01T06:40:47.732Z] Archives upload complete. [2020-12-01T06:40:47.732Z] INFO: archiving logs to Nexus