Pull request #691 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6b68d86531d298a1b5061a6d42461cfeb6932779+c21ff6277396b81a1001baea71274dd2dd19f737 (e1cd141a8ba1a6c73a43e77e9f31a8f7d9d14a49) 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-691/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-691/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15889 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [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-691 # 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/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 Merge succeeded, producing 6b68d86531d298a1b5061a6d42461cfeb6932779 Checking out Revision 6b68d86531d298a1b5061a6d42461cfeb6932779 (PR-691) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # 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 6b68d86531d298a1b5061a6d42461cfeb6932779 # 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-14T07:25:27.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T07:25:28.375Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T07:25:28.569Z] ========================================================= [2020-12-14T07:25:28.569Z] EdgeX Global Pipelines Version Info [2020-12-14T07:25:28.569Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:25:30.096Z] ------------------- [2020-12-14T07:25:30.096Z] stable info: [2020-12-14T07:25:30.096Z] ------------------- [2020-12-14T07:25:30.096Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T07:25:30.096Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T07:25:30.096Z] Message: update stable to v1.0.172 [2020-12-14T07:25:31.042Z] ------------------- [2020-12-14T07:25:31.042Z] experimental info: [2020-12-14T07:25:31.042Z] ------------------- [2020-12-14T07:25:31.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T07:25:31.042Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T07:25:31.042Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T07:25:31.512Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-14T07:25:31.703Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-14T07:25:31.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T07:25:31.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T07:25:32.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T07:25:32.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T07:25:32.358Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T07:25:32.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T07:25:32.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-14T07:25:32.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T07:25:32.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T07:25:33.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-14T07:25:33.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T07:25:33.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T07:25:33.526Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T07:25:33.667Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T07:25:33.816Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T07:25:33.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T07:25:34.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-14T07:25:34.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-14T07:25:34.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-14T07:25:34.494Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-14T07:25:34.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T07:25:34.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T07:25:34.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-14T07:25:34.990Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T07:25:35.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo [2020-12-14T07:25:35.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo [2020-12-14T07:25:35.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo [2020-12-14T07:25:35.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b68d86531d298a1b5061a6d42461cfeb6932779 [Pipeline] echo [2020-12-14T07:25:35.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b68d86 [Pipeline] echo [2020-12-14T07:25:35.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T07:25:36.081Z] provisioning config files... [2020-12-14T07:25:36.112Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/config5551931229252480309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:25:36.536Z] ---> docker-login.sh [2020-12-14T07:25:36.536Z] nexus3.edgexfoundry.org:10001 [2020-12-14T07:25:36.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:25:37.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:25:37.060Z] Configure a credential helper to remove this warning. See [2020-12-14T07:25:37.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:25:37.060Z] [2020-12-14T07:25:37.060Z] Login Succeeded [2020-12-14T07:25:37.060Z] nexus3.edgexfoundry.org:10002 [2020-12-14T07:25:37.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:25:37.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:25:37.323Z] Configure a credential helper to remove this warning. See [2020-12-14T07:25:37.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:25:37.323Z] [2020-12-14T07:25:37.323Z] Login Succeeded [2020-12-14T07:25:37.323Z] nexus3.edgexfoundry.org:10003 [2020-12-14T07:25:37.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:25:37.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:25:37.323Z] Configure a credential helper to remove this warning. See [2020-12-14T07:25:37.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:25:37.323Z] [2020-12-14T07:25:37.323Z] Login Succeeded [2020-12-14T07:25:37.323Z] nexus3.edgexfoundry.org:10004 [2020-12-14T07:25:37.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:25:37.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:25:37.586Z] Configure a credential helper to remove this warning. See [2020-12-14T07:25:37.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:25:37.586Z] [2020-12-14T07:25:37.586Z] Login Succeeded [2020-12-14T07:25:37.586Z] docker.io [2020-12-14T07:25:37.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:25:37.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:25:37.848Z] Configure a credential helper to remove this warning. See [2020-12-14T07:25:37.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:25:37.848Z] [2020-12-14T07:25:37.848Z] Login Succeeded [2020-12-14T07:25:37.848Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T07:25:37.873Z] 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-14T07:25:39.070Z] + git log --format=format:%s -1 6b68d86531d298a1b5061a6d42461cfeb6932779 [Pipeline] echo [2020-12-14T07:25:39.157Z] GIT_COMMIT: 6b68d86531d298a1b5061a6d42461cfeb6932779, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-14T07:25:39.228Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:25:40.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T07:25:40.323Z] [2020-12-14T07:25:40.323Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:25:40.727Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T07:25:40.727Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T07:25:40.727Z] 31603596830f: Pulling fs layer [2020-12-14T07:25:40.727Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T07:25:40.727Z] 6ca5941a6612: Pulling fs layer [2020-12-14T07:25:40.727Z] ecc8261a40a4: Pulling fs layer [2020-12-14T07:25:40.727Z] ecc8261a40a4: Waiting [2020-12-14T07:25:40.727Z] 2a8b12db71e7: Verifying Checksum [2020-12-14T07:25:40.727Z] 2a8b12db71e7: Download complete [2020-12-14T07:25:40.727Z] 31603596830f: Download complete [2020-12-14T07:25:41.005Z] ecc8261a40a4: Verifying Checksum [2020-12-14T07:25:41.005Z] ecc8261a40a4: Download complete [2020-12-14T07:25:41.005Z] 6ca5941a6612: Verifying Checksum [2020-12-14T07:25:41.005Z] 6ca5941a6612: Download complete [2020-12-14T07:25:41.005Z] 31603596830f: Pull complete [2020-12-14T07:25:41.268Z] 2a8b12db71e7: Pull complete [2020-12-14T07:25:42.224Z] 6ca5941a6612: Pull complete [2020-12-14T07:25:42.486Z] ecc8261a40a4: Pull complete [2020-12-14T07:25:42.486Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T07:25:42.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T07:25:42.486Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T07:25:42.613Z] prd-centos7-docker-4c-2g-15889 does not seem to be running inside a container [2020-12-14T07:25:42.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-691 -v /w/workspace/dgexfoundry_device-sdk-go_PR-691:/w/workspace/dgexfoundry_device-sdk-go_PR-691:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-691@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-14T07:25:44.664Z] $ docker top 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T07:25:45.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T07:25:45.122Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T07:25:45.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T07:25:45.359Z] $ docker exec 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 ssh-agent [2020-12-14T07:25:45.533Z] SSH_AUTH_SOCK=/tmp/ssh-EX718aqiqOS6/agent.12 [2020-12-14T07:25:45.533Z] SSH_AGENT_PID=17 [2020-12-14T07:25:45.543Z] Running ssh-add (command line suppressed) [2020-12-14T07:25:45.661Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_2934839660737449542.key (/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_2934839660737449542.key) [2020-12-14T07:25:45.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T07:25:46.095Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T07:25:46.125Z] $ docker exec --env ******** --env ******** 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 ssh-agent -k [2020-12-14T07:25:46.231Z] unset SSH_AUTH_SOCK; [2020-12-14T07:25:46.231Z] unset SSH_AGENT_PID; [2020-12-14T07:25:46.232Z] echo Agent pid 17 killed; [2020-12-14T07:25:46.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T07:25:46.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T07:25:46.518Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T07:25:46.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T07:25:46.686Z] $ docker exec 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 ssh-agent [2020-12-14T07:25:46.842Z] SSH_AUTH_SOCK=/tmp/ssh-ftt4kDtg6b4c/agent.45 [2020-12-14T07:25:46.842Z] SSH_AGENT_PID=50 [2020-12-14T07:25:46.849Z] Running ssh-add (command line suppressed) [2020-12-14T07:25:46.965Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_2513329351535567444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/private_key_2513329351535567444.key) [2020-12-14T07:25:47.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T07:25:47.398Z] + git semver init [2020-12-14T07:25:47.399Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T07:25:47.399Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-691/.git [2020-12-14T07:25:47.399Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-691 [2020-12-14T07:25:47.399Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T07:25:47.399Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T07:25:47.399Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T07:25:47.399Z] # $SEMVER_BRANCH = PR-691 [2020-12-14T07:25:47.399Z] # $SEMVER_TEMP = /tmp/semver-334836266 [2020-12-14T07:25:47.399Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-14T07:25:47.975Z] # '/tmp/semver-334836266' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-691/.semver' [2020-12-14T07:25:47.975Z] # -> Force: false [2020-12-14T07:25:47.975Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-691/.semver [Pipeline] } [2020-12-14T07:25:47.997Z] $ docker exec --env ******** --env ******** 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 ssh-agent -k [2020-12-14T07:25:48.103Z] unset SSH_AUTH_SOCK; [2020-12-14T07:25:48.103Z] unset SSH_AGENT_PID; [2020-12-14T07:25:48.103Z] echo Agent pid 50 killed; [2020-12-14T07:25:48.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T07:25:48.744Z] + git semver [Pipeline] } [2020-12-14T07:25:48.776Z] $ docker stop --time=1 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 [2020-12-14T07:25:50.299Z] $ docker rm -f 847341463cf680c297dce4aca6cc766ca8d0ac82a2319559346673a2ac98f559 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T07:25:50.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T07:25:51.342Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T07:25:51.362Z] [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-14T07:25:52.633Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15884 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [Pipeline] { [Pipeline] ws [2020-12-14T07:25:52.722Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T07:25:57.636Z] using credential edgex-jenkins-ssh [2020-12-14T07:25:57.698Z] Cloning the remote Git repository [2020-12-14T07:25:57.789Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:25:57.895Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-14T07:25:57.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:25:57.990Z] > git --version # timeout=10 [2020-12-14T07:25:58.003Z] > git --version # 'git version 2.17.1' [2020-12-14T07:25:58.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:25:58.068Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T07:25:59.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T07:25:59.844Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T07:25:59.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T07:25:59.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:25:59.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:25:59.916Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T07:26:00.391Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-14T07:26:00.616Z] Merge succeeded, producing 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-14T07:26:00.616Z] Checking out Revision 6b68d86531d298a1b5061a6d42461cfeb6932779 (PR-691) [2020-12-14T07:26:00.440Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T07:26:00.456Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-14T07:26:00.564Z] > git remote # timeout=10 [2020-12-14T07:26:00.587Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T07:26:00.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:26:00.611Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-14T07:26:00.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T07:26:00.652Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T07:26:00.671Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-14T07:26:04.899Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T07:26:04.983Z] > git --version # timeout=10 [2020-12-14T07:26:04.995Z] > git --version # 'git version 2.17.1' [2020-12-14T07:26:05.008Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T07:26:06.750Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T07:26:07.190Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T07:26:07.331Z] Still waiting to schedule task [2020-12-14T07:26:07.331Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-14T07:26:07.575Z] + true [2020-12-14T07:26:07.575Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T07:26:09.708Z] provisioning config files... [2020-12-14T07:26:09.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1610605327696978799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:26:10.222Z] ---> docker-login.sh [2020-12-14T07:26:10.222Z] nexus3.edgexfoundry.org:10001 [2020-12-14T07:26:11.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:26:11.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:26:11.479Z] Configure a credential helper to remove this warning. See [2020-12-14T07:26:11.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:26:11.479Z] [2020-12-14T07:26:11.479Z] Login Succeeded [2020-12-14T07:26:11.479Z] nexus3.edgexfoundry.org:10002 [2020-12-14T07:26:11.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:26:12.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:26:12.045Z] Configure a credential helper to remove this warning. See [2020-12-14T07:26:12.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:26:12.045Z] [2020-12-14T07:26:12.045Z] Login Succeeded [2020-12-14T07:26:12.045Z] nexus3.edgexfoundry.org:10003 [2020-12-14T07:26:12.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:26:12.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:26:12.594Z] Configure a credential helper to remove this warning. See [2020-12-14T07:26:12.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:26:12.594Z] [2020-12-14T07:26:12.594Z] Login Succeeded [2020-12-14T07:26:12.594Z] nexus3.edgexfoundry.org:10004 [2020-12-14T07:26:12.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:26:13.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:26:13.145Z] Configure a credential helper to remove this warning. See [2020-12-14T07:26:13.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:26:13.145Z] [2020-12-14T07:26:13.145Z] Login Succeeded [2020-12-14T07:26:13.145Z] docker.io [2020-12-14T07:26:13.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:26:14.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:26:14.013Z] Configure a credential helper to remove this warning. See [2020-12-14T07:26:14.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:26:14.013Z] [2020-12-14T07:26:14.013Z] Login Succeeded [2020-12-14T07:26:14.013Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T07:26:14.048Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T07:26:14.599Z] ========================================================= [2020-12-14T07:26:14.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T07:26:14.599Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:26:15.024Z] + 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-14T07:26:15.637Z] Sending build context to Docker daemon 2.374MB [2020-12-14T07:26:15.637Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T07:26:15.637Z] Step 2/8 : FROM ${BASE} [2020-12-14T07:26:15.637Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T07:26:15.637Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T07:26:15.637Z] a4357932f1b6: Pulling fs layer [2020-12-14T07:26:15.637Z] 18c013af1878: Pulling fs layer [2020-12-14T07:26:15.637Z] 00ac8860ef70: Pulling fs layer [2020-12-14T07:26:15.637Z] 63d7cb157983: Pulling fs layer [2020-12-14T07:26:15.637Z] b116817d02f9: Pulling fs layer [2020-12-14T07:26:15.637Z] 745a02a5169b: Pulling fs layer [2020-12-14T07:26:15.637Z] 00ac8860ef70: Waiting [2020-12-14T07:26:15.637Z] 63d7cb157983: Waiting [2020-12-14T07:26:15.637Z] b116817d02f9: Waiting [2020-12-14T07:26:15.637Z] 745a02a5169b: Waiting [2020-12-14T07:26:15.637Z] 18c013af1878: Verifying Checksum [2020-12-14T07:26:15.637Z] 18c013af1878: Download complete [2020-12-14T07:26:15.637Z] a4357932f1b6: Verifying Checksum [2020-12-14T07:26:15.637Z] a4357932f1b6: Download complete [2020-12-14T07:26:15.637Z] 63d7cb157983: Verifying Checksum [2020-12-14T07:26:15.637Z] 63d7cb157983: Download complete [2020-12-14T07:26:15.637Z] b116817d02f9: Verifying Checksum [2020-12-14T07:26:15.637Z] b116817d02f9: Download complete [2020-12-14T07:26:15.637Z] 5f621e34cdf4: Verifying Checksum [2020-12-14T07:26:15.637Z] 5f621e34cdf4: Download complete [2020-12-14T07:26:16.239Z] 5f621e34cdf4: Pull complete [2020-12-14T07:26:17.231Z] a4357932f1b6: Pull complete [2020-12-14T07:26:17.508Z] 18c013af1878: Pull complete [2020-12-14T07:26:18.962Z] 745a02a5169b: Verifying Checksum [2020-12-14T07:26:18.962Z] 745a02a5169b: Download complete [2020-12-14T07:26:19.560Z] 00ac8860ef70: Verifying Checksum [2020-12-14T07:26:19.560Z] 00ac8860ef70: Download complete [2020-12-14T07:26:29.715Z] 00ac8860ef70: Pull complete [2020-12-14T07:26:29.715Z] 63d7cb157983: Pull complete [2020-12-14T07:26:29.990Z] b116817d02f9: Pull complete [2020-12-14T07:26:33.385Z] 745a02a5169b: Pull complete [2020-12-14T07:26:33.385Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T07:26:33.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T07:26:33.385Z] ---> b7e6874047d6 [2020-12-14T07:26:33.385Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T07:26:36.785Z] ---> Running in b91709fbd382 [2020-12-14T07:26:36.785Z] Removing intermediate container b91709fbd382 [2020-12-14T07:26:36.785Z] ---> f0debdd575d5 [2020-12-14T07:26:36.785Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T07:26:37.058Z] ---> Running in da61f284f4b1 [2020-12-14T07:26:39.805Z] Removing intermediate container da61f284f4b1 [2020-12-14T07:26:39.805Z] ---> 00705518d436 [2020-12-14T07:26:39.805Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-14T07:26:39.805Z] ---> Running in 768ac556017f [2020-12-14T07:26:40.786Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T07:26:41.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T07:26:42.792Z] OK: 142 MiB in 39 packages [2020-12-14T07:26:43.796Z] Removing intermediate container 768ac556017f [2020-12-14T07:26:43.796Z] ---> dbaf0c90157e [2020-12-14T07:26:43.796Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-14T07:26:43.796Z] ---> Running in 0c626aacaccc [2020-12-14T07:26:44.395Z] Removing intermediate container 0c626aacaccc [2020-12-14T07:26:44.395Z] ---> 955cdb168cf4 [2020-12-14T07:26:44.395Z] Step 7/8 : COPY . . [2020-12-14T07:26:45.838Z] ---> ca9413d913b8 [2020-12-14T07:26:45.838Z] Step 8/8 : RUN go mod download [2020-12-14T07:26:45.838Z] ---> Running in aab235206810 [2020-12-14T07:27:08.023Z] Removing intermediate container aab235206810 [2020-12-14T07:27:08.023Z] ---> f834f0292120 [2020-12-14T07:27:08.296Z] Successfully built f834f0292120 [2020-12-14T07:27:08.296Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:27:08.692Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T07:27:08.692Z] . [Pipeline] withDockerContainer [2020-12-14T07:27:09.007Z] prd-ubuntu18.04-docker-arm64-4c-16g-15884 does not seem to be running inside a container [2020-12-14T07:27:09.128Z] $ 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-14T07:27:10.734Z] $ docker top ecf6f43e83e8764de4b2efeaf1d748a490e7d595c34bf0333f6101ffe7eaae23 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T07:27:11.825Z] + go version [2020-12-14T07:27:11.825Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T07:27:11.890Z] $ docker stop --time=1 ecf6f43e83e8764de4b2efeaf1d748a490e7d595c34bf0333f6101ffe7eaae23 [2020-12-14T07:27:13.812Z] $ docker rm -f ecf6f43e83e8764de4b2efeaf1d748a490e7d595c34bf0333f6101ffe7eaae23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:27:15.106Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T07:27:15.106Z] . [Pipeline] withDockerContainer [2020-12-14T07:27:15.368Z] prd-ubuntu18.04-docker-arm64-4c-16g-15884 does not seem to be running inside a container [2020-12-14T07:27:15.494Z] $ 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-14T07:27:16.861Z] $ docker top cd7183da7a32bade3ca1edc9b54863ea426eaaccee78c0a1e528238b5f06bdd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T07:27:17.869Z] + make test [2020-12-14T07:27:17.869Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-14T07:27:40.051Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-14T07:27:49.174Z] Running on prd-centos7-docker-4c-2g-15891 in /w/workspace/dgexfoundry_device-sdk-go_PR-691 [Pipeline] { [Pipeline] ws [2020-12-14T07:27:49.271Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T07:27:52.152Z] using credential edgex-jenkins-ssh [2020-12-14T07:27:52.233Z] Cloning the remote Git repository [2020-12-14T07:27:52.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:27:52.344Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-14T07:27:52.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:27:52.413Z] > git --version # timeout=10 [2020-12-14T07:27:52.421Z] > git --version # 'git version 2.24.3' [2020-12-14T07:27:52.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:27:52.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T07:27:53.678Z] Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-14T07:27:53.787Z] Merge succeeded, producing 6b68d86531d298a1b5061a6d42461cfeb6932779 [2020-12-14T07:27:53.787Z] Checking out Revision 6b68d86531d298a1b5061a6d42461cfeb6932779 (PR-691) [2020-12-14T07:27:53.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T07:27:53.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T07:27:53.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T07:27:53.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T07:27:53.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:27:53.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T07:27:53.690Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T07:27:53.695Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-14T07:27:53.756Z] > git remote # timeout=10 [2020-12-14T07:27:53.762Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T07:27:53.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T07:27:53.772Z] > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-14T07:27:53.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T07:27:53.793Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T07:27:53.798Z] > git checkout -f 6b68d86531d298a1b5061a6d42461cfeb6932779 # timeout=10 [2020-12-14T07:27:57.596Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T07:27:57.625Z] > git --version # timeout=10 [2020-12-14T07:27:57.630Z] > git --version # 'git version 2.24.3' [2020-12-14T07:27:57.637Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T07:27:59.249Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T07:27:59.621Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T07:27:59.948Z] + sudo service docker restart [2020-12-14T07:27:59.948Z] + true [2020-12-14T07:27:59.948Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T07:28:01.049Z] provisioning config files... [2020-12-14T07:28:01.079Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config654796691792275320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:28:01.550Z] ---> docker-login.sh [2020-12-14T07:28:01.550Z] nexus3.edgexfoundry.org:10001 [2020-12-14T07:28:01.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:28:02.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:28:02.094Z] Configure a credential helper to remove this warning. See [2020-12-14T07:28:02.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:28:02.094Z] [2020-12-14T07:28:02.094Z] Login Succeeded [2020-12-14T07:28:02.094Z] nexus3.edgexfoundry.org:10002 [2020-12-14T07:28:02.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:28:02.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:28:02.361Z] Configure a credential helper to remove this warning. See [2020-12-14T07:28:02.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:28:02.361Z] [2020-12-14T07:28:02.361Z] Login Succeeded [2020-12-14T07:28:02.361Z] nexus3.edgexfoundry.org:10003 [2020-12-14T07:28:02.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:28:02.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:28:02.628Z] Configure a credential helper to remove this warning. See [2020-12-14T07:28:02.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:28:02.628Z] [2020-12-14T07:28:02.628Z] Login Succeeded [2020-12-14T07:28:02.628Z] nexus3.edgexfoundry.org:10004 [2020-12-14T07:28:02.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:28:02.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:28:02.893Z] Configure a credential helper to remove this warning. See [2020-12-14T07:28:02.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:28:02.893Z] [2020-12-14T07:28:02.893Z] Login Succeeded [2020-12-14T07:28:02.893Z] docker.io [2020-12-14T07:28:02.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T07:28:03.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T07:28:03.159Z] Configure a credential helper to remove this warning. See [2020-12-14T07:28:03.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T07:28:03.159Z] [2020-12-14T07:28:03.159Z] Login Succeeded [2020-12-14T07:28:03.159Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T07:28:03.185Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T07:28:03.847Z] ========================================================= [2020-12-14T07:28:03.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T07:28:03.847Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:28:04.239Z] + 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-14T07:28:04.504Z] Sending build context to Docker daemon 2.375MB [2020-12-14T07:28:04.504Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T07:28:04.504Z] Step 2/8 : FROM ${BASE} [2020-12-14T07:28:04.504Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T07:28:04.504Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T07:28:04.504Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T07:28:04.504Z] de9db76c5a1d: Pulling fs layer [2020-12-14T07:28:04.504Z] bca2f99d35d6: Pulling fs layer [2020-12-14T07:28:04.504Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T07:28:04.504Z] 7c6f9722023f: Pulling fs layer [2020-12-14T07:28:04.504Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T07:28:04.504Z] bca2f99d35d6: Waiting [2020-12-14T07:28:04.504Z] 93359f2a8cfa: Waiting [2020-12-14T07:28:04.504Z] 7c6f9722023f: Waiting [2020-12-14T07:28:04.504Z] a35cf1a2eb13: Waiting [2020-12-14T07:28:04.767Z] de9db76c5a1d: Verifying Checksum [2020-12-14T07:28:04.767Z] de9db76c5a1d: Download complete [2020-12-14T07:28:04.767Z] 0ef7d3d256c8: Download complete [2020-12-14T07:28:04.767Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T07:28:04.767Z] 93359f2a8cfa: Download complete [2020-12-14T07:28:04.767Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T07:28:04.767Z] 188c0c94c7c5: Download complete [2020-12-14T07:28:04.767Z] 7c6f9722023f: Verifying Checksum [2020-12-14T07:28:04.767Z] 7c6f9722023f: Download complete [2020-12-14T07:28:05.036Z] 188c0c94c7c5: Pull complete [2020-12-14T07:28:05.299Z] 0ef7d3d256c8: Pull complete [2020-12-14T07:28:05.299Z] de9db76c5a1d: Pull complete [2020-12-14T07:28:06.706Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T07:28:06.706Z] a35cf1a2eb13: Download complete [2020-12-14T07:28:07.676Z] bca2f99d35d6: Verifying Checksum [2020-12-14T07:28:07.676Z] bca2f99d35d6: Download complete [2020-12-14T07:28:14.399Z] bca2f99d35d6: Pull complete [2020-12-14T07:28:14.672Z] 93359f2a8cfa: Pull complete [2020-12-14T07:28:14.672Z] 7c6f9722023f: Pull complete [2020-12-14T07:28:19.132Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T07:28:19.132Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T07:28:19.132Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-14T07:28:19.732Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 20.6% of statements [2020-12-14T07:28:20.057Z] a35cf1a2eb13: Pull complete [2020-12-14T07:28:20.057Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T07:28:20.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T07:28:20.057Z] ---> a62c8e92a672 [2020-12-14T07:28:20.057Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T07:28:20.057Z] ---> Running in 16b524c95420 [2020-12-14T07:28:20.057Z] Removing intermediate container 16b524c95420 [2020-12-14T07:28:20.057Z] ---> aa5f703c08d7 [2020-12-14T07:28:20.057Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T07:28:20.057Z] ---> Running in e616a21ed1ec [2020-12-14T07:28:21.474Z] Removing intermediate container e616a21ed1ec [2020-12-14T07:28:21.474Z] ---> 07fc078e778f [2020-12-14T07:28:21.474Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-14T07:28:21.474Z] ---> Running in abea20c48174 [2020-12-14T07:28:22.433Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T07:28:23.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T07:28:23.969Z] OK: 166 MiB in 39 packages [2020-12-14T07:28:24.235Z] Removing intermediate container abea20c48174 [2020-12-14T07:28:24.235Z] ---> f343fa62eccf [2020-12-14T07:28:24.235Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-14T07:28:24.500Z] ---> Running in 17acd4f84c3c [2020-12-14T07:28:24.501Z] Removing intermediate container 17acd4f84c3c [2020-12-14T07:28:24.501Z] ---> d14995bbb310 [2020-12-14T07:28:24.501Z] Step 7/8 : COPY . . [2020-12-14T07:28:25.905Z] ---> 59b9d6eae419 [2020-12-14T07:28:25.905Z] Step 8/8 : RUN go mod download [2020-12-14T07:28:25.905Z] ---> Running in b043479ed8a8 [2020-12-14T07:28:26.491Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.218s coverage: 97.1% of statements [2020-12-14T07:28:47.989Z] Removing intermediate container b043479ed8a8 [2020-12-14T07:28:47.989Z] ---> f8af4596a830 [2020-12-14T07:28:47.989Z] Successfully built f8af4596a830 [2020-12-14T07:28:47.989Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:28:48.369Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T07:28:48.370Z] . [Pipeline] withDockerContainer [2020-12-14T07:28:48.548Z] prd-centos7-docker-4c-2g-15891 does not seem to be running inside a container [2020-12-14T07:28:48.609Z] $ 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-14T07:28:49.532Z] $ docker top a19fa8b6183cd477cd617444faba1a7e13edde884f6bbbefb7804248583043da -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T07:28:50.098Z] + go version [2020-12-14T07:28:50.098Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T07:28:50.134Z] $ docker stop --time=1 a19fa8b6183cd477cd617444faba1a7e13edde884f6bbbefb7804248583043da [2020-12-14T07:28:51.531Z] $ docker rm -f a19fa8b6183cd477cd617444faba1a7e13edde884f6bbbefb7804248583043da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:28:52.724Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T07:28:52.724Z] . [Pipeline] withDockerContainer [2020-12-14T07:28:52.870Z] prd-centos7-docker-4c-2g-15891 does not seem to be running inside a container [2020-12-14T07:28:52.931Z] $ 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-14T07:28:53.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.139s coverage: 9.4% of statements [2020-12-14T07:28:53.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.142s coverage: 21.9% of statements [2020-12-14T07:28:53.293Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-14T07:28:53.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.758s coverage: 68.9% of statements [2020-12-14T07:28:53.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-12-14T07:28:53.293Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.838s coverage: 68.9% of statements [2020-12-14T07:28:53.293Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-14T07:28:53.293Z] make: *** [Makefile:32: test] Error 2 [2020-12-14T07:28:53.766Z] $ docker top 2468ffe758ae7cd657fee161d17c43fa21868c65d7afafae2a3e25072d5fe51d -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-14T07:28:54.129Z] $ docker stop --time=1 cd7183da7a32bade3ca1edc9b54863ea426eaaccee78c0a1e528238b5f06bdd1 [2020-12-14T07:28:56.341Z] $ docker rm -f cd7183da7a32bade3ca1edc9b54863ea426eaaccee78c0a1e528238b5f06bdd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2020-12-14T07:28:57.348Z] + make test [2020-12-14T07:28:57.348Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [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-14T07:28:59.096Z] Failed in branch arm64 [2020-12-14T07:29:07.481Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-14T07:29:22.643Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T07:29:22.643Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T07:29:22.643Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-14T07:29:26.050Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 20.6% of statements [2020-12-14T07:29:28.690Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.500s coverage: 97.1% of statements [2020-12-14T07:30:00.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-12-14T07:30:00.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.072s coverage: 21.9% of statements [2020-12-14T07:30:00.868Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-14T07:30:00.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.348s coverage: 68.9% of statements [2020-12-14T07:30:00.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements [2020-12-14T07:30:00.868Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.476s coverage: 68.9% of statements [2020-12-14T07:30:00.868Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-14T07:30:00.868Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-14T07:30:00.920Z] $ docker stop --time=1 2468ffe758ae7cd657fee161d17c43fa21868c65d7afafae2a3e25072d5fe51d [2020-12-14T07:30:02.594Z] $ docker rm -f 2468ffe758ae7cd657fee161d17c43fa21868c65d7afafae2a3e25072d5fe51d [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-14T07:30:05.600Z] 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-14T07:30:10.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:10.584Z] ---> package-listing.sh [2020-12-14T07:30:10.584Z] ++ facter osfamily [2020-12-14T07:30:10.584Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T07:30:10.584Z] + OS_FAMILY=redhat [2020-12-14T07:30:10.584Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-691 [2020-12-14T07:30:10.584Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T07:30:10.584Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T07:30:10.584Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T07:30:10.584Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T07:30:10.584Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-691 ']' [2020-12-14T07:30:10.584Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T07:30:10.584Z] + case "${OS_FAMILY}" in [2020-12-14T07:30:10.584Z] + rpm -qa [2020-12-14T07:30:10.584Z] + sort [2020-12-14T07:30:15.913Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T07:30:15.913Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T07:30:15.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T07:30:15.913Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-691 ']' [2020-12-14T07:30:15.914Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-691/archives/ [2020-12-14T07:30:15.914Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-691/archives/ [Pipeline] echo [2020-12-14T07:30:15.949Z] 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-691/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-14T07:30:16.268Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:30:16.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T07:30:16.642Z] [2020-12-14T07:30:16.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T07:30:17.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T07:30:17.340Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T07:30:17.340Z] df20fa9351a1: Pulling fs layer [2020-12-14T07:30:17.340Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T07:30:17.340Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T07:30:17.340Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T07:30:17.340Z] 93b61091891f: Pulling fs layer [2020-12-14T07:30:17.340Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T07:30:17.340Z] 5e14af77c1be: Pulling fs layer [2020-12-14T07:30:17.340Z] 01666e4c0597: Pulling fs layer [2020-12-14T07:30:17.340Z] aa168da1d23b: Pulling fs layer [2020-12-14T07:30:17.340Z] 93b9cdb0e59b: Waiting [2020-12-14T07:30:17.340Z] 5e14af77c1be: Waiting [2020-12-14T07:30:17.340Z] 01666e4c0597: Waiting [2020-12-14T07:30:17.340Z] 46f8f816bc3b: Waiting [2020-12-14T07:30:17.340Z] 93b61091891f: Waiting [2020-12-14T07:30:17.340Z] aa168da1d23b: Waiting [2020-12-14T07:30:17.340Z] 36b3adc4ff6f: Verifying Checksum [2020-12-14T07:30:17.340Z] 36b3adc4ff6f: Download complete [2020-12-14T07:30:17.340Z] 46f8f816bc3b: Verifying Checksum [2020-12-14T07:30:17.340Z] 46f8f816bc3b: Download complete [2020-12-14T07:30:17.340Z] df20fa9351a1: Verifying Checksum [2020-12-14T07:30:17.340Z] df20fa9351a1: Download complete [2020-12-14T07:30:17.340Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T07:30:17.340Z] 93b9cdb0e59b: Download complete [2020-12-14T07:30:17.340Z] 93b61091891f: Verifying Checksum [2020-12-14T07:30:17.340Z] 93b61091891f: Download complete [2020-12-14T07:30:17.340Z] 5e14af77c1be: Verifying Checksum [2020-12-14T07:30:17.340Z] 5e14af77c1be: Download complete [2020-12-14T07:30:17.340Z] 01666e4c0597: Download complete [2020-12-14T07:30:17.603Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T07:30:17.603Z] 8ad3a11d3b57: Download complete [2020-12-14T07:30:17.603Z] df20fa9351a1: Pull complete [2020-12-14T07:30:17.869Z] 36b3adc4ff6f: Pull complete [2020-12-14T07:30:18.835Z] 8ad3a11d3b57: Pull complete [2020-12-14T07:30:18.835Z] 46f8f816bc3b: Pull complete [2020-12-14T07:30:19.790Z] aa168da1d23b: Verifying Checksum [2020-12-14T07:30:19.790Z] aa168da1d23b: Download complete [2020-12-14T07:30:19.790Z] 93b61091891f: Pull complete [2020-12-14T07:30:19.790Z] 93b9cdb0e59b: Pull complete [2020-12-14T07:30:20.054Z] 5e14af77c1be: Pull complete [2020-12-14T07:30:20.054Z] 01666e4c0597: Pull complete [2020-12-14T07:30:26.695Z] aa168da1d23b: Pull complete [2020-12-14T07:30:26.695Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T07:30:26.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T07:30:26.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T07:30:26.913Z] prd-centos7-docker-4c-2g-15889 does not seem to be running inside a container [2020-12-14T07:30:26.964Z] $ 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-691/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-691 -v /w/workspace/dgexfoundry_device-sdk-go_PR-691:/w/workspace/dgexfoundry_device-sdk-go_PR-691:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-691@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-14T07:30:36.414Z] $ docker top da5219fa3d1d849d050b5f0d3f8e6ccc1d11780924ee15e1982f16d608ede51f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T07:30:36.983Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T07:30:37.306Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T07:30:37.631Z] + ls /var/log/sa-host [2020-12-14T07:30:37.631Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T07:30:37.631Z] file_magic: OK [2020-12-14T07:30:37.631Z] HZ: Using current value: 100 [2020-12-14T07:30:37.631Z] file_header: OK [2020-12-14T07:30:37.631Z] 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-14T07:30:37.631Z] Statistics: [2020-12-14T07:30:37.631Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T07:30:37.631Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T07:30:37.631Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T07:30:37.631Z] file_magic: OK [2020-12-14T07:30:37.631Z] HZ: Using current value: 100 [2020-12-14T07:30:37.631Z] file_header: OK [2020-12-14T07:30:37.631Z] 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-14T07:30:37.631Z] Statistics: [2020-12-14T07:30:37.631Z] Hnuu...uuuununununu... [2020-12-14T07:30:37.631Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T07:30:38.325Z] provisioning config files... [2020-12-14T07:30:38.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-691@tmp/config3231160801339890329tmp [Pipeline] { [Pipeline] echo [2020-12-14T07:30:38.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:38.834Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T07:30:38.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T07:30:39.018Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:39.362Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T07:30:39.402Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:39.807Z] ---> sudo-logs.sh [2020-12-14T07:30:39.807Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T07:30:39.878Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:40.216Z] ---> job-cost.sh [2020-12-14T07:30:40.216Z] lf-activate-venv: SKIPPING [2020-12-14T07:30:40.216Z] INFO: No Stack... [2020-12-14T07:30:41.164Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T07:30:41.428Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T07:30:41.462Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T07:30:41.907Z] ---> logs-deploy.sh [2020-12-14T07:30:41.907Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-691/1 [2020-12-14T07:30:41.907Z] INFO: archiving workspace using pattern(s): [2020-12-14T07:30:43.838Z] Archives upload complete. [2020-12-14T07:30:43.838Z] INFO: archiving logs to Nexus