Pull request #684 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7336e8fc50ffcf086b545449c141024ad86ff095+c21ff6277396b81a1001baea71274dd2dd19f737 (c616db63e5eeb8343defe994f622b838f130c766) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-684/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-684/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-15334 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [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-684 # 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/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) > git config core.sparsecheckout # timeout=10 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-10T06:20:00.936Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-10T06:20:01.377Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-10T06:20:01.630Z] ========================================================= [2020-12-10T06:20:01.631Z] EdgeX Global Pipelines Version Info [2020-12-10T06:20:01.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:20:03.215Z] ------------------- [2020-12-10T06:20:03.216Z] stable info: [2020-12-10T06:20:03.216Z] ------------------- [2020-12-10T06:20:03.216Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-10T06:20:03.216Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-10T06:20:03.216Z] Message: update stable to v1.0.172 [2020-12-10T06:20:04.163Z] ------------------- [2020-12-10T06:20:04.163Z] experimental info: [2020-12-10T06:20:04.163Z] ------------------- [2020-12-10T06:20:04.163Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-10T06:20:04.163Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-10T06:20:04.163Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-10T06:20:04.615Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-10T06:20:04.760Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-10T06:20:04.912Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-10T06:20:05.060Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-10T06:20:05.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-10T06:20:05.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-10T06:20:05.523Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-10T06:20:05.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-10T06:20:05.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-10T06:20:05.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-10T06:20:06.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-10T06:20:06.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-10T06:20:06.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-10T06:20:06.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-10T06:20:06.696Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-10T06:20:06.868Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-10T06:20:06.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-10T06:20:07.128Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-10T06:20:07.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-10T06:20:07.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-10T06:20:07.534Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-10T06:20:07.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-10T06:20:07.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-10T06:20:07.955Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-10T06:20:08.079Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-10T06:20:08.199Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-10T06:20:08.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-684 [Pipeline] echo [2020-12-10T06:20:08.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-684 [Pipeline] echo [2020-12-10T06:20:08.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-684 [Pipeline] echo [2020-12-10T06:20:08.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7336e8fc50ffcf086b545449c141024ad86ff095 [Pipeline] echo [2020-12-10T06:20:08.885Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7336e8f [Pipeline] echo [2020-12-10T06:20:09.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T06:20:09.319Z] provisioning config files... [2020-12-10T06:20:09.399Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/config5843296669944828792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:20:09.847Z] ---> docker-login.sh [2020-12-10T06:20:09.847Z] nexus3.edgexfoundry.org:10001 [2020-12-10T06:20:10.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:20:10.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:20:10.382Z] Configure a credential helper to remove this warning. See [2020-12-10T06:20:10.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:20:10.382Z] [2020-12-10T06:20:10.382Z] Login Succeeded [2020-12-10T06:20:10.382Z] nexus3.edgexfoundry.org:10002 [2020-12-10T06:20:10.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:20:10.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:20:10.382Z] Configure a credential helper to remove this warning. See [2020-12-10T06:20:10.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:20:10.382Z] [2020-12-10T06:20:10.382Z] Login Succeeded [2020-12-10T06:20:10.382Z] nexus3.edgexfoundry.org:10003 [2020-12-10T06:20:10.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:20:10.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:20:10.647Z] Configure a credential helper to remove this warning. See [2020-12-10T06:20:10.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:20:10.647Z] [2020-12-10T06:20:10.647Z] Login Succeeded [2020-12-10T06:20:10.647Z] nexus3.edgexfoundry.org:10004 [2020-12-10T06:20:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:20:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:20:10.909Z] Configure a credential helper to remove this warning. See [2020-12-10T06:20:10.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:20:10.909Z] [2020-12-10T06:20:10.909Z] Login Succeeded [2020-12-10T06:20:10.909Z] docker.io [2020-12-10T06:20:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:20:11.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:20:11.170Z] Configure a credential helper to remove this warning. See [2020-12-10T06:20:11.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:20:11.170Z] [2020-12-10T06:20:11.170Z] Login Succeeded [2020-12-10T06:20:11.170Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T06:20:11.195Z] 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-10T06:20:12.363Z] + git log --format=format:%s -1 7336e8fc50ffcf086b545449c141024ad86ff095 [Pipeline] echo [2020-12-10T06:20:12.454Z] GIT_COMMIT: 7336e8fc50ffcf086b545449c141024ad86ff095, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-10T06:20:12.548Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:20:13.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T06:20:13.569Z] [2020-12-10T06:20:13.569Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:20:13.956Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T06:20:13.956Z] latest: Pulling from edgex-devops/git-semver [2020-12-10T06:20:13.956Z] 31603596830f: Pulling fs layer [2020-12-10T06:20:13.956Z] 2a8b12db71e7: Pulling fs layer [2020-12-10T06:20:13.956Z] 6ca5941a6612: Pulling fs layer [2020-12-10T06:20:13.956Z] ecc8261a40a4: Pulling fs layer [2020-12-10T06:20:13.956Z] ecc8261a40a4: Waiting [2020-12-10T06:20:13.956Z] 2a8b12db71e7: Verifying Checksum [2020-12-10T06:20:13.956Z] 2a8b12db71e7: Download complete [2020-12-10T06:20:13.956Z] 31603596830f: Verifying Checksum [2020-12-10T06:20:13.956Z] 31603596830f: Download complete [2020-12-10T06:20:14.221Z] ecc8261a40a4: Verifying Checksum [2020-12-10T06:20:14.221Z] ecc8261a40a4: Download complete [2020-12-10T06:20:14.221Z] 6ca5941a6612: Verifying Checksum [2020-12-10T06:20:14.221Z] 6ca5941a6612: Download complete [2020-12-10T06:20:14.484Z] 31603596830f: Pull complete [2020-12-10T06:20:14.484Z] 2a8b12db71e7: Pull complete [2020-12-10T06:20:15.431Z] 6ca5941a6612: Pull complete [2020-12-10T06:20:15.692Z] ecc8261a40a4: Pull complete [2020-12-10T06:20:15.692Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-10T06:20:15.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T06:20:15.692Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-10T06:20:15.815Z] prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container [2020-12-10T06:20:15.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-684 -v /w/workspace/dgexfoundry_device-sdk-go_PR-684:/w/workspace/dgexfoundry_device-sdk-go_PR-684:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-684@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-10T06:20:18.323Z] $ docker top 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-10T06:20:18.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T06:20:18.682Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T06:20:18.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T06:20:18.889Z] $ docker exec 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent [2020-12-10T06:20:19.055Z] SSH_AUTH_SOCK=/tmp/ssh-XF6msss82G5H/agent.12 [2020-12-10T06:20:19.055Z] SSH_AGENT_PID=18 [2020-12-10T06:20:19.064Z] Running ssh-add (command line suppressed) [2020-12-10T06:20:19.186Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_1359117148866254726.key (/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_1359117148866254726.key) [2020-12-10T06:20:19.235Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T06:20:19.613Z] + git tag --points-at HEAD [Pipeline] } [2020-12-10T06:20:19.646Z] $ docker exec --env ******** --env ******** 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent -k [2020-12-10T06:20:19.764Z] unset SSH_AUTH_SOCK; [2020-12-10T06:20:19.764Z] unset SSH_AGENT_PID; [2020-12-10T06:20:19.764Z] echo Agent pid 18 killed; [2020-12-10T06:20:19.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-10T06:20:20.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T06:20:20.037Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T06:20:20.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T06:20:20.207Z] $ docker exec 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent [2020-12-10T06:20:20.362Z] SSH_AUTH_SOCK=/tmp/ssh-AyJMYkOLmrsz/agent.47 [2020-12-10T06:20:20.362Z] SSH_AGENT_PID=52 [2020-12-10T06:20:20.369Z] Running ssh-add (command line suppressed) [2020-12-10T06:20:20.485Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_7325074608991458781.key (/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_7325074608991458781.key) [2020-12-10T06:20:20.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T06:20:20.920Z] + git semver init [2020-12-10T06:20:20.920Z] # -> Open(): unable to determine branch for HEAD [2020-12-10T06:20:20.920Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-684/.git [2020-12-10T06:20:20.920Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-684 [2020-12-10T06:20:20.920Z] # $SEMVER_REMOTE_NAME = origin [2020-12-10T06:20:20.920Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-10T06:20:20.920Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-10T06:20:20.920Z] # $SEMVER_BRANCH = PR-684 [2020-12-10T06:20:20.920Z] # $SEMVER_TEMP = /tmp/semver-045313787 [2020-12-10T06:20:20.920Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-10T06:20:21.869Z] # '/tmp/semver-045313787' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-684/.semver' [2020-12-10T06:20:21.869Z] # -> Force: false [2020-12-10T06:20:21.869Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-684/.semver [Pipeline] } [2020-12-10T06:20:21.892Z] $ docker exec --env ******** --env ******** 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent -k [2020-12-10T06:20:22.016Z] unset SSH_AUTH_SOCK; [2020-12-10T06:20:22.017Z] unset SSH_AGENT_PID; [2020-12-10T06:20:22.017Z] echo Agent pid 52 killed; [2020-12-10T06:20:22.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-10T06:20:22.644Z] + git semver [Pipeline] } [2020-12-10T06:20:22.674Z] $ docker stop --time=1 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e [2020-12-10T06:20:24.318Z] $ docker rm -f 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-10T06:20:24.859Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-10T06:20:25.264Z] Stashed 1 file(s) [Pipeline] echo [2020-12-10T06:20:25.284Z] [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-10T06:20:41.285Z] Still waiting to schedule task [2020-12-10T06:20:41.285Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15334’ [2020-12-10T06:20:41.326Z] Still waiting to schedule task [2020-12-10T06:20:41.326Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-10T06:22:31.538Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15335 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [Pipeline] { [Pipeline] ws [2020-12-10T06:22:31.694Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-10T06:22:36.874Z] using credential edgex-jenkins-ssh [2020-12-10T06:22:36.941Z] Cloning the remote Git repository [2020-12-10T06:22:37.039Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:22:37.167Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-10T06:22:37.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:22:37.241Z] > git --version # timeout=10 [2020-12-10T06:22:37.262Z] > git --version # 'git version 2.17.1' [2020-12-10T06:22:37.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:22:37.317Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T06:22:39.225Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 [2020-12-10T06:22:38.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-10T06:22:38.556Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T06:22:38.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-10T06:22:38.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:22:38.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:22:38.640Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-10T06:22:39.264Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T06:22:39.282Z] > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 [2020-12-10T06:22:39.468Z] Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 [2020-12-10T06:22:39.468Z] Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) [2020-12-10T06:22:39.392Z] > git remote # timeout=10 [2020-12-10T06:22:39.408Z] > git config --get remote.origin.url # timeout=10 [2020-12-10T06:22:39.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:22:39.443Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-10T06:22:39.469Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-10T06:22:39.494Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T06:22:39.505Z] > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 [2020-12-10T06:22:43.823Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-10T06:22:43.899Z] > git --version # timeout=10 [2020-12-10T06:22:43.909Z] > git --version # 'git version 2.17.1' [2020-12-10T06:22:43.919Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T06:22:45.816Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-10T06:22:46.257Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-10T06:22:46.620Z] + sudo+ service docker restarttrue [2020-12-10T06:22:46.620Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T06:22:49.411Z] provisioning config files... [2020-12-10T06:22:49.453Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4434986287195140355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:22:49.928Z] ---> docker-login.sh [2020-12-10T06:22:49.928Z] nexus3.edgexfoundry.org:10001 [2020-12-10T06:22:50.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:22:51.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:22:51.189Z] Configure a credential helper to remove this warning. See [2020-12-10T06:22:51.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:22:51.189Z] [2020-12-10T06:22:51.189Z] Login Succeeded [2020-12-10T06:22:51.189Z] nexus3.edgexfoundry.org:10002 [2020-12-10T06:22:51.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:22:51.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:22:51.741Z] Configure a credential helper to remove this warning. See [2020-12-10T06:22:51.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:22:51.741Z] [2020-12-10T06:22:51.741Z] Login Succeeded [2020-12-10T06:22:51.741Z] nexus3.edgexfoundry.org:10003 [2020-12-10T06:22:52.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:22:52.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:22:52.291Z] Configure a credential helper to remove this warning. See [2020-12-10T06:22:52.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:22:52.291Z] [2020-12-10T06:22:52.291Z] Login Succeeded [2020-12-10T06:22:52.291Z] nexus3.edgexfoundry.org:10004 [2020-12-10T06:22:52.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:22:52.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:22:52.844Z] Configure a credential helper to remove this warning. See [2020-12-10T06:22:52.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:22:52.844Z] [2020-12-10T06:22:52.844Z] Login Succeeded [2020-12-10T06:22:52.844Z] docker.io [2020-12-10T06:22:53.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:22:53.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:22:53.712Z] Configure a credential helper to remove this warning. See [2020-12-10T06:22:53.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:22:53.712Z] [2020-12-10T06:22:53.712Z] Login Succeeded [2020-12-10T06:22:53.712Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T06:22:53.762Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-10T06:22:54.351Z] ========================================================= [2020-12-10T06:22:54.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-10T06:22:54.351Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:22:54.770Z] + 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-10T06:22:55.044Z] Sending build context to Docker daemon 2.369MB [2020-12-10T06:22:55.327Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-10T06:22:55.327Z] Step 2/8 : FROM ${BASE} [2020-12-10T06:22:55.327Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-10T06:22:55.327Z] 5f621e34cdf4: Pulling fs layer [2020-12-10T06:22:55.327Z] a4357932f1b6: Pulling fs layer [2020-12-10T06:22:55.327Z] 18c013af1878: Pulling fs layer [2020-12-10T06:22:55.327Z] 00ac8860ef70: Pulling fs layer [2020-12-10T06:22:55.327Z] 63d7cb157983: Pulling fs layer [2020-12-10T06:22:55.327Z] b116817d02f9: Pulling fs layer [2020-12-10T06:22:55.327Z] 745a02a5169b: Pulling fs layer [2020-12-10T06:22:55.327Z] 63d7cb157983: Waiting [2020-12-10T06:22:55.327Z] 00ac8860ef70: Waiting [2020-12-10T06:22:55.327Z] b116817d02f9: Waiting [2020-12-10T06:22:55.327Z] 745a02a5169b: Waiting [2020-12-10T06:22:55.327Z] 18c013af1878: Download complete [2020-12-10T06:22:55.327Z] a4357932f1b6: Download complete [2020-12-10T06:22:55.327Z] 63d7cb157983: Verifying Checksum [2020-12-10T06:22:55.327Z] 63d7cb157983: Download complete [2020-12-10T06:22:55.927Z] 5f621e34cdf4: Verifying Checksum [2020-12-10T06:22:55.927Z] 5f621e34cdf4: Download complete [2020-12-10T06:22:55.927Z] b116817d02f9: Download complete [2020-12-10T06:22:56.541Z] 5f621e34cdf4: Pull complete [2020-12-10T06:22:57.157Z] a4357932f1b6: Pull complete [2020-12-10T06:22:57.769Z] 18c013af1878: Pull complete [2020-12-10T06:22:58.369Z] 745a02a5169b: Verifying Checksum [2020-12-10T06:22:58.369Z] 745a02a5169b: Download complete [2020-12-10T06:22:59.354Z] 00ac8860ef70: Verifying Checksum [2020-12-10T06:22:59.354Z] 00ac8860ef70: Download complete [2020-12-10T06:23:09.527Z] 00ac8860ef70: Pull complete [2020-12-10T06:23:09.802Z] 63d7cb157983: Pull complete [2020-12-10T06:23:10.076Z] b116817d02f9: Pull complete [2020-12-10T06:23:14.443Z] 745a02a5169b: Pull complete [2020-12-10T06:23:14.443Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-10T06:23:14.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-10T06:23:14.443Z] ---> b7e6874047d6 [2020-12-10T06:23:14.443Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-10T06:23:17.108Z] ---> Running in 041ca7b032dd [2020-12-10T06:23:17.108Z] Removing intermediate container 041ca7b032dd [2020-12-10T06:23:17.108Z] ---> b2cb9e6d779d [2020-12-10T06:23:17.108Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T06:23:17.389Z] ---> Running in 649ef3e696ed [2020-12-10T06:23:20.018Z] Removing intermediate container 649ef3e696ed [2020-12-10T06:23:20.018Z] ---> 3b3ac707a395 [2020-12-10T06:23:20.018Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-10T06:23:20.018Z] ---> Running in 3dc4a9a2af0d [2020-12-10T06:23:21.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-10T06:23:21.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-10T06:23:22.588Z] OK: 142 MiB in 39 packages [2020-12-10T06:23:23.567Z] Removing intermediate container 3dc4a9a2af0d [2020-12-10T06:23:23.567Z] ---> 34ec68c0d6d7 [2020-12-10T06:23:23.567Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-10T06:23:23.567Z] ---> Running in 83a8ad9b73f4 [2020-12-10T06:23:24.162Z] Removing intermediate container 83a8ad9b73f4 [2020-12-10T06:23:24.162Z] ---> af950d492f12 [2020-12-10T06:23:24.162Z] Step 7/8 : COPY . . [2020-12-10T06:23:25.600Z] ---> 8eba4f2dde0b [2020-12-10T06:23:25.600Z] Step 8/8 : RUN go mod download [2020-12-10T06:23:25.600Z] ---> Running in 8916eeb00244 [2020-12-10T06:23:35.787Z] Running on prd-centos7-docker-4c-2g-15336 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [Pipeline] { [Pipeline] ws [2020-12-10T06:23:35.877Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-10T06:23:42.986Z] using credential edgex-jenkins-ssh [2020-12-10T06:23:43.112Z] Cloning the remote Git repository [2020-12-10T06:23:43.170Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:23:43.271Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-10T06:23:43.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:23:43.356Z] > git --version # timeout=10 [2020-12-10T06:23:43.390Z] > git --version # 'git version 2.24.3' [2020-12-10T06:23:43.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:23:43.451Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T06:23:44.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-10T06:23:44.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T06:23:44.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-10T06:23:44.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-10T06:23:44.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:23:44.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-10T06:23:44.832Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 [2020-12-10T06:23:45.272Z] Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 [2020-12-10T06:23:45.273Z] Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) [2020-12-10T06:23:44.855Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T06:23:44.907Z] > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 [2020-12-10T06:23:45.072Z] > git remote # timeout=10 [2020-12-10T06:23:45.137Z] > git config --get remote.origin.url # timeout=10 [2020-12-10T06:23:45.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T06:23:45.207Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-10T06:23:45.237Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-10T06:23:45.277Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T06:23:45.311Z] > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 [2020-12-10T06:23:47.798Z] Removing intermediate container 8916eeb00244 [2020-12-10T06:23:47.798Z] ---> efcdfc84fec6 [2020-12-10T06:23:47.798Z] Successfully built efcdfc84fec6 [2020-12-10T06:23:47.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:23:48.186Z] + docker inspect -f . ci-base-image-arm64 [2020-12-10T06:23:48.186Z] . [Pipeline] withDockerContainer [2020-12-10T06:23:48.445Z] prd-ubuntu18.04-docker-arm64-4c-16g-15335 does not seem to be running inside a container [2020-12-10T06:23:48.538Z] $ 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-arm64 cat [2020-12-10T06:23:49.298Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-10T06:23:49.334Z] > git --version # timeout=10 [2020-12-10T06:23:49.340Z] > git --version # 'git version 2.24.3' [2020-12-10T06:23:49.359Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-10T06:23:49.960Z] $ docker top 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T06:23:51.008Z] + go version [2020-12-10T06:23:51.008Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-10T06:23:51.630Z] $ docker stop --time=1 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 [2020-12-10T06:23:51.799Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-10T06:23:53.487Z] $ docker rm -f 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2020-12-10T06:23:54.119Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-12-10T06:23:54.566Z] + sudo service docker restart [2020-12-10T06:23:54.566Z] + true [2020-12-10T06:23:54.566Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:23:54.928Z] + docker inspect -f . ci-base-image-arm64 [2020-12-10T06:23:54.928Z] . [Pipeline] withDockerContainer [2020-12-10T06:23:55.170Z] prd-ubuntu18.04-docker-arm64-4c-16g-15335 does not seem to be running inside a container [2020-12-10T06:23:55.267Z] $ 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-arm64 cat [2020-12-10T06:23:56.723Z] $ docker top 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2020-12-10T06:23:57.343Z] provisioning config files... [2020-12-10T06:23:57.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5690090083732990304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:23:57.835Z] + make test [2020-12-10T06:23:57.835Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-10T06:23:57.924Z] ---> docker-login.sh [2020-12-10T06:23:57.924Z] nexus3.edgexfoundry.org:10001 [2020-12-10T06:23:58.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:23:58.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:23:58.836Z] Configure a credential helper to remove this warning. See [2020-12-10T06:23:58.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:23:58.836Z] [2020-12-10T06:23:58.836Z] Login Succeeded [2020-12-10T06:23:58.836Z] nexus3.edgexfoundry.org:10002 [2020-12-10T06:23:59.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:23:59.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:23:59.122Z] Configure a credential helper to remove this warning. See [2020-12-10T06:23:59.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:23:59.122Z] [2020-12-10T06:23:59.122Z] Login Succeeded [2020-12-10T06:23:59.122Z] nexus3.edgexfoundry.org:10003 [2020-12-10T06:23:59.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:23:59.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:23:59.394Z] Configure a credential helper to remove this warning. See [2020-12-10T06:23:59.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:23:59.394Z] [2020-12-10T06:23:59.394Z] Login Succeeded [2020-12-10T06:23:59.719Z] nexus3.edgexfoundry.org:10004 [2020-12-10T06:24:00.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:24:00.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:24:00.000Z] Configure a credential helper to remove this warning. See [2020-12-10T06:24:00.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:24:00.000Z] [2020-12-10T06:24:00.000Z] Login Succeeded [2020-12-10T06:24:00.000Z] docker.io [2020-12-10T06:24:00.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T06:24:00.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T06:24:00.873Z] Configure a credential helper to remove this warning. See [2020-12-10T06:24:00.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T06:24:00.873Z] [2020-12-10T06:24:00.873Z] Login Succeeded [2020-12-10T06:24:00.873Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T06:24:00.927Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-10T06:24:01.973Z] ========================================================= [2020-12-10T06:24:01.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-10T06:24:01.973Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:24:02.597Z] + 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-10T06:24:03.294Z] Sending build context to Docker daemon 2.372MB [2020-12-10T06:24:03.294Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-10T06:24:03.294Z] Step 2/8 : FROM ${BASE} [2020-12-10T06:24:03.294Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-10T06:24:03.294Z] 188c0c94c7c5: Pulling fs layer [2020-12-10T06:24:03.294Z] 0ef7d3d256c8: Pulling fs layer [2020-12-10T06:24:03.294Z] de9db76c5a1d: Pulling fs layer [2020-12-10T06:24:03.294Z] bca2f99d35d6: Pulling fs layer [2020-12-10T06:24:03.294Z] 93359f2a8cfa: Pulling fs layer [2020-12-10T06:24:03.294Z] 7c6f9722023f: Pulling fs layer [2020-12-10T06:24:03.294Z] a35cf1a2eb13: Pulling fs layer [2020-12-10T06:24:03.294Z] bca2f99d35d6: Waiting [2020-12-10T06:24:03.294Z] 93359f2a8cfa: Waiting [2020-12-10T06:24:03.294Z] 7c6f9722023f: Waiting [2020-12-10T06:24:03.294Z] a35cf1a2eb13: Waiting [2020-12-10T06:24:03.294Z] de9db76c5a1d: Verifying Checksum [2020-12-10T06:24:03.294Z] de9db76c5a1d: Download complete [2020-12-10T06:24:03.294Z] 0ef7d3d256c8: Verifying Checksum [2020-12-10T06:24:03.294Z] 0ef7d3d256c8: Download complete [2020-12-10T06:24:03.578Z] 93359f2a8cfa: Verifying Checksum [2020-12-10T06:24:03.578Z] 93359f2a8cfa: Download complete [2020-12-10T06:24:03.850Z] 7c6f9722023f: Verifying Checksum [2020-12-10T06:24:03.851Z] 7c6f9722023f: Download complete [2020-12-10T06:24:04.141Z] 188c0c94c7c5: Verifying Checksum [2020-12-10T06:24:04.141Z] 188c0c94c7c5: Download complete [2020-12-10T06:24:05.153Z] 188c0c94c7c5: Pull complete [2020-12-10T06:24:05.153Z] 0ef7d3d256c8: Pull complete [2020-12-10T06:24:05.477Z] de9db76c5a1d: Pull complete [2020-12-10T06:24:09.001Z] a35cf1a2eb13: Verifying Checksum [2020-12-10T06:24:09.001Z] a35cf1a2eb13: Download complete [2020-12-10T06:24:11.875Z] bca2f99d35d6: Verifying Checksum [2020-12-10T06:24:11.875Z] bca2f99d35d6: Download complete [2020-12-10T06:24:20.006Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-10T06:24:24.397Z] bca2f99d35d6: Pull complete [2020-12-10T06:24:24.397Z] 93359f2a8cfa: Pull complete [2020-12-10T06:24:24.397Z] 7c6f9722023f: Pull complete [2020-12-10T06:24:29.837Z] a35cf1a2eb13: Pull complete [2020-12-10T06:24:29.837Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-10T06:24:29.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-10T06:24:29.837Z] ---> a62c8e92a672 [2020-12-10T06:24:29.837Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-10T06:24:29.837Z] ---> Running in dbf22930954b [2020-12-10T06:24:30.451Z] Removing intermediate container dbf22930954b [2020-12-10T06:24:30.451Z] ---> b12a556b4ff8 [2020-12-10T06:24:30.451Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T06:24:30.451Z] ---> Running in f6570b93f922 [2020-12-10T06:24:32.474Z] Removing intermediate container f6570b93f922 [2020-12-10T06:24:32.474Z] ---> 54b2700577ff [2020-12-10T06:24:32.474Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-10T06:24:32.763Z] ---> Running in a775906f8673 [2020-12-10T06:24:34.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-10T06:24:34.961Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-10T06:24:35.619Z] OK: 166 MiB in 39 packages [2020-12-10T06:24:36.220Z] Removing intermediate container a775906f8673 [2020-12-10T06:24:36.220Z] ---> e24a19949399 [2020-12-10T06:24:36.220Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-10T06:24:36.220Z] ---> Running in 8f460e4e91b9 [2020-12-10T06:24:36.520Z] Removing intermediate container 8f460e4e91b9 [2020-12-10T06:24:36.520Z] ---> 3eb82c9fad0d [2020-12-10T06:24:36.520Z] Step 7/8 : COPY . . [2020-12-10T06:24:37.992Z] ---> 392e2bfc21b3 [2020-12-10T06:24:37.992Z] Step 8/8 : RUN go mod download [2020-12-10T06:24:37.992Z] ---> Running in 570643cad7f8 [2020-12-10T06:24:59.064Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-10T06:24:59.064Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-10T06:24:59.064Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-10T06:24:59.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 20.6% of statements [2020-12-10T06:25:01.715Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.128s coverage: 97.1% of statements [2020-12-10T06:25:04.970Z] Removing intermediate container 570643cad7f8 [2020-12-10T06:25:04.970Z] ---> 027691983ade [2020-12-10T06:25:04.970Z] Successfully built 027691983ade [2020-12-10T06:25:04.970Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:25:05.377Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-10T06:25:05.660Z] . [Pipeline] withDockerContainer [2020-12-10T06:25:05.903Z] prd-centos7-docker-4c-2g-15336 does not seem to be running inside a container [2020-12-10T06:25:06.029Z] $ 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-x86_64 cat [2020-12-10T06:25:07.541Z] $ docker top 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T06:25:08.334Z] + go version [2020-12-10T06:25:08.608Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-10T06:25:08.669Z] $ docker stop --time=1 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae [2020-12-10T06:25:10.162Z] $ docker rm -f 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:25:11.615Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-10T06:25:11.615Z] . [Pipeline] withDockerContainer [2020-12-10T06:25:11.984Z] prd-centos7-docker-4c-2g-15336 does not seem to be running inside a container [2020-12-10T06:25:12.169Z] $ 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-x86_64 cat [2020-12-10T06:25:13.444Z] $ docker top 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T06:25:14.101Z] + make test [2020-12-10T06:25:14.101Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-10T06:25:26.802Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-10T06:25:28.520Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.150s coverage: 9.4% of statements [2020-12-10T06:25:28.521Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-12-10T06:25:28.521Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-10T06:25:28.521Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.796s coverage: 68.9% of statements [2020-12-10T06:25:28.521Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.270s coverage: 52.6% of statements [2020-12-10T06:25:28.521Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.233s coverage: 68.9% of statements [2020-12-10T06:25:28.521Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-10T06:25:28.794Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-10T06:25:28.867Z] $ docker stop --time=1 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 [2020-12-10T06:25:31.099Z] $ docker rm -f 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 [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-10T06:25:33.708Z] Failed in branch arm64 [2020-12-10T06:25:49.258Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-10T06:25:49.258Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-10T06:25:49.258Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-10T06:25:55.031Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 20.6% of statements [2020-12-10T06:25:57.080Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.714s coverage: 97.1% of statements [2020-12-10T06:26:29.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-12-10T06:26:29.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.153s coverage: 21.9% of statements [2020-12-10T06:26:29.451Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-10T06:26:29.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.636s coverage: 68.9% of statements [2020-12-10T06:26:29.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.097s coverage: 52.6% of statements [2020-12-10T06:26:29.451Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.309s coverage: 68.9% of statements [2020-12-10T06:26:29.451Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-10T06:26:29.451Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-10T06:26:29.507Z] $ docker stop --time=1 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 [2020-12-10T06:26:31.483Z] $ docker rm -f 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 [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-10T06:26:34.280Z] Failed in branch amd64 [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-10T06:26:39.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:26:39.404Z] ---> package-listing.sh [2020-12-10T06:26:39.404Z] ++ facter osfamily [2020-12-10T06:26:39.404Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-10T06:26:39.404Z] + OS_FAMILY=redhat [2020-12-10T06:26:39.404Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-684 [2020-12-10T06:26:39.404Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-10T06:26:39.404Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-10T06:26:39.404Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-10T06:26:39.404Z] + PACKAGES=/tmp/packages_start.txt [2020-12-10T06:26:39.404Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-684 ']' [2020-12-10T06:26:39.404Z] + PACKAGES=/tmp/packages_end.txt [2020-12-10T06:26:39.404Z] + case "${OS_FAMILY}" in [2020-12-10T06:26:39.404Z] + rpm -qa [2020-12-10T06:26:39.404Z] + sort [2020-12-10T06:26:44.728Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-10T06:26:44.728Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-10T06:26:44.728Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-10T06:26:44.728Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-684 ']' [2020-12-10T06:26:44.728Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-684/archives/ [2020-12-10T06:26:44.728Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-684/archives/ [Pipeline] echo [2020-12-10T06:26:44.763Z] 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-684/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-10T06:26:45.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:26:45.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T06:26:45.415Z] [2020-12-10T06:26:45.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-10T06:26:45.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T06:26:45.802Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-10T06:26:45.802Z] df20fa9351a1: Pulling fs layer [2020-12-10T06:26:45.802Z] 36b3adc4ff6f: Pulling fs layer [2020-12-10T06:26:45.802Z] 8ad3a11d3b57: Pulling fs layer [2020-12-10T06:26:45.802Z] 46f8f816bc3b: Pulling fs layer [2020-12-10T06:26:45.802Z] 93b61091891f: Pulling fs layer [2020-12-10T06:26:45.802Z] 93b9cdb0e59b: Pulling fs layer [2020-12-10T06:26:45.802Z] 5e14af77c1be: Pulling fs layer [2020-12-10T06:26:45.802Z] 01666e4c0597: Pulling fs layer [2020-12-10T06:26:45.802Z] aa168da1d23b: Pulling fs layer [2020-12-10T06:26:45.802Z] 46f8f816bc3b: Waiting [2020-12-10T06:26:45.802Z] 93b61091891f: Waiting [2020-12-10T06:26:45.802Z] 93b9cdb0e59b: Waiting [2020-12-10T06:26:45.802Z] 5e14af77c1be: Waiting [2020-12-10T06:26:45.802Z] 01666e4c0597: Waiting [2020-12-10T06:26:45.802Z] aa168da1d23b: Waiting [2020-12-10T06:26:45.802Z] 36b3adc4ff6f: Download complete [2020-12-10T06:26:46.063Z] 46f8f816bc3b: Verifying Checksum [2020-12-10T06:26:46.063Z] 46f8f816bc3b: Download complete [2020-12-10T06:26:46.063Z] df20fa9351a1: Download complete [2020-12-10T06:26:46.063Z] 93b9cdb0e59b: Verifying Checksum [2020-12-10T06:26:46.063Z] 93b9cdb0e59b: Download complete [2020-12-10T06:26:46.063Z] 5e14af77c1be: Verifying Checksum [2020-12-10T06:26:46.063Z] 5e14af77c1be: Download complete [2020-12-10T06:26:46.063Z] 01666e4c0597: Verifying Checksum [2020-12-10T06:26:46.063Z] 01666e4c0597: Download complete [2020-12-10T06:26:46.327Z] df20fa9351a1: Pull complete [2020-12-10T06:26:46.327Z] 93b61091891f: Verifying Checksum [2020-12-10T06:26:46.327Z] 93b61091891f: Download complete [2020-12-10T06:26:46.327Z] 8ad3a11d3b57: Verifying Checksum [2020-12-10T06:26:46.327Z] 8ad3a11d3b57: Download complete [2020-12-10T06:26:46.600Z] 36b3adc4ff6f: Pull complete [2020-12-10T06:26:47.190Z] 8ad3a11d3b57: Pull complete [2020-12-10T06:26:47.190Z] 46f8f816bc3b: Pull complete [2020-12-10T06:26:47.775Z] 93b61091891f: Pull complete [2020-12-10T06:26:47.775Z] 93b9cdb0e59b: Pull complete [2020-12-10T06:26:48.038Z] 5e14af77c1be: Pull complete [2020-12-10T06:26:48.615Z] aa168da1d23b: Verifying Checksum [2020-12-10T06:26:48.615Z] aa168da1d23b: Download complete [2020-12-10T06:26:48.878Z] 01666e4c0597: Pull complete [2020-12-10T06:26:57.087Z] aa168da1d23b: Pull complete [2020-12-10T06:26:57.087Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-10T06:26:57.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T06:26:57.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-10T06:26:57.244Z] prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container [2020-12-10T06:26:57.296Z] $ 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-684/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-684 -v /w/workspace/dgexfoundry_device-sdk-go_PR-684:/w/workspace/dgexfoundry_device-sdk-go_PR-684:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-684@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-10T06:27:00.626Z] $ docker top b14a88bfd35802fdc0636191d4024805aff5c16aae80c0b8e88ae0ca377dedbf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T06:27:01.288Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-10T06:27:01.642Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-10T06:27:01.969Z] + ls /var/log/sa-host [2020-12-10T06:27:01.969Z] + sadf -c /var/log/sa-host/sa10 [2020-12-10T06:27:01.969Z] file_magic: OK [2020-12-10T06:27:01.969Z] HZ: Using current value: 100 [2020-12-10T06:27:01.969Z] file_header: OK [2020-12-10T06:27:01.969Z] 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-10T06:27:01.969Z] Statistics: [2020-12-10T06:27:01.969Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-10T06:27:01.969Z] File successfully converted to sysstat format version 12.2.1 [2020-12-10T06:27:01.969Z] + sadf -c /var/log/sa-host/sa23 [2020-12-10T06:27:01.969Z] file_magic: OK [2020-12-10T06:27:01.969Z] HZ: Using current value: 100 [2020-12-10T06:27:01.969Z] file_header: OK [2020-12-10T06:27:01.969Z] 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-10T06:27:01.969Z] Statistics: [2020-12-10T06:27:01.969Z] Hnuu...uuuununununu... [2020-12-10T06:27:01.969Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-10T06:27:02.598Z] provisioning config files... [2020-12-10T06:27:02.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/config7706931974917691621tmp [Pipeline] { [Pipeline] echo [2020-12-10T06:27:02.749Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:27:03.079Z] ---> create-netrc.sh [Pipeline] } [2020-12-10T06:27:03.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-10T06:27:03.268Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:27:03.601Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-10T06:27:03.632Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:27:03.965Z] ---> sudo-logs.sh [2020-12-10T06:27:03.965Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-10T06:27:03.997Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:27:04.332Z] ---> job-cost.sh [2020-12-10T06:27:04.332Z] lf-activate-venv: SKIPPING [2020-12-10T06:27:04.332Z] INFO: No Stack... [2020-12-10T06:27:05.720Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-10T06:27:05.983Z] INFO: Archiving Costs [Pipeline] echo [2020-12-10T06:27:06.021Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T06:27:06.355Z] ---> logs-deploy.sh [2020-12-10T06:27:06.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-684/1 [2020-12-10T06:27:06.355Z] INFO: archiving workspace using pattern(s): [2020-12-10T06:27:08.275Z] Archives upload complete. [2020-12-10T06:27:08.275Z] INFO: archiving logs to Nexus