Pull request #694 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f82d7a16948889d7b7d6d9c1568c71a93f7dfec3+d0df7b9da6961378affa4a44df784d03e7885d3e (5b3c56d3bf0d6fa56019b2ab8f44cde5730d92b0) 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-694/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-694/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16043 in /w/workspace/dgexfoundry_device-sdk-go_PR-694 [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-694 # 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 d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 Merge succeeded, producing f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 Checking out Revision f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 (PR-694) > 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/694/head:refs/remotes/origin/PR-694 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # 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 d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # 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-15T04:39:22.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T04:39:23.282Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T04:39:23.546Z] ========================================================= [2020-12-15T04:39:23.546Z] EdgeX Global Pipelines Version Info [2020-12-15T04:39:23.546Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:39:25.078Z] ------------------- [2020-12-15T04:39:25.078Z] stable info: [2020-12-15T04:39:25.078Z] ------------------- [2020-12-15T04:39:25.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:39:25.078Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:39:25.078Z] Message: update stable to v1.0.172 [2020-12-15T04:39:26.030Z] ------------------- [2020-12-15T04:39:26.030Z] experimental info: [2020-12-15T04:39:26.030Z] ------------------- [2020-12-15T04:39:26.030Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:39:26.030Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:39:26.030Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T04:39:26.481Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-15T04:39:26.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-15T04:39:26.734Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T04:39:26.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T04:39:26.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T04:39:27.116Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T04:39:27.232Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T04:39:27.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T04:39:27.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-15T04:39:27.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T04:39:27.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T04:39:27.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-15T04:39:28.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T04:39:28.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T04:39:28.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T04:39:28.362Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:39:28.484Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:39:28.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:39:28.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T04:39:28.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T04:39:28.970Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T04:39:29.093Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T04:39:29.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T04:39:29.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T04:39:29.459Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-15T04:39:29.587Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T04:39:29.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-694 [Pipeline] echo [2020-12-15T04:39:29.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-694 [Pipeline] echo [2020-12-15T04:39:29.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-694 [Pipeline] echo [2020-12-15T04:39:30.116Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [Pipeline] echo [2020-12-15T04:39:30.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f82d7a1 [Pipeline] echo [2020-12-15T04:39:30.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:39:30.843Z] provisioning config files... [2020-12-15T04:39:30.873Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/config6953642238111435199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:39:31.332Z] ---> docker-login.sh [2020-12-15T04:39:31.332Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:39:31.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:39:31.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:39:31.594Z] Configure a credential helper to remove this warning. See [2020-12-15T04:39:31.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:39:31.594Z] [2020-12-15T04:39:31.594Z] Login Succeeded [2020-12-15T04:39:31.594Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:39:31.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:39:31.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:39:31.857Z] Configure a credential helper to remove this warning. See [2020-12-15T04:39:31.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:39:31.857Z] [2020-12-15T04:39:31.857Z] Login Succeeded [2020-12-15T04:39:31.857Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:39:32.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:39:32.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:39:32.123Z] Configure a credential helper to remove this warning. See [2020-12-15T04:39:32.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:39:32.123Z] [2020-12-15T04:39:32.123Z] Login Succeeded [2020-12-15T04:39:32.123Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:39:32.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:39:32.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:39:32.123Z] Configure a credential helper to remove this warning. See [2020-12-15T04:39:32.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:39:32.123Z] [2020-12-15T04:39:32.123Z] Login Succeeded [2020-12-15T04:39:32.388Z] docker.io [2020-12-15T04:39:32.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:39:32.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:39:32.651Z] Configure a credential helper to remove this warning. See [2020-12-15T04:39:32.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:39:32.651Z] [2020-12-15T04:39:32.651Z] Login Succeeded [2020-12-15T04:39:32.651Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:39:32.677Z] 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-15T04:39:33.843Z] + git log --format=format:%s -1 f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [Pipeline] echo [2020-12-15T04:39:33.938Z] GIT_COMMIT: f82d7a16948889d7b7d6d9c1568c71a93f7dfec3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-15T04:39:34.020Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:39:34.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:39:34.639Z] [2020-12-15T04:39:34.639Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:39:35.029Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:39:35.029Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T04:39:35.029Z] 31603596830f: Pulling fs layer [2020-12-15T04:39:35.029Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T04:39:35.029Z] 6ca5941a6612: Pulling fs layer [2020-12-15T04:39:35.029Z] ecc8261a40a4: Pulling fs layer [2020-12-15T04:39:35.029Z] ecc8261a40a4: Waiting [2020-12-15T04:39:35.029Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T04:39:35.029Z] 2a8b12db71e7: Download complete [2020-12-15T04:39:35.029Z] 31603596830f: Verifying Checksum [2020-12-15T04:39:35.029Z] 31603596830f: Download complete [2020-12-15T04:39:35.296Z] ecc8261a40a4: Verifying Checksum [2020-12-15T04:39:35.296Z] ecc8261a40a4: Download complete [2020-12-15T04:39:35.296Z] 6ca5941a6612: Verifying Checksum [2020-12-15T04:39:35.296Z] 6ca5941a6612: Download complete [2020-12-15T04:39:35.559Z] 31603596830f: Pull complete [2020-12-15T04:39:35.559Z] 2a8b12db71e7: Pull complete [2020-12-15T04:39:36.550Z] 6ca5941a6612: Pull complete [2020-12-15T04:39:36.815Z] ecc8261a40a4: Pull complete [2020-12-15T04:39:36.815Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T04:39:36.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:39:36.815Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T04:39:36.946Z] prd-centos7-docker-4c-2g-16043 does not seem to be running inside a container [2020-12-15T04:39:36.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-694 -v /w/workspace/dgexfoundry_device-sdk-go_PR-694:/w/workspace/dgexfoundry_device-sdk-go_PR-694:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-694@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-15T04:39:39.274Z] $ docker top b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:39:39.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:39:39.635Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:39:39.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:39:39.865Z] $ docker exec b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 ssh-agent [2020-12-15T04:39:40.036Z] SSH_AUTH_SOCK=/tmp/ssh-P6OpJjGqjwWN/agent.12 [2020-12-15T04:39:40.037Z] SSH_AGENT_PID=17 [2020-12-15T04:39:40.046Z] Running ssh-add (command line suppressed) [2020-12-15T04:39:40.165Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/private_key_5584297012718653345.key (/w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/private_key_5584297012718653345.key) [2020-12-15T04:39:40.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:39:40.610Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T04:39:40.640Z] $ docker exec --env ******** --env ******** b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 ssh-agent -k [2020-12-15T04:39:40.758Z] unset SSH_AUTH_SOCK; [2020-12-15T04:39:40.758Z] unset SSH_AGENT_PID; [2020-12-15T04:39:40.759Z] echo Agent pid 17 killed; [2020-12-15T04:39:40.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T04:39:40.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:39:40.999Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:39:41.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:39:41.170Z] $ docker exec b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 ssh-agent [2020-12-15T04:39:41.335Z] SSH_AUTH_SOCK=/tmp/ssh-5zd11FO6QcH2/agent.46 [2020-12-15T04:39:41.335Z] SSH_AGENT_PID=51 [2020-12-15T04:39:41.344Z] Running ssh-add (command line suppressed) [2020-12-15T04:39:41.464Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/private_key_2968618560478053509.key (/w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/private_key_2968618560478053509.key) [2020-12-15T04:39:41.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:39:41.889Z] + git semver init [2020-12-15T04:39:41.889Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:39:41.889Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-694/.git [2020-12-15T04:39:41.889Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-694 [2020-12-15T04:39:41.889Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:39:41.889Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:39:41.889Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:39:41.889Z] # $SEMVER_BRANCH = PR-694 [2020-12-15T04:39:41.889Z] # $SEMVER_TEMP = /tmp/semver-633131684 [2020-12-15T04:39:41.889Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-15T04:39:42.464Z] # '/tmp/semver-633131684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-694/.semver' [2020-12-15T04:39:42.464Z] # -> Force: false [2020-12-15T04:39:42.464Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-694/.semver [Pipeline] } [2020-12-15T04:39:42.484Z] $ docker exec --env ******** --env ******** b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 ssh-agent -k [2020-12-15T04:39:42.599Z] unset SSH_AUTH_SOCK; [2020-12-15T04:39:42.601Z] unset SSH_AGENT_PID; [2020-12-15T04:39:42.601Z] echo Agent pid 51 killed; [2020-12-15T04:39:42.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:39:43.215Z] + git semver [Pipeline] } [2020-12-15T04:39:43.262Z] $ docker stop --time=1 b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 [2020-12-15T04:39:44.615Z] $ docker rm -f b652cccf36545519f094685a9330221c810221249729b592e9d31cc3a2cb7227 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:39:45.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T04:39:45.635Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T04:39:45.665Z] [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-15T04:40:01.561Z] Still waiting to schedule task [2020-12-15T04:40:01.562Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-15T04:40:01.611Z] Still waiting to schedule task [2020-12-15T04:40:01.611Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16042’ is offline [2020-12-15T04:41:22.886Z] Running on prd-centos7-docker-4c-2g-16046 in /w/workspace/dgexfoundry_device-sdk-go_PR-694 [Pipeline] { [Pipeline] ws [2020-12-15T04:41:23.024Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-15T04:41:29.176Z] using credential edgex-jenkins-ssh [2020-12-15T04:41:29.233Z] Cloning the remote Git repository [2020-12-15T04:41:29.320Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:29.440Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-15T04:41:29.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:29.615Z] > git --version # timeout=10 [2020-12-15T04:41:29.647Z] > git --version # 'git version 2.24.3' [2020-12-15T04:41:29.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:29.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:41:31.059Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [2020-12-15T04:41:31.431Z] Merge succeeded, producing f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [2020-12-15T04:41:31.432Z] Checking out Revision f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 (PR-694) [2020-12-15T04:41:30.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:41:30.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:41:30.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:41:30.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:30.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:30.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/694/head:refs/remotes/origin/PR-694 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:41:31.089Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:41:31.143Z] > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # timeout=10 [2020-12-15T04:41:31.299Z] > git remote # timeout=10 [2020-12-15T04:41:31.329Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:41:31.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:31.368Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:41:31.400Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:41:31.436Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:41:31.450Z] > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # timeout=10 [2020-12-15T04:41:35.531Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-15T04:41:35.635Z] > git --version # timeout=10 [2020-12-15T04:41:35.681Z] > git --version # 'git version 2.24.3' [2020-12-15T04:41:35.705Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:41:37.648Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:41:38.110Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:41:38.479Z] + true [2020-12-15T04:41:38.479Z] + sudo service docker restart [2020-12-15T04:41:38.479Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:41:40.734Z] provisioning config files... [2020-12-15T04:41:40.774Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2366036072379119881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:41:41.288Z] ---> docker-login.sh [2020-12-15T04:41:41.288Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:41:41.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:42.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:42.155Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:42.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:42.155Z] [2020-12-15T04:41:42.155Z] Login Succeeded [2020-12-15T04:41:42.155Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:41:42.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:42.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:42.726Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:42.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:42.726Z] [2020-12-15T04:41:42.726Z] Login Succeeded [2020-12-15T04:41:42.726Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:41:42.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:43.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:43.030Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:43.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:43.030Z] [2020-12-15T04:41:43.030Z] Login Succeeded [2020-12-15T04:41:43.030Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:41:43.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:43.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:43.317Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:43.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:43.317Z] [2020-12-15T04:41:43.317Z] Login Succeeded [2020-12-15T04:41:43.317Z] docker.io [2020-12-15T04:41:43.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:43.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:43.854Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:43.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:43.854Z] [2020-12-15T04:41:43.854Z] Login Succeeded [2020-12-15T04:41:43.854Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:41:43.883Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:41:44.616Z] ========================================================= [2020-12-15T04:41:44.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T04:41:44.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:41:45.025Z] + 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-15T04:41:45.296Z] Sending build context to Docker daemon 2.385MB [2020-12-15T04:41:45.296Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:41:45.296Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:41:45.296Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T04:41:45.296Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T04:41:45.296Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T04:41:45.296Z] de9db76c5a1d: Pulling fs layer [2020-12-15T04:41:45.296Z] bca2f99d35d6: Pulling fs layer [2020-12-15T04:41:45.296Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T04:41:45.296Z] 7c6f9722023f: Pulling fs layer [2020-12-15T04:41:45.296Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T04:41:45.296Z] bca2f99d35d6: Waiting [2020-12-15T04:41:45.296Z] 93359f2a8cfa: Waiting [2020-12-15T04:41:45.296Z] 7c6f9722023f: Waiting [2020-12-15T04:41:45.296Z] a35cf1a2eb13: Waiting [2020-12-15T04:41:45.296Z] de9db76c5a1d: Verifying Checksum [2020-12-15T04:41:45.296Z] de9db76c5a1d: Download complete [2020-12-15T04:41:45.296Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T04:41:45.296Z] 0ef7d3d256c8: Download complete [2020-12-15T04:41:45.565Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T04:41:45.565Z] 93359f2a8cfa: Download complete [2020-12-15T04:41:45.565Z] 7c6f9722023f: Verifying Checksum [2020-12-15T04:41:45.565Z] 7c6f9722023f: Download complete [2020-12-15T04:41:45.565Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T04:41:45.565Z] 188c0c94c7c5: Download complete [2020-12-15T04:41:46.188Z] 188c0c94c7c5: Pull complete [2020-12-15T04:41:46.478Z] 0ef7d3d256c8: Pull complete [2020-12-15T04:41:46.753Z] de9db76c5a1d: Pull complete [2020-12-15T04:41:50.259Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T04:41:50.259Z] a35cf1a2eb13: Download complete [2020-12-15T04:41:51.297Z] bca2f99d35d6: Verifying Checksum [2020-12-15T04:41:51.297Z] bca2f99d35d6: Download complete [2020-12-15T04:42:01.602Z] bca2f99d35d6: Pull complete [2020-12-15T04:42:01.602Z] 93359f2a8cfa: Pull complete [2020-12-15T04:42:01.602Z] 7c6f9722023f: Pull complete [2020-12-15T04:42:08.538Z] a35cf1a2eb13: Pull complete [2020-12-15T04:42:08.538Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T04:42:08.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T04:42:08.538Z] ---> a62c8e92a672 [2020-12-15T04:42:08.538Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:42:08.538Z] ---> Running in 1c1036924af4 [2020-12-15T04:42:08.834Z] Removing intermediate container 1c1036924af4 [2020-12-15T04:42:08.834Z] ---> 2cc33044317f [2020-12-15T04:42:08.834Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:42:08.834Z] ---> Running in 1e4aba93b016 [2020-12-15T04:42:10.910Z] Removing intermediate container 1e4aba93b016 [2020-12-15T04:42:10.910Z] ---> 921b8af57308 [2020-12-15T04:42:10.910Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:42:10.910Z] ---> Running in 55fb189e2296 [2020-12-15T04:42:12.400Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:42:12.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:42:14.409Z] OK: 166 MiB in 39 packages [2020-12-15T04:42:14.691Z] Removing intermediate container 55fb189e2296 [2020-12-15T04:42:14.692Z] ---> 7393a1346616 [2020-12-15T04:42:14.692Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:42:14.968Z] ---> Running in 86636c68f751 [2020-12-15T04:42:15.253Z] Removing intermediate container 86636c68f751 [2020-12-15T04:42:15.253Z] ---> cd8e65023c5f [2020-12-15T04:42:15.253Z] Step 7/8 : COPY . . [2020-12-15T04:42:16.702Z] ---> 761271424286 [2020-12-15T04:42:16.702Z] Step 8/8 : RUN go mod download [2020-12-15T04:42:16.702Z] ---> Running in 360008f02b4f [2020-12-15T04:42:43.668Z] Removing intermediate container 360008f02b4f [2020-12-15T04:42:43.668Z] ---> 0f25e95626c1 [2020-12-15T04:42:43.668Z] Successfully built 0f25e95626c1 [2020-12-15T04:42:43.668Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:42:44.075Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:42:44.351Z] . [Pipeline] withDockerContainer [2020-12-15T04:42:44.651Z] prd-centos7-docker-4c-2g-16046 does not seem to be running inside a container [2020-12-15T04:42:44.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:42:46.066Z] $ docker top 7c94738c330892cac9c25f29dbe4e12dadd9df7be50804501bc110ab3eee08c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:42:47.081Z] + go version [2020-12-15T04:42:47.081Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T04:42:47.130Z] $ docker stop --time=1 7c94738c330892cac9c25f29dbe4e12dadd9df7be50804501bc110ab3eee08c5 [2020-12-15T04:42:48.708Z] $ docker rm -f 7c94738c330892cac9c25f29dbe4e12dadd9df7be50804501bc110ab3eee08c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:42:50.092Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:42:50.092Z] . [Pipeline] withDockerContainer [2020-12-15T04:42:50.285Z] prd-centos7-docker-4c-2g-16046 does not seem to be running inside a container [2020-12-15T04:42:50.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:42:51.827Z] $ docker top c0116c5f07f3d9dfbcf61f6d9d69dec2ebe702f41a8c525e799ebf7cb995b6b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:42:52.593Z] + make test [2020-12-15T04:42:52.593Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:43:07.920Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:43:16.716Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16050 in /w/workspace/dgexfoundry_device-sdk-go_PR-694 [Pipeline] { [Pipeline] ws [2020-12-15T04:43:16.815Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-15T04:43:22.658Z] using credential edgex-jenkins-ssh [2020-12-15T04:43:22.720Z] Cloning the remote Git repository [2020-12-15T04:43:22.784Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:22.907Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-15T04:43:22.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:22.995Z] > git --version # timeout=10 [2020-12-15T04:43:23.016Z] > git --version # 'git version 2.17.1' [2020-12-15T04:43:23.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:23.098Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:43:24.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:43:24.254Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:43:24.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:43:24.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:24.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:24.356Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/694/head:refs/remotes/origin/PR-694 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:43:24.884Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [2020-12-15T04:43:25.182Z] Merge succeeded, producing f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 [2020-12-15T04:43:25.183Z] Checking out Revision f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 (PR-694) [2020-12-15T04:43:24.912Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:43:24.938Z] > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # timeout=10 [2020-12-15T04:43:25.081Z] > git remote # timeout=10 [2020-12-15T04:43:25.104Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:43:25.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:25.141Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:43:25.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:43:25.194Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:43:25.210Z] > git checkout -f f82d7a16948889d7b7d6d9c1568c71a93f7dfec3 # timeout=10 [2020-12-15T04:43:26.637Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-15T04:43:26.637Z] internal/v2/application/command.go:720:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-15T04:43:26.638Z] internal/v2/application/command.go:726:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-15T04:43:29.728Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-15T04:43:29.787Z] > git --version # timeout=10 [2020-12-15T04:43:29.800Z] > git --version # 'git version 2.17.1' [2020-12-15T04:43:29.814Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:43:31.770Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:43:32.189Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:43:32.350Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.096s coverage: 20.6% of statements [2020-12-15T04:43:32.553Z] + sudo service docker restart [2020-12-15T04:43:32.553Z] + true [2020-12-15T04:43:34.526Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.659s coverage: 97.1% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:43:34.682Z] provisioning config files... [2020-12-15T04:43:34.725Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7604518403733074443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:43:35.189Z] ---> docker-login.sh [2020-12-15T04:43:35.189Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:43:35.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:43:36.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:43:36.403Z] Configure a credential helper to remove this warning. See [2020-12-15T04:43:36.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:43:36.403Z] [2020-12-15T04:43:36.403Z] Login Succeeded [2020-12-15T04:43:36.403Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:43:36.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:43:36.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:43:36.955Z] Configure a credential helper to remove this warning. See [2020-12-15T04:43:36.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:43:36.955Z] [2020-12-15T04:43:36.955Z] Login Succeeded [2020-12-15T04:43:36.955Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:43:37.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:43:37.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:43:37.513Z] Configure a credential helper to remove this warning. See [2020-12-15T04:43:37.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:43:37.513Z] [2020-12-15T04:43:37.513Z] Login Succeeded [2020-12-15T04:43:37.513Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:43:37.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:43:38.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:43:38.079Z] Configure a credential helper to remove this warning. See [2020-12-15T04:43:38.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:43:38.079Z] [2020-12-15T04:43:38.079Z] Login Succeeded [2020-12-15T04:43:38.079Z] docker.io [2020-12-15T04:43:38.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:43:38.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:43:38.957Z] Configure a credential helper to remove this warning. See [2020-12-15T04:43:38.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:43:38.957Z] [2020-12-15T04:43:38.957Z] Login Succeeded [2020-12-15T04:43:38.957Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:43:39.004Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:43:39.576Z] ========================================================= [2020-12-15T04:43:39.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T04:43:39.576Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:43:40.111Z] + 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-15T04:43:40.730Z] Sending build context to Docker daemon 2.385MB [2020-12-15T04:43:40.730Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:43:40.730Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:43:40.730Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T04:43:40.730Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T04:43:40.730Z] a4357932f1b6: Pulling fs layer [2020-12-15T04:43:40.730Z] 18c013af1878: Pulling fs layer [2020-12-15T04:43:40.730Z] 00ac8860ef70: Pulling fs layer [2020-12-15T04:43:40.730Z] 63d7cb157983: Pulling fs layer [2020-12-15T04:43:40.730Z] b116817d02f9: Pulling fs layer [2020-12-15T04:43:40.730Z] 745a02a5169b: Pulling fs layer [2020-12-15T04:43:40.730Z] 00ac8860ef70: Waiting [2020-12-15T04:43:40.730Z] 63d7cb157983: Waiting [2020-12-15T04:43:40.730Z] b116817d02f9: Waiting [2020-12-15T04:43:40.730Z] 745a02a5169b: Waiting [2020-12-15T04:43:40.730Z] 18c013af1878: Download complete [2020-12-15T04:43:40.730Z] a4357932f1b6: Verifying Checksum [2020-12-15T04:43:40.730Z] a4357932f1b6: Download complete [2020-12-15T04:43:40.730Z] 63d7cb157983: Download complete [2020-12-15T04:43:41.011Z] b116817d02f9: Verifying Checksum [2020-12-15T04:43:41.011Z] b116817d02f9: Download complete [2020-12-15T04:43:41.011Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T04:43:41.011Z] 5f621e34cdf4: Download complete [2020-12-15T04:43:41.622Z] 5f621e34cdf4: Pull complete [2020-12-15T04:43:42.258Z] a4357932f1b6: Pull complete [2020-12-15T04:43:42.874Z] 18c013af1878: Pull complete [2020-12-15T04:43:43.493Z] 745a02a5169b: Verifying Checksum [2020-12-15T04:43:43.493Z] 745a02a5169b: Download complete [2020-12-15T04:43:44.942Z] 00ac8860ef70: Verifying Checksum [2020-12-15T04:43:44.942Z] 00ac8860ef70: Download complete [2020-12-15T04:43:55.109Z] 00ac8860ef70: Pull complete [2020-12-15T04:43:55.109Z] 63d7cb157983: Pull complete [2020-12-15T04:43:55.109Z] b116817d02f9: Pull complete [2020-12-15T04:43:57.730Z] 745a02a5169b: Pull complete [2020-12-15T04:43:58.009Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T04:43:58.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T04:43:58.009Z] ---> b7e6874047d6 [2020-12-15T04:43:58.009Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:44:01.422Z] ---> Running in 79c716e0c0ac [2020-12-15T04:44:01.706Z] Removing intermediate container 79c716e0c0ac [2020-12-15T04:44:01.706Z] ---> bdd240d4e9db [2020-12-15T04:44:01.706Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:44:01.706Z] ---> Running in 1067daa11047 [2020-12-15T04:44:04.334Z] Removing intermediate container 1067daa11047 [2020-12-15T04:44:04.334Z] ---> 044e682238a4 [2020-12-15T04:44:04.334Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:44:04.609Z] ---> Running in f6eb94f94295 [2020-12-15T04:44:06.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:44:06.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:44:06.886Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.127s coverage: 9.4% of statements [2020-12-15T04:44:06.886Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.077s coverage: 21.9% of statements [2020-12-15T04:44:06.886Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-15T04:44:06.886Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.453s coverage: 68.9% of statements [2020-12-15T04:44:06.886Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.132s coverage: 53.8% of statements [2020-12-15T04:44:06.886Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.542s coverage: 68.9% of statements [2020-12-15T04:44:06.886Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-15T04:44:06.886Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-15T04:44:06.991Z] $ docker stop --time=1 c0116c5f07f3d9dfbcf61f6d9d69dec2ebe702f41a8c525e799ebf7cb995b6b0 [2020-12-15T04:44:07.627Z] OK: 142 MiB in 39 packages [2020-12-15T04:44:08.995Z] $ docker rm -f c0116c5f07f3d9dfbcf61f6d9d69dec2ebe702f41a8c525e799ebf7cb995b6b0 [2020-12-15T04:44:09.097Z] Removing intermediate container f6eb94f94295 [2020-12-15T04:44:09.097Z] ---> 5f37e8262de5 [2020-12-15T04:44:09.097Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:44:09.097Z] ---> Running in d10f41b7c73d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-12-15T04:44:09.714Z] Removing intermediate container d10f41b7c73d [2020-12-15T04:44:09.714Z] ---> 75a469cfa7b0 [2020-12-15T04:44:09.714Z] Step 7/8 : COPY . . [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] } [2020-12-15T04:44:11.170Z] ---> 71d4b09d4c7c [2020-12-15T04:44:11.170Z] Step 8/8 : RUN go mod download [2020-12-15T04:44:11.170Z] ---> Running in 178f24cc079f [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-15T04:44:11.848Z] Failed in branch amd64 [2020-12-15T04:44:33.360Z] Removing intermediate container 178f24cc079f [2020-12-15T04:44:33.360Z] ---> 6e0ee96a2a8e [2020-12-15T04:44:33.360Z] Successfully built 6e0ee96a2a8e [2020-12-15T04:44:33.360Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:44:33.752Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:44:33.752Z] . [Pipeline] withDockerContainer [2020-12-15T04:44:34.061Z] prd-ubuntu18.04-docker-arm64-4c-16g-16050 does not seem to be running inside a container [2020-12-15T04:44:34.149Z] $ 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-15T04:44:35.674Z] $ docker top 84a8ef72ca0439264f8e1e53aaa2384986683f9dca8cec19d3b22ecdde882605 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:44:36.787Z] + go version [2020-12-15T04:44:36.787Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T04:44:36.831Z] $ docker stop --time=1 84a8ef72ca0439264f8e1e53aaa2384986683f9dca8cec19d3b22ecdde882605 [2020-12-15T04:44:38.862Z] $ docker rm -f 84a8ef72ca0439264f8e1e53aaa2384986683f9dca8cec19d3b22ecdde882605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:44:40.200Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:44:40.200Z] . [Pipeline] withDockerContainer [2020-12-15T04:44:40.501Z] prd-ubuntu18.04-docker-arm64-4c-16g-16050 does not seem to be running inside a container [2020-12-15T04:44:40.588Z] $ 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-15T04:44:41.995Z] $ docker top 70d103a6b4291e6b942d237abe4230378c4c40fd3928401a12b0e2c56ac24b75 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:44:43.040Z] + make test [2020-12-15T04:44:43.040Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:45:09.860Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:45:48.998Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-15T04:45:48.998Z] internal/v2/application/command.go:720:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-15T04:45:48.998Z] internal/v2/application/command.go:726:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-15T04:45:49.280Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.133s coverage: 20.6% of statements [2020-12-15T04:45:53.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.539s coverage: 97.1% of statements [2020-12-15T04:46:26.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.145s coverage: 9.4% of statements [2020-12-15T04:46:26.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.145s coverage: 21.9% of statements [2020-12-15T04:46:26.054Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-12-15T04:46:26.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.852s coverage: 68.9% of statements [2020-12-15T04:46:26.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.203s coverage: 53.8% of statements [2020-12-15T04:46:26.054Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.222s coverage: 68.9% of statements [2020-12-15T04:46:26.054Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2020-12-15T04:46:26.054Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-12-15T04:46:26.155Z] $ docker stop --time=1 70d103a6b4291e6b942d237abe4230378c4c40fd3928401a12b0e2c56ac24b75 [2020-12-15T04:46:28.297Z] $ docker rm -f 70d103a6b4291e6b942d237abe4230378c4c40fd3928401a12b0e2c56ac24b75 [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-15T04:46:31.125Z] 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-15T04:46:35.411Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:35.765Z] ---> package-listing.sh [2020-12-15T04:46:35.765Z] ++ facter osfamily [2020-12-15T04:46:35.765Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T04:46:35.765Z] + OS_FAMILY=redhat [2020-12-15T04:46:35.765Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-694 [2020-12-15T04:46:35.765Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T04:46:35.765Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T04:46:35.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T04:46:35.765Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T04:46:35.765Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-694 ']' [2020-12-15T04:46:35.766Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T04:46:35.766Z] + case "${OS_FAMILY}" in [2020-12-15T04:46:35.766Z] + rpm -qa [2020-12-15T04:46:35.766Z] + sort [2020-12-15T04:46:41.102Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T04:46:41.102Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T04:46:41.102Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T04:46:41.102Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-694 ']' [2020-12-15T04:46:41.102Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-694/archives/ [2020-12-15T04:46:41.102Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-694/archives/ [Pipeline] echo [2020-12-15T04:46:41.146Z] 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-694/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T04:46:41.465Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:41.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:41.803Z] [2020-12-15T04:46:41.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:42.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:42.197Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T04:46:42.197Z] df20fa9351a1: Pulling fs layer [2020-12-15T04:46:42.197Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T04:46:42.197Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T04:46:42.198Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T04:46:42.198Z] 93b61091891f: Pulling fs layer [2020-12-15T04:46:42.198Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T04:46:42.198Z] 5e14af77c1be: Pulling fs layer [2020-12-15T04:46:42.198Z] 01666e4c0597: Pulling fs layer [2020-12-15T04:46:42.198Z] aa168da1d23b: Pulling fs layer [2020-12-15T04:46:42.198Z] 46f8f816bc3b: Waiting [2020-12-15T04:46:42.198Z] 93b61091891f: Waiting [2020-12-15T04:46:42.198Z] 93b9cdb0e59b: Waiting [2020-12-15T04:46:42.198Z] 5e14af77c1be: Waiting [2020-12-15T04:46:42.198Z] 01666e4c0597: Waiting [2020-12-15T04:46:42.198Z] aa168da1d23b: Waiting [2020-12-15T04:46:42.198Z] 36b3adc4ff6f: Download complete [2020-12-15T04:46:42.198Z] 46f8f816bc3b: Verifying Checksum [2020-12-15T04:46:42.198Z] 46f8f816bc3b: Download complete [2020-12-15T04:46:42.198Z] df20fa9351a1: Verifying Checksum [2020-12-15T04:46:42.462Z] 93b9cdb0e59b: Verifying Checksum [2020-12-15T04:46:42.462Z] 93b9cdb0e59b: Download complete [2020-12-15T04:46:42.462Z] 5e14af77c1be: Verifying Checksum [2020-12-15T04:46:42.462Z] 5e14af77c1be: Download complete [2020-12-15T04:46:42.462Z] 01666e4c0597: Verifying Checksum [2020-12-15T04:46:42.462Z] 01666e4c0597: Download complete [2020-12-15T04:46:42.462Z] 93b61091891f: Download complete [2020-12-15T04:46:42.462Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T04:46:42.462Z] 8ad3a11d3b57: Download complete [2020-12-15T04:46:42.733Z] df20fa9351a1: Pull complete [2020-12-15T04:46:43.001Z] 36b3adc4ff6f: Pull complete [2020-12-15T04:46:43.966Z] 8ad3a11d3b57: Pull complete [2020-12-15T04:46:43.966Z] 46f8f816bc3b: Pull complete [2020-12-15T04:46:44.563Z] 93b61091891f: Pull complete [2020-12-15T04:46:44.826Z] aa168da1d23b: Verifying Checksum [2020-12-15T04:46:44.826Z] aa168da1d23b: Download complete [2020-12-15T04:46:44.826Z] 93b9cdb0e59b: Pull complete [2020-12-15T04:46:45.089Z] 5e14af77c1be: Pull complete [2020-12-15T04:46:45.089Z] 01666e4c0597: Pull complete [2020-12-15T04:46:53.317Z] aa168da1d23b: Pull complete [2020-12-15T04:46:53.317Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T04:46:53.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:53.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T04:46:53.545Z] prd-centos7-docker-4c-2g-16043 does not seem to be running inside a container [2020-12-15T04:46:53.595Z] $ 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-694/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-694 -v /w/workspace/dgexfoundry_device-sdk-go_PR-694:/w/workspace/dgexfoundry_device-sdk-go_PR-694:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-694@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-15T04:46:57.217Z] $ docker top 2f79c2e3ec8cee0c0175808ca2ad5c3ae8b5ad1e50c51d6bd2489dd5fc719dfd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:46:57.741Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T04:46:58.061Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T04:46:58.467Z] + ls /var/log/sa-host [2020-12-15T04:46:58.467Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T04:46:58.467Z] file_magic: OK [2020-12-15T04:46:58.467Z] HZ: Using current value: 100 [2020-12-15T04:46:58.467Z] file_header: OK [2020-12-15T04:46:58.467Z] 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-15T04:46:58.467Z] Statistics: [2020-12-15T04:46:58.467Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T04:46:58.467Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T04:46:58.467Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T04:46:58.467Z] file_magic: OK [2020-12-15T04:46:58.467Z] HZ: Using current value: 100 [2020-12-15T04:46:58.467Z] file_header: OK [2020-12-15T04:46:58.468Z] 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-15T04:46:58.468Z] Statistics: [2020-12-15T04:46:58.468Z] Hnuu...uuuununununu... [2020-12-15T04:46:58.468Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:46:58.816Z] provisioning config files... [2020-12-15T04:46:58.833Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-694@tmp/config2108730469655215201tmp [Pipeline] { [Pipeline] echo [2020-12-15T04:46:58.954Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:59.300Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T04:46:59.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T04:46:59.474Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:59.889Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T04:46:59.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:47:00.250Z] ---> sudo-logs.sh [2020-12-15T04:47:00.250Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T04:47:00.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:47:00.617Z] ---> job-cost.sh [2020-12-15T04:47:00.617Z] lf-activate-venv: SKIPPING [2020-12-15T04:47:00.617Z] INFO: No Stack... [2020-12-15T04:47:01.567Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T04:47:02.142Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T04:47:02.176Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:47:02.511Z] ---> logs-deploy.sh [2020-12-15T04:47:02.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-694/1 [2020-12-15T04:47:02.511Z] INFO: archiving workspace using pattern(s): [2020-12-15T04:47:04.443Z] Archives upload complete. [2020-12-15T04:47:04.443Z] INFO: archiving logs to Nexus