Pull request #679 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ece70c77679b07bd64be6683d449ddd877062ce3+cbcd560d226450c2fc49532ec953a0990705dfef (0842939000ba8ad481d3b5d1833a5e5b006b24ae) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-679/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-679/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14280 in /w/workspace/dgexfoundry_device-sdk-go_PR-679 [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-679 # 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 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ece70c77679b07bd64be6683d449ddd877062ce3 Merge succeeded, producing ece70c77679b07bd64be6683d449ddd877062ce3 Checking out Revision ece70c77679b07bd64be6683d449ddd877062ce3 (PR-679) > 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/679/head:refs/remotes/origin/PR-679 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-03T06:23:24.306Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-03T06:23:24.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-03T06:23:24.885Z] ========================================================= [2020-12-03T06:23:24.885Z] EdgeX Global Pipelines Version Info [2020-12-03T06:23:24.885Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:23:26.560Z] ------------------- [2020-12-03T06:23:26.560Z] stable info: [2020-12-03T06:23:26.560Z] ------------------- [2020-12-03T06:23:26.560Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-03T06:23:26.560Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-03T06:23:26.560Z] Message: update stable to v1.0.169 [2020-12-03T06:23:27.514Z] ------------------- [2020-12-03T06:23:27.514Z] experimental info: [2020-12-03T06:23:27.514Z] ------------------- [2020-12-03T06:23:27.514Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-03T06:23:27.514Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-03T06:23:27.514Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-03T06:23:27.911Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-03T06:23:28.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-03T06:23:28.163Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-03T06:23:28.340Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-03T06:23:28.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-03T06:23:28.608Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-03T06:23:28.736Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-03T06:23:28.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-03T06:23:28.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-03T06:23:29.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-03T06:23:29.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-03T06:23:29.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-03T06:23:29.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-03T06:23:29.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-03T06:23:29.830Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-03T06:23:29.952Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-03T06:23:30.179Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-03T06:23:30.375Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-03T06:23:30.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-03T06:23:30.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-03T06:23:31.760Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-03T06:23:31.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-03T06:23:32.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-03T06:23:32.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-03T06:23:32.269Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-03T06:23:32.486Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-03T06:23:32.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-679 [Pipeline] echo [2020-12-03T06:23:32.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-679 [Pipeline] echo [2020-12-03T06:23:32.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-679 [Pipeline] echo [2020-12-03T06:23:32.988Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ece70c77679b07bd64be6683d449ddd877062ce3 [Pipeline] echo [2020-12-03T06:23:33.166Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ece70c7 [Pipeline] echo [2020-12-03T06:23:33.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T06:23:33.549Z] provisioning config files... [2020-12-03T06:23:33.579Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/config7572427294071018560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:23:34.019Z] ---> docker-login.sh [2020-12-03T06:23:34.019Z] nexus3.edgexfoundry.org:10001 [2020-12-03T06:23:34.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:23:34.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:23:34.867Z] Configure a credential helper to remove this warning. See [2020-12-03T06:23:34.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:23:34.867Z] [2020-12-03T06:23:34.867Z] Login Succeeded [2020-12-03T06:23:34.867Z] nexus3.edgexfoundry.org:10002 [2020-12-03T06:23:34.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:23:34.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:23:34.867Z] Configure a credential helper to remove this warning. See [2020-12-03T06:23:34.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:23:34.867Z] [2020-12-03T06:23:34.867Z] Login Succeeded [2020-12-03T06:23:34.867Z] nexus3.edgexfoundry.org:10003 [2020-12-03T06:23:35.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:23:35.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:23:35.130Z] Configure a credential helper to remove this warning. See [2020-12-03T06:23:35.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:23:35.130Z] [2020-12-03T06:23:35.130Z] Login Succeeded [2020-12-03T06:23:35.130Z] nexus3.edgexfoundry.org:10004 [2020-12-03T06:23:35.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:23:35.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:23:35.394Z] Configure a credential helper to remove this warning. See [2020-12-03T06:23:35.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:23:35.394Z] [2020-12-03T06:23:35.394Z] Login Succeeded [2020-12-03T06:23:35.394Z] docker.io [2020-12-03T06:23:35.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:23:35.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:23:35.976Z] Configure a credential helper to remove this warning. See [2020-12-03T06:23:35.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:23:35.976Z] [2020-12-03T06:23:35.976Z] Login Succeeded [2020-12-03T06:23:35.976Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T06:23:36.006Z] 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-03T06:23:37.111Z] + git log --format=format:%s -1 ece70c77679b07bd64be6683d449ddd877062ce3 [Pipeline] echo [2020-12-03T06:23:37.217Z] GIT_COMMIT: ece70c77679b07bd64be6683d449ddd877062ce3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-03T06:23:37.291Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:23:38.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T06:23:38.321Z] [2020-12-03T06:23:38.321Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:23:38.714Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T06:23:38.715Z] latest: Pulling from edgex-devops/git-semver [2020-12-03T06:23:38.715Z] 31603596830f: Pulling fs layer [2020-12-03T06:23:38.715Z] 2a8b12db71e7: Pulling fs layer [2020-12-03T06:23:38.715Z] 6ca5941a6612: Pulling fs layer [2020-12-03T06:23:38.715Z] ecc8261a40a4: Pulling fs layer [2020-12-03T06:23:38.715Z] ecc8261a40a4: Waiting [2020-12-03T06:23:38.715Z] 2a8b12db71e7: Verifying Checksum [2020-12-03T06:23:38.715Z] 2a8b12db71e7: Download complete [2020-12-03T06:23:38.984Z] 31603596830f: Verifying Checksum [2020-12-03T06:23:38.984Z] 31603596830f: Download complete [2020-12-03T06:23:38.984Z] ecc8261a40a4: Verifying Checksum [2020-12-03T06:23:38.984Z] ecc8261a40a4: Download complete [2020-12-03T06:23:39.252Z] 6ca5941a6612: Verifying Checksum [2020-12-03T06:23:39.252Z] 6ca5941a6612: Download complete [2020-12-03T06:23:39.252Z] 31603596830f: Pull complete [2020-12-03T06:23:39.522Z] 2a8b12db71e7: Pull complete [2020-12-03T06:23:40.500Z] 6ca5941a6612: Pull complete [2020-12-03T06:23:40.764Z] ecc8261a40a4: Pull complete [2020-12-03T06:23:40.764Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-03T06:23:40.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T06:23:40.765Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-03T06:23:40.901Z] prd-centos7-docker-4c-2g-14280 does not seem to be running inside a container [2020-12-03T06:23:40.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-679 -v /w/workspace/dgexfoundry_device-sdk-go_PR-679:/w/workspace/dgexfoundry_device-sdk-go_PR-679:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-03T06:23:43.112Z] $ docker top 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-03T06:23:43.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-03T06:23:43.645Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-03T06:23:43.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-03T06:23:43.921Z] $ docker exec 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb ssh-agent [2020-12-03T06:23:44.129Z] SSH_AUTH_SOCK=/tmp/ssh-apQ0vC6R51zw/agent.12 [2020-12-03T06:23:44.129Z] SSH_AGENT_PID=17 [2020-12-03T06:23:44.149Z] Running ssh-add (command line suppressed) [2020-12-03T06:23:44.324Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/private_key_7104062198707534601.key (/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/private_key_7104062198707534601.key) [2020-12-03T06:23:44.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-03T06:23:44.786Z] + git tag --points-at HEAD [Pipeline] } [2020-12-03T06:23:44.819Z] $ docker exec --env ******** --env ******** 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb ssh-agent -k [2020-12-03T06:23:44.953Z] unset SSH_AUTH_SOCK; [2020-12-03T06:23:44.953Z] unset SSH_AGENT_PID; [2020-12-03T06:23:44.954Z] echo Agent pid 17 killed; [2020-12-03T06:23:45.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-03T06:23:45.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-03T06:23:45.211Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-03T06:23:45.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-03T06:23:45.424Z] $ docker exec 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb ssh-agent [2020-12-03T06:23:45.613Z] SSH_AUTH_SOCK=/tmp/ssh-rkIy970J4C1U/agent.46 [2020-12-03T06:23:45.613Z] SSH_AGENT_PID=51 [2020-12-03T06:23:45.626Z] Running ssh-add (command line suppressed) [2020-12-03T06:23:45.762Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/private_key_7592618415670675394.key (/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/private_key_7592618415670675394.key) [2020-12-03T06:23:45.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-03T06:23:46.207Z] + git semver init [2020-12-03T06:23:46.207Z] # -> Open(): unable to determine branch for HEAD [2020-12-03T06:23:46.207Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-679/.git [2020-12-03T06:23:46.207Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-679 [2020-12-03T06:23:46.207Z] # $SEMVER_REMOTE_NAME = origin [2020-12-03T06:23:46.207Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-03T06:23:46.207Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-03T06:23:46.207Z] # $SEMVER_BRANCH = PR-679 [2020-12-03T06:23:46.207Z] # $SEMVER_TEMP = /tmp/semver-148050859 [2020-12-03T06:23:46.207Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-03T06:23:47.170Z] # '/tmp/semver-148050859' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-679/.semver' [2020-12-03T06:23:47.170Z] # -> Force: false [2020-12-03T06:23:47.170Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-679/.semver [Pipeline] } [2020-12-03T06:23:47.198Z] $ docker exec --env ******** --env ******** 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb ssh-agent -k [2020-12-03T06:23:47.395Z] unset SSH_AUTH_SOCK; [2020-12-03T06:23:47.395Z] unset SSH_AGENT_PID; [2020-12-03T06:23:47.396Z] echo Agent pid 51 killed; [2020-12-03T06:23:47.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-03T06:23:48.070Z] + git semver [Pipeline] } [2020-12-03T06:23:48.129Z] $ docker stop --time=1 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb [2020-12-03T06:23:49.961Z] $ docker rm -f 03eb8b19027e4331c1599a54a1b6d624b02c198fb30ff390a9d7857b84005ceb [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-03T06:23:50.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-03T06:23:51.096Z] Stashed 1 file(s) [Pipeline] echo [2020-12-03T06:23:51.118Z] [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-03T06:24:07.003Z] Still waiting to schedule task [2020-12-03T06:24:07.003Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-03T06:24:07.032Z] Still waiting to schedule task [2020-12-03T06:24:07.032Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-03T06:25:59.758Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14281 in /w/workspace/dgexfoundry_device-sdk-go_PR-679 [Pipeline] { [Pipeline] ws [2020-12-03T06:25:59.855Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-03T06:26:04.738Z] using credential edgex-jenkins-ssh [2020-12-03T06:26:04.816Z] Cloning the remote Git repository [2020-12-03T06:26:04.879Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:26:04.994Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-03T06:26:05.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:26:05.077Z] > git --version # timeout=10 [2020-12-03T06:26:05.103Z] > git --version # 'git version 2.17.1' [2020-12-03T06:26:05.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:26:05.190Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T06:26:06.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-03T06:26:06.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T06:26:06.914Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ece70c77679b07bd64be6683d449ddd877062ce3 [2020-12-03T06:26:07.175Z] Merge succeeded, producing ece70c77679b07bd64be6683d449ddd877062ce3 [2020-12-03T06:26:07.176Z] Checking out Revision ece70c77679b07bd64be6683d449ddd877062ce3 (PR-679) [2020-12-03T06:26:06.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-03T06:26:06.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:26:06.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:26:06.362Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/679/head:refs/remotes/origin/PR-679 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-03T06:26:06.938Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T06:26:06.954Z] > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 [2020-12-03T06:26:07.081Z] > git remote # timeout=10 [2020-12-03T06:26:07.106Z] > git config --get remote.origin.url # timeout=10 [2020-12-03T06:26:07.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:26:07.130Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-03T06:26:07.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-03T06:26:07.184Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T06:26:07.198Z] > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 [2020-12-03T06:26:11.523Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-03T06:26:11.595Z] > git --version # timeout=10 [2020-12-03T06:26:11.604Z] > git --version # 'git version 2.17.1' [2020-12-03T06:26:11.613Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-03T06:26:13.563Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-03T06:26:13.984Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-03T06:26:14.347Z] + sudo service docker restart [2020-12-03T06:26:14.347Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T06:26:17.159Z] provisioning config files... [2020-12-03T06:26:17.199Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5939687563086894982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:26:17.664Z] ---> docker-login.sh [2020-12-03T06:26:17.664Z] nexus3.edgexfoundry.org:10001 [2020-12-03T06:26:18.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:26:18.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:26:18.869Z] Configure a credential helper to remove this warning. See [2020-12-03T06:26:18.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:26:18.869Z] [2020-12-03T06:26:18.869Z] Login Succeeded [2020-12-03T06:26:18.869Z] nexus3.edgexfoundry.org:10002 [2020-12-03T06:26:19.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:26:19.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:26:19.424Z] Configure a credential helper to remove this warning. See [2020-12-03T06:26:19.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:26:19.424Z] [2020-12-03T06:26:19.424Z] Login Succeeded [2020-12-03T06:26:19.424Z] nexus3.edgexfoundry.org:10003 [2020-12-03T06:26:19.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:26:19.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:26:19.979Z] Configure a credential helper to remove this warning. See [2020-12-03T06:26:19.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:26:19.979Z] [2020-12-03T06:26:19.979Z] Login Succeeded [2020-12-03T06:26:19.979Z] nexus3.edgexfoundry.org:10004 [2020-12-03T06:26:20.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:26:20.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:26:20.540Z] Configure a credential helper to remove this warning. See [2020-12-03T06:26:20.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:26:20.540Z] [2020-12-03T06:26:20.540Z] Login Succeeded [2020-12-03T06:26:20.540Z] docker.io [2020-12-03T06:26:20.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:26:21.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:26:21.418Z] Configure a credential helper to remove this warning. See [2020-12-03T06:26:21.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:26:21.418Z] [2020-12-03T06:26:21.418Z] Login Succeeded [2020-12-03T06:26:21.418Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T06:26:21.448Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-03T06:26:22.025Z] ========================================================= [2020-12-03T06:26:22.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-03T06:26:22.025Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:26:22.460Z] + 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-03T06:26:22.736Z] Sending build context to Docker daemon 2.357MB [2020-12-03T06:26:23.015Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-03T06:26:23.015Z] Step 2/8 : FROM ${BASE} [2020-12-03T06:26:23.015Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-03T06:26:23.015Z] 5f621e34cdf4: Pulling fs layer [2020-12-03T06:26:23.015Z] a4357932f1b6: Pulling fs layer [2020-12-03T06:26:23.015Z] 18c013af1878: Pulling fs layer [2020-12-03T06:26:23.015Z] 00ac8860ef70: Pulling fs layer [2020-12-03T06:26:23.015Z] 63d7cb157983: Pulling fs layer [2020-12-03T06:26:23.015Z] b116817d02f9: Pulling fs layer [2020-12-03T06:26:23.015Z] 745a02a5169b: Pulling fs layer [2020-12-03T06:26:23.015Z] 63d7cb157983: Waiting [2020-12-03T06:26:23.015Z] b116817d02f9: Waiting [2020-12-03T06:26:23.015Z] 745a02a5169b: Waiting [2020-12-03T06:26:23.015Z] 00ac8860ef70: Waiting [2020-12-03T06:26:23.015Z] 18c013af1878: Verifying Checksum [2020-12-03T06:26:23.015Z] 18c013af1878: Download complete [2020-12-03T06:26:23.015Z] a4357932f1b6: Verifying Checksum [2020-12-03T06:26:23.015Z] a4357932f1b6: Download complete [2020-12-03T06:26:23.015Z] 63d7cb157983: Verifying Checksum [2020-12-03T06:26:23.015Z] 63d7cb157983: Download complete [2020-12-03T06:26:24.001Z] b116817d02f9: Verifying Checksum [2020-12-03T06:26:24.001Z] b116817d02f9: Download complete [2020-12-03T06:26:24.001Z] 5f621e34cdf4: Verifying Checksum [2020-12-03T06:26:24.001Z] 5f621e34cdf4: Download complete [2020-12-03T06:26:24.602Z] 5f621e34cdf4: Pull complete [2020-12-03T06:26:25.208Z] a4357932f1b6: Pull complete [2020-12-03T06:26:25.486Z] 18c013af1878: Pull complete [2020-12-03T06:26:26.086Z] 745a02a5169b: Verifying Checksum [2020-12-03T06:26:27.076Z] 00ac8860ef70: Verifying Checksum [2020-12-03T06:26:27.076Z] 00ac8860ef70: Download complete [2020-12-03T06:26:37.262Z] 00ac8860ef70: Pull complete [2020-12-03T06:26:37.262Z] 63d7cb157983: Pull complete [2020-12-03T06:26:37.535Z] b116817d02f9: Pull complete [2020-12-03T06:26:41.910Z] 745a02a5169b: Pull complete [2020-12-03T06:26:41.910Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-03T06:26:41.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-03T06:26:41.910Z] ---> b7e6874047d6 [2020-12-03T06:26:41.910Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-03T06:26:44.543Z] ---> Running in b8ac3c741473 [2020-12-03T06:26:44.543Z] Removing intermediate container b8ac3c741473 [2020-12-03T06:26:44.543Z] ---> e42a9173ad62 [2020-12-03T06:26:44.543Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-03T06:26:44.543Z] ---> Running in c57754c9c6ec [2020-12-03T06:26:47.171Z] Removing intermediate container c57754c9c6ec [2020-12-03T06:26:47.171Z] ---> c05e305686e9 [2020-12-03T06:26:47.171Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-03T06:26:47.171Z] ---> Running in 5611aa4fedde [2020-12-03T06:26:47.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-03T06:26:48.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-03T06:26:49.342Z] OK: 142 MiB in 39 packages [2020-12-03T06:26:50.324Z] Removing intermediate container 5611aa4fedde [2020-12-03T06:26:50.324Z] ---> 0ea97e46b014 [2020-12-03T06:26:50.324Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-03T06:26:50.324Z] ---> Running in 675e4235fd10 [2020-12-03T06:26:50.920Z] Removing intermediate container 675e4235fd10 [2020-12-03T06:26:50.920Z] ---> 3412987584a1 [2020-12-03T06:26:50.920Z] Step 7/8 : COPY . . [2020-12-03T06:26:52.354Z] ---> f85f24e0cd0d [2020-12-03T06:26:52.354Z] Step 8/8 : RUN go mod download [2020-12-03T06:26:52.354Z] ---> Running in 56d5b18170f3 [2020-12-03T06:26:59.383Z] Running on prd-centos7-docker-4c-2g-14282 in /w/workspace/dgexfoundry_device-sdk-go_PR-679 [Pipeline] { [Pipeline] ws [2020-12-03T06:26:59.517Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-03T06:27:02.082Z] using credential edgex-jenkins-ssh [2020-12-03T06:27:02.138Z] Cloning the remote Git repository [2020-12-03T06:27:01.995Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:27:02.070Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-03T06:27:02.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:27:02.136Z] > git --version # timeout=10 [2020-12-03T06:27:02.144Z] > git --version # 'git version 2.24.3' [2020-12-03T06:27:02.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:27:02.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T06:27:03.675Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit ece70c77679b07bd64be6683d449ddd877062ce3 [2020-12-03T06:27:03.769Z] Merge succeeded, producing ece70c77679b07bd64be6683d449ddd877062ce3 [2020-12-03T06:27:03.769Z] Checking out Revision ece70c77679b07bd64be6683d449ddd877062ce3 (PR-679) [2020-12-03T06:27:03.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-03T06:27:03.124Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T06:27:03.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-03T06:27:03.153Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-03T06:27:03.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:27:03.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/679/head:refs/remotes/origin/PR-679 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-03T06:27:03.638Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T06:27:03.643Z] > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 [2020-12-03T06:27:03.699Z] > git remote # timeout=10 [2020-12-03T06:27:03.704Z] > git config --get remote.origin.url # timeout=10 [2020-12-03T06:27:03.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T06:27:03.713Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-12-03T06:27:03.723Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-03T06:27:03.733Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T06:27:03.738Z] > git checkout -f ece70c77679b07bd64be6683d449ddd877062ce3 # timeout=10 [2020-12-03T06:27:07.401Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-03T06:27:07.433Z] > git --version # timeout=10 [2020-12-03T06:27:07.438Z] > git --version # 'git version 2.24.3' [2020-12-03T06:27:07.442Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-03T06:27:08.758Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-03T06:27:09.110Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-03T06:27:09.435Z] + sudo service docker restart [2020-12-03T06:27:09.435Z] + true [2020-12-03T06:27:09.435Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T06:27:10.525Z] provisioning config files... [2020-12-03T06:27:10.554Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config204982735328148354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:27:11.016Z] ---> docker-login.sh [2020-12-03T06:27:11.016Z] nexus3.edgexfoundry.org:10001 [2020-12-03T06:27:11.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:27:11.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:27:11.278Z] Configure a credential helper to remove this warning. See [2020-12-03T06:27:11.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:27:11.278Z] [2020-12-03T06:27:11.278Z] Login Succeeded [2020-12-03T06:27:11.278Z] nexus3.edgexfoundry.org:10002 [2020-12-03T06:27:11.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:27:11.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:27:11.544Z] Configure a credential helper to remove this warning. See [2020-12-03T06:27:11.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:27:11.544Z] [2020-12-03T06:27:11.544Z] Login Succeeded [2020-12-03T06:27:11.544Z] nexus3.edgexfoundry.org:10003 [2020-12-03T06:27:11.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:27:11.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:27:11.806Z] Configure a credential helper to remove this warning. See [2020-12-03T06:27:11.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:27:11.806Z] [2020-12-03T06:27:11.806Z] Login Succeeded [2020-12-03T06:27:11.806Z] nexus3.edgexfoundry.org:10004 [2020-12-03T06:27:11.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:27:12.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:27:12.070Z] Configure a credential helper to remove this warning. See [2020-12-03T06:27:12.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:27:12.070Z] [2020-12-03T06:27:12.070Z] Login Succeeded [2020-12-03T06:27:12.070Z] docker.io [2020-12-03T06:27:12.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T06:27:12.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T06:27:12.332Z] Configure a credential helper to remove this warning. See [2020-12-03T06:27:12.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T06:27:12.332Z] [2020-12-03T06:27:12.332Z] Login Succeeded [2020-12-03T06:27:12.332Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T06:27:12.354Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-03T06:27:12.961Z] ========================================================= [2020-12-03T06:27:12.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-03T06:27:12.961Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:27:13.367Z] + 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-03T06:27:13.631Z] Sending build context to Docker daemon 2.358MB [2020-12-03T06:27:13.631Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-03T06:27:13.631Z] Step 2/8 : FROM ${BASE} [2020-12-03T06:27:13.631Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-03T06:27:13.631Z] 188c0c94c7c5: Pulling fs layer [2020-12-03T06:27:13.631Z] 0ef7d3d256c8: Pulling fs layer [2020-12-03T06:27:13.631Z] de9db76c5a1d: Pulling fs layer [2020-12-03T06:27:13.631Z] bca2f99d35d6: Pulling fs layer [2020-12-03T06:27:13.631Z] 93359f2a8cfa: Pulling fs layer [2020-12-03T06:27:13.631Z] 7c6f9722023f: Pulling fs layer [2020-12-03T06:27:13.631Z] a35cf1a2eb13: Pulling fs layer [2020-12-03T06:27:13.631Z] 93359f2a8cfa: Waiting [2020-12-03T06:27:13.631Z] 7c6f9722023f: Waiting [2020-12-03T06:27:13.631Z] a35cf1a2eb13: Waiting [2020-12-03T06:27:13.631Z] bca2f99d35d6: Waiting [2020-12-03T06:27:13.631Z] de9db76c5a1d: Verifying Checksum [2020-12-03T06:27:13.631Z] de9db76c5a1d: Download complete [2020-12-03T06:27:13.631Z] 0ef7d3d256c8: Download complete [2020-12-03T06:27:13.631Z] 93359f2a8cfa: Verifying Checksum [2020-12-03T06:27:13.631Z] 93359f2a8cfa: Download complete [2020-12-03T06:27:13.631Z] 188c0c94c7c5: Download complete [2020-12-03T06:27:13.897Z] 7c6f9722023f: Verifying Checksum [2020-12-03T06:27:13.897Z] 7c6f9722023f: Download complete [2020-12-03T06:27:14.164Z] 188c0c94c7c5: Pull complete [2020-12-03T06:27:14.164Z] 0ef7d3d256c8: Pull complete [2020-12-03T06:27:14.430Z] de9db76c5a1d: Pull complete [2020-12-03T06:27:16.363Z] a35cf1a2eb13: Verifying Checksum [2020-12-03T06:27:16.363Z] a35cf1a2eb13: Download complete [2020-12-03T06:27:18.288Z] bca2f99d35d6: Verifying Checksum [2020-12-03T06:27:18.288Z] bca2f99d35d6: Download complete [2020-12-03T06:27:24.728Z] Removing intermediate container 56d5b18170f3 [2020-12-03T06:27:24.728Z] ---> 720babd760cd [2020-12-03T06:27:24.728Z] Successfully built 720babd760cd [2020-12-03T06:27:24.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:27:24.956Z] bca2f99d35d6: Pull complete [2020-12-03T06:27:24.957Z] 93359f2a8cfa: Pull complete [2020-12-03T06:27:24.957Z] 7c6f9722023f: Pull complete [2020-12-03T06:27:25.113Z] + docker inspect -f . ci-base-image-arm64 [2020-12-03T06:27:25.113Z] . [Pipeline] withDockerContainer [2020-12-03T06:27:25.413Z] prd-ubuntu18.04-docker-arm64-4c-16g-14281 does not seem to be running inside a container [2020-12-03T06:27:25.526Z] $ 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-03T06:27:27.070Z] $ docker top b5823d4539a29b8941072e416ec3dde8ffd81c59c07c41e868b159e7213f1512 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T06:27:28.122Z] + go version [2020-12-03T06:27:28.122Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-03T06:27:28.188Z] $ docker stop --time=1 b5823d4539a29b8941072e416ec3dde8ffd81c59c07c41e868b159e7213f1512 [2020-12-03T06:27:30.091Z] $ docker rm -f b5823d4539a29b8941072e416ec3dde8ffd81c59c07c41e868b159e7213f1512 [2020-12-03T06:27:30.278Z] a35cf1a2eb13: Pull complete [2020-12-03T06:27:30.278Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-03T06:27:30.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-03T06:27:30.278Z] ---> a62c8e92a672 [2020-12-03T06:27:30.278Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-03T06:27:30.278Z] ---> Running in c8259dde18dd [2020-12-03T06:27:30.278Z] Removing intermediate container c8259dde18dd [2020-12-03T06:27:30.278Z] ---> bbe00571f479 [2020-12-03T06:27:30.278Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-03T06:27:30.278Z] ---> Running in f6a68e3db87c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:27:31.239Z] Removing intermediate container f6a68e3db87c [2020-12-03T06:27:31.239Z] ---> 80ad7b88da01 [2020-12-03T06:27:31.239Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-03T06:27:31.431Z] + docker inspect -f . ci-base-image-arm64 [2020-12-03T06:27:31.432Z] . [Pipeline] withDockerContainer [2020-12-03T06:27:31.506Z] ---> Running in 496eaacac0db [2020-12-03T06:27:31.722Z] prd-ubuntu18.04-docker-arm64-4c-16g-14281 does not seem to be running inside a container [2020-12-03T06:27:31.847Z] $ 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-03T06:27:32.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-03T06:27:32.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-03T06:27:33.249Z] OK: 166 MiB in 39 packages [2020-12-03T06:27:33.355Z] $ docker top cc89849fb2be1c1f14a4c1654876db3c24c5c7070a558703658831ff556801ec -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T06:27:33.828Z] Removing intermediate container 496eaacac0db [2020-12-03T06:27:33.828Z] ---> ce465517fd28 [2020-12-03T06:27:33.828Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-03T06:27:33.828Z] ---> Running in 8dafa6a1e782 [2020-12-03T06:27:34.096Z] Removing intermediate container 8dafa6a1e782 [2020-12-03T06:27:34.096Z] ---> 03e7f539151d [2020-12-03T06:27:34.096Z] Step 7/8 : COPY . . [2020-12-03T06:27:34.460Z] + make test [2020-12-03T06:27:34.460Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-03T06:27:35.492Z] ---> 4d6ffd38901a [2020-12-03T06:27:35.492Z] Step 8/8 : RUN go mod download [2020-12-03T06:27:35.492Z] ---> Running in 3b434c437304 [2020-12-03T06:27:53.673Z] Removing intermediate container 3b434c437304 [2020-12-03T06:27:53.673Z] ---> 03c3103155c7 [2020-12-03T06:27:53.673Z] Successfully built 03c3103155c7 [2020-12-03T06:27:53.673Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:27:54.032Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-03T06:27:54.032Z] . [Pipeline] withDockerContainer [2020-12-03T06:27:54.168Z] prd-centos7-docker-4c-2g-14282 does not seem to be running inside a container [2020-12-03T06:27:54.227Z] $ 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-03T06:27:54.976Z] $ docker top d5d50ec91236022731693e9a9c8520605db542db1ea8364e5d830c9987bc7d7c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T06:27:55.571Z] + go version [2020-12-03T06:27:55.571Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-03T06:27:55.601Z] $ docker stop --time=1 d5d50ec91236022731693e9a9c8520605db542db1ea8364e5d830c9987bc7d7c [2020-12-03T06:27:56.707Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-03T06:27:56.973Z] $ docker rm -f d5d50ec91236022731693e9a9c8520605db542db1ea8364e5d830c9987bc7d7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:27:58.091Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-03T06:27:58.091Z] . [Pipeline] withDockerContainer [2020-12-03T06:27:58.211Z] prd-centos7-docker-4c-2g-14282 does not seem to be running inside a container [2020-12-03T06:27:58.270Z] $ 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-03T06:27:58.917Z] $ docker top 0261c7e42d695b8525f370ee516ca71aa3ba8db2e05dd665003aaab5f63bf8e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T06:27:59.465Z] + make test [2020-12-03T06:27:59.465Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-03T06:28:07.702Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-03T06:28:17.804Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-03T06:28:17.804Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-03T06:28:17.804Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-03T06:28:21.161Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 20.6% of statements [2020-12-03T06:28:23.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.477s coverage: 97.1% of statements [2020-12-03T06:28:35.757Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-03T06:28:35.757Z] internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-03T06:28:35.757Z] internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-03T06:28:35.757Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 20.6% of statements [2020-12-03T06:28:38.438Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.210s coverage: 97.1% of statements [2020-12-03T06:28:55.282Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 9.4% of statements [2020-12-03T06:28:55.282Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-12-03T06:28:55.282Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-03T06:28:55.282Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 68.9% of statements [2020-12-03T06:28:55.282Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-12-03T06:28:55.282Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.435s coverage: 68.9% of statements [2020-12-03T06:28:55.282Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-03T06:28:55.282Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-03T06:28:55.332Z] $ docker stop --time=1 0261c7e42d695b8525f370ee516ca71aa3ba8db2e05dd665003aaab5f63bf8e4 [2020-12-03T06:28:56.955Z] $ docker rm -f 0261c7e42d695b8525f370ee516ca71aa3ba8db2e05dd665003aaab5f63bf8e4 [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-03T06:28:59.411Z] Failed in branch amd64 [2020-12-03T06:29:05.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.146s coverage: 9.4% of statements [2020-12-03T06:29:05.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-12-03T06:29:05.307Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-03T06:29:05.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.791s coverage: 68.9% of statements [2020-12-03T06:29:05.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements [2020-12-03T06:29:05.307Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.657s coverage: 68.9% of statements [2020-12-03T06:29:05.307Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-03T06:29:05.598Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-03T06:29:05.718Z] $ docker stop --time=1 cc89849fb2be1c1f14a4c1654876db3c24c5c7070a558703658831ff556801ec [2020-12-03T06:29:07.889Z] $ docker rm -f cc89849fb2be1c1f14a4c1654876db3c24c5c7070a558703658831ff556801ec [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-03T06:29:10.218Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:14.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:14.911Z] ---> package-listing.sh [2020-12-03T06:29:14.911Z] ++ facter osfamily [2020-12-03T06:29:14.911Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-03T06:29:14.911Z] + OS_FAMILY=redhat [2020-12-03T06:29:14.911Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-679 [2020-12-03T06:29:14.911Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-03T06:29:14.911Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-03T06:29:14.911Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-03T06:29:14.911Z] + PACKAGES=/tmp/packages_start.txt [2020-12-03T06:29:14.911Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-679 ']' [2020-12-03T06:29:14.911Z] + PACKAGES=/tmp/packages_end.txt [2020-12-03T06:29:14.911Z] + case "${OS_FAMILY}" in [2020-12-03T06:29:14.911Z] + rpm -qa [2020-12-03T06:29:14.911Z] + sort [2020-12-03T06:29:20.317Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-03T06:29:20.317Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-03T06:29:20.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-03T06:29:20.317Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-679 ']' [2020-12-03T06:29:20.317Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-679/archives/ [2020-12-03T06:29:20.317Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-679/archives/ [Pipeline] echo [2020-12-03T06:29:20.364Z] 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-679/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-03T06:29:20.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:29:21.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T06:29:21.680Z] [2020-12-03T06:29:21.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-03T06:29:22.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T06:29:22.440Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-03T06:29:22.440Z] df20fa9351a1: Pulling fs layer [2020-12-03T06:29:22.440Z] 36b3adc4ff6f: Pulling fs layer [2020-12-03T06:29:22.440Z] 8ad3a11d3b57: Pulling fs layer [2020-12-03T06:29:22.440Z] 46f8f816bc3b: Pulling fs layer [2020-12-03T06:29:22.440Z] 93b61091891f: Pulling fs layer [2020-12-03T06:29:22.440Z] 93b9cdb0e59b: Pulling fs layer [2020-12-03T06:29:22.440Z] 5e14af77c1be: Pulling fs layer [2020-12-03T06:29:22.440Z] 01666e4c0597: Pulling fs layer [2020-12-03T06:29:22.440Z] aa168da1d23b: Pulling fs layer [2020-12-03T06:29:22.440Z] 93b61091891f: Waiting [2020-12-03T06:29:22.440Z] 93b9cdb0e59b: Waiting [2020-12-03T06:29:22.440Z] 5e14af77c1be: Waiting [2020-12-03T06:29:22.440Z] 01666e4c0597: Waiting [2020-12-03T06:29:22.440Z] aa168da1d23b: Waiting [2020-12-03T06:29:22.440Z] 46f8f816bc3b: Waiting [2020-12-03T06:29:22.440Z] 36b3adc4ff6f: Download complete [2020-12-03T06:29:22.440Z] 46f8f816bc3b: Verifying Checksum [2020-12-03T06:29:22.440Z] 46f8f816bc3b: Download complete [2020-12-03T06:29:22.718Z] df20fa9351a1: Verifying Checksum [2020-12-03T06:29:22.718Z] df20fa9351a1: Download complete [2020-12-03T06:29:22.718Z] 93b9cdb0e59b: Verifying Checksum [2020-12-03T06:29:22.718Z] 93b9cdb0e59b: Download complete [2020-12-03T06:29:22.718Z] 5e14af77c1be: Verifying Checksum [2020-12-03T06:29:22.718Z] 5e14af77c1be: Download complete [2020-12-03T06:29:22.718Z] 01666e4c0597: Download complete [2020-12-03T06:29:22.718Z] 93b61091891f: Verifying Checksum [2020-12-03T06:29:22.718Z] 93b61091891f: Download complete [2020-12-03T06:29:23.314Z] df20fa9351a1: Pull complete [2020-12-03T06:29:23.612Z] 8ad3a11d3b57: Verifying Checksum [2020-12-03T06:29:23.612Z] 8ad3a11d3b57: Download complete [2020-12-03T06:29:23.612Z] 36b3adc4ff6f: Pull complete [2020-12-03T06:29:25.088Z] 8ad3a11d3b57: Pull complete [2020-12-03T06:29:25.388Z] 46f8f816bc3b: Pull complete [2020-12-03T06:29:25.990Z] 93b61091891f: Pull complete [2020-12-03T06:29:26.273Z] 93b9cdb0e59b: Pull complete [2020-12-03T06:29:26.566Z] 5e14af77c1be: Pull complete [2020-12-03T06:29:27.159Z] aa168da1d23b: Download complete [2020-12-03T06:29:27.159Z] 01666e4c0597: Pull complete [2020-12-03T06:29:37.316Z] aa168da1d23b: Pull complete [2020-12-03T06:29:37.316Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-03T06:29:37.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T06:29:37.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-03T06:29:37.773Z] prd-centos7-docker-4c-2g-14280 does not seem to be running inside a container [2020-12-03T06:29:37.850Z] $ 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-679/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-679 -v /w/workspace/dgexfoundry_device-sdk-go_PR-679:/w/workspace/dgexfoundry_device-sdk-go_PR-679:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-03T06:29:41.676Z] $ docker top e62bc68d97fa8fb9f5f924bfb3ba040d311faa0c06f37eebc4edfb1f27cba991 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T06:29:42.300Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-03T06:29:42.623Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-03T06:29:42.989Z] + ls /var/log/sa-host [2020-12-03T06:29:42.989Z] + sadf -c /var/log/sa-host/sa03 [2020-12-03T06:29:42.989Z] file_magic: OK [2020-12-03T06:29:42.989Z] HZ: Using current value: 100 [2020-12-03T06:29:42.989Z] file_header: OK [2020-12-03T06:29:42.989Z] 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-03T06:29:42.989Z] Statistics: [2020-12-03T06:29:42.989Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-03T06:29:42.989Z] File successfully converted to sysstat format version 12.2.1 [2020-12-03T06:29:42.989Z] + sadf -c /var/log/sa-host/sa23 [2020-12-03T06:29:42.989Z] file_magic: OK [2020-12-03T06:29:42.989Z] HZ: Using current value: 100 [2020-12-03T06:29:42.989Z] file_header: OK [2020-12-03T06:29:42.989Z] 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-03T06:29:42.989Z] Statistics: [2020-12-03T06:29:42.989Z] Hnuu...uuuununununu... [2020-12-03T06:29:42.989Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-03T06:29:43.248Z] provisioning config files... [2020-12-03T06:29:43.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-679@tmp/config6594234495022927637tmp [Pipeline] { [Pipeline] echo [2020-12-03T06:29:43.438Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:43.781Z] ---> create-netrc.sh [Pipeline] } [2020-12-03T06:29:43.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-03T06:29:43.989Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:44.338Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-03T06:29:44.410Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:44.769Z] ---> sudo-logs.sh [2020-12-03T06:29:44.769Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-03T06:29:44.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:45.156Z] ---> job-cost.sh [2020-12-03T06:29:45.156Z] lf-activate-venv: SKIPPING [2020-12-03T06:29:45.156Z] INFO: No Stack... [2020-12-03T06:29:46.555Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-03T06:29:46.818Z] INFO: Archiving Costs [Pipeline] echo [2020-12-03T06:29:46.854Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T06:29:47.205Z] ---> logs-deploy.sh [2020-12-03T06:29:47.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-679/1 [2020-12-03T06:29:47.206Z] INFO: archiving workspace using pattern(s): [2020-12-03T06:29:49.790Z] Archives upload complete. [2020-12-03T06:29:49.790Z] INFO: archiving logs to Nexus