Pull request #605 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5ce53691988163011cc0b4edc30b5f2073632195+c9ed7d50ea1ae9051570182c8cb685d3221d57d1 (85261012946dd163bc85d787fc53b7fd80d660c3) 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/app-functions-sdk-go/branches/PR-605/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/app-functions-sdk-go/branches/PR-605/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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16272 in /w/workspace/ndry_app-functions-sdk-go_PR-605 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-605 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 5ce53691988163011cc0b4edc30b5f2073632195 Merge succeeded, producing 5ce53691988163011cc0b4edc30b5f2073632195 Checking out Revision 5ce53691988163011cc0b4edc30b5f2073632195 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" 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-16T06:27:18.955Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-16T06:27:19.371Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-16T06:27:19.599Z] ========================================================= [2020-12-16T06:27:19.599Z] EdgeX Global Pipelines Version Info [2020-12-16T06:27:19.599Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:27:21.126Z] ------------------- [2020-12-16T06:27:21.126Z] stable info: [2020-12-16T06:27:21.126Z] ------------------- [2020-12-16T06:27:21.126Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T06:27:21.126Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T06:27:21.126Z] Message: update stable to v1.0.172 [2020-12-16T06:27:22.080Z] ------------------- [2020-12-16T06:27:22.080Z] experimental info: [2020-12-16T06:27:22.080Z] ------------------- [2020-12-16T06:27:22.080Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T06:27:22.080Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T06:27:22.080Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-16T06:27:22.491Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-16T06:27:22.622Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-16T06:27:22.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-16T06:27:22.931Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-16T06:27:23.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-16T06:27:23.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-16T06:27:23.355Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-16T06:27:23.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-16T06:27:23.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-16T06:27:23.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-16T06:27:23.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-16T06:27:24.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-16T06:27:24.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-16T06:27:24.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-16T06:27:24.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T06:27:24.578Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T06:27:24.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T06:27:24.902Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T06:27:25.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-16T06:27:25.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-16T06:27:25.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-16T06:27:25.441Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-16T06:27:25.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-16T06:27:25.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-16T06:27:25.822Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-16T06:27:25.952Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-16T06:27:26.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-12-16T06:27:26.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-12-16T06:27:26.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-12-16T06:27:26.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ce53691988163011cc0b4edc30b5f2073632195 [Pipeline] echo [2020-12-16T06:27:26.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ce5369 [Pipeline] echo [2020-12-16T06:27:26.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T06:27:27.741Z] + git log --format=format:%s -1 5ce53691988163011cc0b4edc30b5f2073632195 [Pipeline] echo [2020-12-16T06:27:27.829Z] GIT_COMMIT: 5ce53691988163011cc0b4edc30b5f2073632195, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo [2020-12-16T06:27:27.906Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:27:28.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T06:27:28.807Z] [2020-12-16T06:27:28.807Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:27:29.377Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T06:27:29.377Z] latest: Pulling from edgex-devops/git-semver [2020-12-16T06:27:29.377Z] 31603596830f: Pulling fs layer [2020-12-16T06:27:29.377Z] 2a8b12db71e7: Pulling fs layer [2020-12-16T06:27:29.377Z] 6ca5941a6612: Pulling fs layer [2020-12-16T06:27:29.377Z] ecc8261a40a4: Pulling fs layer [2020-12-16T06:27:29.377Z] ecc8261a40a4: Waiting [2020-12-16T06:27:29.377Z] 2a8b12db71e7: Verifying Checksum [2020-12-16T06:27:29.377Z] 2a8b12db71e7: Download complete [2020-12-16T06:27:29.642Z] 31603596830f: Verifying Checksum [2020-12-16T06:27:29.642Z] 31603596830f: Download complete [2020-12-16T06:27:29.642Z] ecc8261a40a4: Verifying Checksum [2020-12-16T06:27:29.642Z] ecc8261a40a4: Download complete [2020-12-16T06:27:29.642Z] 6ca5941a6612: Download complete [2020-12-16T06:27:29.909Z] 31603596830f: Pull complete [2020-12-16T06:27:29.909Z] 2a8b12db71e7: Pull complete [2020-12-16T06:27:30.868Z] 6ca5941a6612: Pull complete [2020-12-16T06:27:31.132Z] ecc8261a40a4: Pull complete [2020-12-16T06:27:31.132Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-16T06:27:31.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T06:27:31.132Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-16T06:27:31.273Z] prd-centos7-docker-4c-2g-16272 does not seem to be running inside a container [2020-12-16T06:27:31.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-605 -v /w/workspace/ndry_app-functions-sdk-go_PR-605:/w/workspace/ndry_app-functions-sdk-go_PR-605:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-605@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-605@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-16T06:27:33.578Z] $ docker top 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-16T06:27:34.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T06:27:34.122Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T06:27:34.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T06:27:34.378Z] $ docker exec 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a ssh-agent [2020-12-16T06:27:34.549Z] SSH_AUTH_SOCK=/tmp/ssh-WiQkAuYLLJL4/agent.11 [2020-12-16T06:27:34.549Z] SSH_AGENT_PID=16 [2020-12-16T06:27:34.559Z] Running ssh-add (command line suppressed) [2020-12-16T06:27:34.684Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-605@tmp/private_key_493455053508851924.key (/w/workspace/ndry_app-functions-sdk-go_PR-605@tmp/private_key_493455053508851924.key) [2020-12-16T06:27:34.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T06:27:35.134Z] + git tag --points-at HEAD [Pipeline] } [2020-12-16T06:27:35.173Z] $ docker exec --env ******** --env ******** 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a ssh-agent -k [2020-12-16T06:27:35.282Z] unset SSH_AUTH_SOCK; [2020-12-16T06:27:35.282Z] unset SSH_AGENT_PID; [2020-12-16T06:27:35.282Z] echo Agent pid 16 killed; [2020-12-16T06:27:35.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-16T06:27:35.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T06:27:35.635Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T06:27:35.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T06:27:35.800Z] $ docker exec 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a ssh-agent [2020-12-16T06:27:35.967Z] SSH_AUTH_SOCK=/tmp/ssh-LWgytiVjiuvL/agent.46 [2020-12-16T06:27:35.967Z] SSH_AGENT_PID=51 [2020-12-16T06:27:35.974Z] Running ssh-add (command line suppressed) [2020-12-16T06:27:36.092Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-605@tmp/private_key_4324508014737802375.key (/w/workspace/ndry_app-functions-sdk-go_PR-605@tmp/private_key_4324508014737802375.key) [2020-12-16T06:27:36.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T06:27:36.535Z] + git semver init [2020-12-16T06:27:36.535Z] # -> Open(): unable to determine branch for HEAD [2020-12-16T06:27:36.535Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-605/.git [2020-12-16T06:27:36.535Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-605 [2020-12-16T06:27:36.535Z] # $SEMVER_REMOTE_NAME = origin [2020-12-16T06:27:36.535Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-16T06:27:36.535Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-16T06:27:36.535Z] # $SEMVER_BRANCH = PR-605 [2020-12-16T06:27:36.535Z] # $SEMVER_TEMP = /tmp/semver-018266170 [2020-12-16T06:27:36.535Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-16T06:27:39.089Z] # '/tmp/semver-018266170' -> '/w/workspace/ndry_app-functions-sdk-go_PR-605/.semver' [2020-12-16T06:27:39.089Z] # -> Force: false [2020-12-16T06:27:39.089Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-605/.semver [Pipeline] } [2020-12-16T06:27:39.113Z] $ docker exec --env ******** --env ******** 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a ssh-agent -k [2020-12-16T06:27:39.250Z] unset SSH_AUTH_SOCK; [2020-12-16T06:27:39.250Z] unset SSH_AGENT_PID; [2020-12-16T06:27:39.250Z] echo Agent pid 51 killed; [2020-12-16T06:27:39.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-16T06:27:39.977Z] + git semver [Pipeline] } [2020-12-16T06:27:40.014Z] $ docker stop --time=1 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a [2020-12-16T06:27:41.583Z] $ docker rm -f 6909cd954f2eecff5a03859c4bbd975a1af0c5dd526b1fa1976a4d3d00027c8a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T06:27:42.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-16T06:27:42.726Z] Stashed 1 file(s) [Pipeline] echo [2020-12-16T06:27:42.755Z] [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-16T06:27:58.627Z] Still waiting to schedule task [2020-12-16T06:27:58.628Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-16T06:27:58.659Z] Still waiting to schedule task [2020-12-16T06:27:58.659Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16270’ is offline [2020-12-16T06:29:05.732Z] Running on prd-centos7-docker-4c-2g-16275 in /w/workspace/ndry_app-functions-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-12-16T06:29:05.829Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-16T06:29:08.262Z] using credential edgex-jenkins-ssh [2020-12-16T06:29:08.322Z] Cloning the remote Git repository [2020-12-16T06:29:07.965Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:08.038Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-16T06:29:08.108Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:08.109Z] > git --version # timeout=10 [2020-12-16T06:29:08.116Z] > git --version # 'git version 2.24.3' [2020-12-16T06:29:08.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:08.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T06:29:09.819Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-16T06:29:09.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T06:29:09.839Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-16T06:29:09.852Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:09.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:09.860Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T06:29:10.452Z] Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 5ce53691988163011cc0b4edc30b5f2073632195 [2020-12-16T06:29:10.554Z] Merge succeeded, producing 5ce53691988163011cc0b4edc30b5f2073632195 [2020-12-16T06:29:10.554Z] Checking out Revision 5ce53691988163011cc0b4edc30b5f2073632195 (PR-605) [2020-12-16T06:29:10.242Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T06:29:10.248Z] > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # timeout=10 [2020-12-16T06:29:10.300Z] > git remote # timeout=10 [2020-12-16T06:29:10.305Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T06:29:10.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:10.323Z] > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 [2020-12-16T06:29:10.335Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T06:29:10.347Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T06:29:10.352Z] > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # timeout=10 [2020-12-16T06:29:14.033Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [2020-12-16T06:29:14.064Z] > git --version # timeout=10 [2020-12-16T06:29:14.069Z] > git --version # 'git version 2.24.3' [2020-12-16T06:29:14.075Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T06:29:15.776Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-16T06:29:16.128Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T06:29:16.462Z] + sudo service docker restart [2020-12-16T06:29:16.462Z] + true [2020-12-16T06:29:16.462Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-16T06:29:18.174Z] ========================================================= [2020-12-16T06:29:18.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-16T06:29:18.174Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:29:18.563Z] + 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-16T06:29:19.139Z] Sending build context to Docker daemon 19.16MB [2020-12-16T06:29:19.408Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-16T06:29:19.408Z] Step 2/8 : FROM ${BASE} [2020-12-16T06:29:19.408Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-16T06:29:19.408Z] 188c0c94c7c5: Pulling fs layer [2020-12-16T06:29:19.408Z] 0ef7d3d256c8: Pulling fs layer [2020-12-16T06:29:19.408Z] de9db76c5a1d: Pulling fs layer [2020-12-16T06:29:19.408Z] bca2f99d35d6: Pulling fs layer [2020-12-16T06:29:19.408Z] 93359f2a8cfa: Pulling fs layer [2020-12-16T06:29:19.408Z] 7c6f9722023f: Pulling fs layer [2020-12-16T06:29:19.408Z] a35cf1a2eb13: Pulling fs layer [2020-12-16T06:29:19.408Z] bca2f99d35d6: Waiting [2020-12-16T06:29:19.408Z] 93359f2a8cfa: Waiting [2020-12-16T06:29:19.408Z] 7c6f9722023f: Waiting [2020-12-16T06:29:19.408Z] a35cf1a2eb13: Waiting [2020-12-16T06:29:19.408Z] de9db76c5a1d: Verifying Checksum [2020-12-16T06:29:19.408Z] de9db76c5a1d: Download complete [2020-12-16T06:29:19.408Z] 0ef7d3d256c8: Verifying Checksum [2020-12-16T06:29:19.408Z] 0ef7d3d256c8: Download complete [2020-12-16T06:29:19.408Z] 93359f2a8cfa: Verifying Checksum [2020-12-16T06:29:19.408Z] 93359f2a8cfa: Download complete [2020-12-16T06:29:19.408Z] 7c6f9722023f: Verifying Checksum [2020-12-16T06:29:19.408Z] 7c6f9722023f: Download complete [2020-12-16T06:29:19.408Z] 188c0c94c7c5: Verifying Checksum [2020-12-16T06:29:19.408Z] 188c0c94c7c5: Download complete [2020-12-16T06:29:19.674Z] 188c0c94c7c5: Pull complete [2020-12-16T06:29:19.938Z] 0ef7d3d256c8: Pull complete [2020-12-16T06:29:20.201Z] de9db76c5a1d: Pull complete [2020-12-16T06:29:21.608Z] a35cf1a2eb13: Verifying Checksum [2020-12-16T06:29:21.608Z] a35cf1a2eb13: Download complete [2020-12-16T06:29:22.185Z] bca2f99d35d6: Verifying Checksum [2020-12-16T06:29:22.185Z] bca2f99d35d6: Download complete [2020-12-16T06:29:27.515Z] bca2f99d35d6: Pull complete [2020-12-16T06:29:27.515Z] 93359f2a8cfa: Pull complete [2020-12-16T06:29:27.515Z] 7c6f9722023f: Pull complete [2020-12-16T06:29:35.754Z] a35cf1a2eb13: Pull complete [2020-12-16T06:29:35.754Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-16T06:29:35.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-16T06:29:35.754Z] ---> a62c8e92a672 [2020-12-16T06:29:35.754Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-16T06:29:35.754Z] latest: Pulling from library/docker [2020-12-16T06:29:35.754Z] 05e7bc50f07f: Pulling fs layer [2020-12-16T06:29:35.754Z] 6db28d0fdbf6: Pulling fs layer [2020-12-16T06:29:35.754Z] 292df0bc6bf3: Pulling fs layer [2020-12-16T06:29:35.754Z] a3104fdc50d0: Pulling fs layer [2020-12-16T06:29:35.754Z] a8e67d69e12c: Pulling fs layer [2020-12-16T06:29:35.754Z] 1ede2b221ee4: Pulling fs layer [2020-12-16T06:29:35.754Z] fc74c0d5b799: Pulling fs layer [2020-12-16T06:29:35.754Z] a8e67d69e12c: Waiting [2020-12-16T06:29:35.754Z] 1ede2b221ee4: Waiting [2020-12-16T06:29:35.754Z] a3104fdc50d0: Waiting [2020-12-16T06:29:35.754Z] fc74c0d5b799: Waiting [2020-12-16T06:29:35.754Z] 05e7bc50f07f: Verifying Checksum [2020-12-16T06:29:35.754Z] 05e7bc50f07f: Download complete [2020-12-16T06:29:35.754Z] 292df0bc6bf3: Verifying Checksum [2020-12-16T06:29:35.754Z] 292df0bc6bf3: Download complete [2020-12-16T06:29:35.754Z] 6db28d0fdbf6: Verifying Checksum [2020-12-16T06:29:35.754Z] 6db28d0fdbf6: Download complete [2020-12-16T06:29:35.754Z] a8e67d69e12c: Verifying Checksum [2020-12-16T06:29:35.754Z] a8e67d69e12c: Download complete [2020-12-16T06:29:35.754Z] 1ede2b221ee4: Verifying Checksum [2020-12-16T06:29:35.754Z] 1ede2b221ee4: Download complete [2020-12-16T06:29:35.754Z] fc74c0d5b799: Verifying Checksum [2020-12-16T06:29:35.754Z] fc74c0d5b799: Download complete [2020-12-16T06:29:35.754Z] 05e7bc50f07f: Pull complete [2020-12-16T06:29:36.021Z] 6db28d0fdbf6: Pull complete [2020-12-16T06:29:36.291Z] 292df0bc6bf3: Pull complete [2020-12-16T06:29:39.613Z] a3104fdc50d0: Verifying Checksum [2020-12-16T06:29:39.613Z] a3104fdc50d0: Download complete [2020-12-16T06:29:42.201Z] a3104fdc50d0: Pull complete [2020-12-16T06:29:42.201Z] a8e67d69e12c: Pull complete [2020-12-16T06:29:42.464Z] 1ede2b221ee4: Pull complete [2020-12-16T06:29:42.464Z] fc74c0d5b799: Pull complete [2020-12-16T06:29:42.464Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-16T06:29:42.464Z] Status: Downloaded newer image for docker:latest [2020-12-16T06:29:44.398Z] ---> 1ed8c5fa7f9a [2020-12-16T06:29:44.398Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T06:29:44.398Z] ---> Running in 2b31c8ed75ff [2020-12-16T06:29:44.398Z] Removing intermediate container 2b31c8ed75ff [2020-12-16T06:29:44.398Z] ---> 2a66a8dff456 [2020-12-16T06:29:44.398Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-16T06:29:44.661Z] ---> Running in 7a04b8665528 [2020-12-16T06:29:45.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-16T06:29:45.818Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-16T06:29:46.395Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-16T06:29:46.395Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-16T06:29:46.395Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-16T06:29:46.395Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-16T06:29:46.662Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-16T06:29:46.662Z] Executing busybox-1.31.1-r19.trigger [2020-12-16T06:29:46.662Z] OK: 167 MiB in 44 packages [2020-12-16T06:29:47.241Z] Removing intermediate container 7a04b8665528 [2020-12-16T06:29:47.241Z] ---> 417f3bbd57a4 [2020-12-16T06:29:47.241Z] Step 6/8 : WORKDIR /build [2020-12-16T06:29:47.505Z] ---> Running in 27b293e0d57a [2020-12-16T06:29:47.505Z] Removing intermediate container 27b293e0d57a [2020-12-16T06:29:47.505Z] ---> 6a2218b6516f [2020-12-16T06:29:47.505Z] Step 7/8 : COPY go.mod . [2020-12-16T06:29:47.770Z] ---> 89090deb9505 [2020-12-16T06:29:47.770Z] Step 8/8 : RUN go mod download [2020-12-16T06:29:47.770Z] ---> Running in 35353efd6b87 [2020-12-16T06:29:49.336Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16274 in /w/workspace/ndry_app-functions-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-12-16T06:29:49.442Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-16T06:29:54.422Z] using credential edgex-jenkins-ssh [2020-12-16T06:29:54.484Z] Cloning the remote Git repository [2020-12-16T06:29:54.537Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:54.635Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-16T06:29:54.725Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:54.725Z] > git --version # timeout=10 [2020-12-16T06:29:54.737Z] > git --version # 'git version 2.17.1' [2020-12-16T06:29:54.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:54.800Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T06:29:58.382Z] Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 5ce53691988163011cc0b4edc30b5f2073632195 [2020-12-16T06:29:57.779Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-16T06:29:57.795Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T06:29:57.828Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-16T06:29:57.862Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-16T06:29:57.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:57.875Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T06:29:58.398Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T06:29:58.416Z] > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # timeout=10 [2020-12-16T06:29:58.529Z] > git remote # timeout=10 [2020-12-16T06:29:58.720Z] Merge succeeded, producing 5ce53691988163011cc0b4edc30b5f2073632195 [2020-12-16T06:29:58.720Z] Checking out Revision 5ce53691988163011cc0b4edc30b5f2073632195 (PR-605) [2020-12-16T06:29:58.546Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T06:29:58.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T06:29:58.578Z] > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 [2020-12-16T06:29:58.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T06:29:58.730Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T06:29:58.766Z] > git checkout -f 5ce53691988163011cc0b4edc30b5f2073632195 # timeout=10 [2020-12-16T06:30:03.233Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [2020-12-16T06:30:03.290Z] > git --version # timeout=10 [2020-12-16T06:30:03.301Z] > git --version # 'git version 2.17.1' [2020-12-16T06:30:03.311Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T06:30:05.426Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-16T06:30:05.946Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T06:30:06.310Z] + sudo+ true service [2020-12-16T06:30:06.310Z] docker restart [Pipeline] unstash [Pipeline] echo [2020-12-16T06:30:09.311Z] ========================================================= [2020-12-16T06:30:09.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-16T06:30:09.311Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:30:09.723Z] + 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-16T06:30:09.813Z] Removing intermediate container 35353efd6b87 [2020-12-16T06:30:09.813Z] ---> 273c449b86f4 [2020-12-16T06:30:09.813Z] Successfully built 273c449b86f4 [2020-12-16T06:30:09.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:30:10.165Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T06:30:10.165Z] . [Pipeline] withDockerContainer [2020-12-16T06:30:10.325Z] prd-centos7-docker-4c-2g-16275 does not seem to be running inside a container [2020-12-16T06:30:10.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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-16T06:30:10.719Z] Sending build context to Docker daemon 19.15MB [2020-12-16T06:30:10.719Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-16T06:30:10.719Z] Step 2/8 : FROM ${BASE} [2020-12-16T06:30:11.194Z] $ docker top 8bac38169ed5f4415dbeae28d1ee2f0c23f8e92701c7e6184d2880c6eff0efe8 -eo pid,comm [2020-12-16T06:30:11.316Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-16T06:30:11.316Z] 5f621e34cdf4: Pulling fs layer [2020-12-16T06:30:11.316Z] a4357932f1b6: Pulling fs layer [2020-12-16T06:30:11.316Z] 18c013af1878: Pulling fs layer [2020-12-16T06:30:11.316Z] 00ac8860ef70: Pulling fs layer [2020-12-16T06:30:11.316Z] 63d7cb157983: Pulling fs layer [2020-12-16T06:30:11.316Z] b116817d02f9: Pulling fs layer [2020-12-16T06:30:11.316Z] 745a02a5169b: Pulling fs layer [2020-12-16T06:30:11.316Z] 63d7cb157983: Waiting [2020-12-16T06:30:11.316Z] b116817d02f9: Waiting [2020-12-16T06:30:11.316Z] 745a02a5169b: Waiting [2020-12-16T06:30:11.316Z] 00ac8860ef70: Waiting [2020-12-16T06:30:11.316Z] 18c013af1878: Verifying Checksum [2020-12-16T06:30:11.316Z] 18c013af1878: Download complete [2020-12-16T06:30:11.316Z] a4357932f1b6: Verifying Checksum [2020-12-16T06:30:11.316Z] a4357932f1b6: Download complete [2020-12-16T06:30:11.316Z] 63d7cb157983: Download complete [2020-12-16T06:30:11.316Z] b116817d02f9: Verifying Checksum [2020-12-16T06:30:11.316Z] b116817d02f9: Download complete [2020-12-16T06:30:11.316Z] 5f621e34cdf4: Verifying Checksum [2020-12-16T06:30:11.316Z] 5f621e34cdf4: Download complete [Pipeline] { [Pipeline] sh [2020-12-16T06:30:11.783Z] + go version [2020-12-16T06:30:11.783Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-16T06:30:11.816Z] $ docker stop --time=1 8bac38169ed5f4415dbeae28d1ee2f0c23f8e92701c7e6184d2880c6eff0efe8 [2020-12-16T06:30:11.921Z] 5f621e34cdf4: Pull complete [2020-12-16T06:30:12.524Z] a4357932f1b6: Pull complete [2020-12-16T06:30:13.128Z] 18c013af1878: Pull complete [2020-12-16T06:30:13.128Z] 745a02a5169b: Verifying Checksum [2020-12-16T06:30:13.128Z] 745a02a5169b: Download complete [2020-12-16T06:30:13.192Z] $ docker rm -f 8bac38169ed5f4415dbeae28d1ee2f0c23f8e92701c7e6184d2880c6eff0efe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:30:14.308Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T06:30:14.308Z] . [Pipeline] withDockerContainer [2020-12-16T06:30:14.430Z] prd-centos7-docker-4c-2g-16275 does not seem to be running inside a container [2020-12-16T06:30:14.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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-16T06:30:14.578Z] 00ac8860ef70: Verifying Checksum [2020-12-16T06:30:14.578Z] 00ac8860ef70: Download complete [2020-12-16T06:30:15.053Z] $ docker top 2a33b83e37b0fe51e84ea9c1255b64c6e2199a38e5e0618f62a1b99ed27039c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T06:30:15.595Z] + make test [2020-12-16T06:30:15.596Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-16T06:30:17.561Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-16T06:30:20.972Z] # github.com/edgexfoundry/go-mod-bootstrap/config [2020-12-16T06:30:20.972Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/config/types.go:111:26: undefined: vault.AuthenticationInfo [2020-12-16T06:30:23.611Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-16T06:30:27.038Z] 00ac8860ef70: Pull complete [2020-12-16T06:30:27.039Z] 63d7cb157983: Pull complete [2020-12-16T06:30:27.039Z] b116817d02f9: Pull complete [2020-12-16T06:30:28.994Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-16T06:30:28.995Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-16T06:30:28.995Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-16T06:30:28.995Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-16T06:30:28.995Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-12-16T06:30:29.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-12-16T06:30:29.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements [2020-12-16T06:30:29.586Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [build failed] [2020-12-16T06:30:29.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.010s coverage: 100.0% of statements [2020-12-16T06:30:29.672Z] 745a02a5169b: Pull complete [2020-12-16T06:30:29.672Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-16T06:30:29.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-16T06:30:29.672Z] ---> b7e6874047d6 [2020-12-16T06:30:29.672Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-16T06:30:29.672Z] latest: Pulling from library/docker [2020-12-16T06:30:29.672Z] a3cc7d3b244e: Pulling fs layer [2020-12-16T06:30:29.672Z] 02a3295e0d61: Pulling fs layer [2020-12-16T06:30:29.672Z] 0f4f2e6d8100: Pulling fs layer [2020-12-16T06:30:29.672Z] 065c9533d613: Pulling fs layer [2020-12-16T06:30:29.672Z] 9fce0df16b8b: Pulling fs layer [2020-12-16T06:30:29.672Z] e3faa53604c1: Pulling fs layer [2020-12-16T06:30:29.672Z] 04b5adaa2053: Pulling fs layer [2020-12-16T06:30:29.672Z] 9fce0df16b8b: Waiting [2020-12-16T06:30:29.672Z] e3faa53604c1: Waiting [2020-12-16T06:30:29.672Z] 04b5adaa2053: Waiting [2020-12-16T06:30:29.672Z] 065c9533d613: Waiting [2020-12-16T06:30:29.672Z] a3cc7d3b244e: Verifying Checksum [2020-12-16T06:30:29.672Z] a3cc7d3b244e: Download complete [2020-12-16T06:30:29.856Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.018s coverage: 100.0% of statements [2020-12-16T06:30:29.856Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-12-16T06:30:29.856Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-16T06:30:29.856Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-16T06:30:29.856Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-16T06:30:29.948Z] 0f4f2e6d8100: Verifying Checksum [2020-12-16T06:30:29.948Z] 0f4f2e6d8100: Download complete [2020-12-16T06:30:30.119Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-12-16T06:30:30.119Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-16T06:30:30.119Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-16T06:30:30.119Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-16T06:30:30.119Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-16T06:30:30.233Z] 02a3295e0d61: Verifying Checksum [2020-12-16T06:30:30.233Z] 02a3295e0d61: Download complete [2020-12-16T06:30:30.233Z] 9fce0df16b8b: Verifying Checksum [2020-12-16T06:30:30.233Z] 9fce0df16b8b: Download complete [2020-12-16T06:30:30.384Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-16T06:30:30.441Z] $ docker stop --time=1 2a33b83e37b0fe51e84ea9c1255b64c6e2199a38e5e0618f62a1b99ed27039c7 [2020-12-16T06:30:30.508Z] a3cc7d3b244e: Pull complete [2020-12-16T06:30:30.508Z] 04b5adaa2053: Verifying Checksum [2020-12-16T06:30:30.508Z] 04b5adaa2053: Download complete [2020-12-16T06:30:30.795Z] e3faa53604c1: Downloading [2020-12-16T06:30:30.795Z] 065c9533d613: Downloading [2020-12-16T06:30:30.795Z] 065c9533d613: Retrying in 5 seconds [2020-12-16T06:30:30.795Z] e3faa53604c1: Retrying in 5 seconds [2020-12-16T06:30:31.070Z] 02a3295e0d61: Pull complete [2020-12-16T06:30:31.665Z] 0f4f2e6d8100: Pull complete [2020-12-16T06:30:31.665Z] e3faa53604c1: Retrying in 4 seconds [2020-12-16T06:30:31.665Z] 065c9533d613: Retrying in 4 seconds [2020-12-16T06:30:32.640Z] 065c9533d613: Retrying in 3 seconds [2020-12-16T06:30:32.640Z] e3faa53604c1: Retrying in 3 seconds [2020-12-16T06:30:32.912Z] $ docker rm -f 2a33b83e37b0fe51e84ea9c1255b64c6e2199a38e5e0618f62a1b99ed27039c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-16T06:30:33.626Z] 065c9533d613: Retrying in 2 seconds [2020-12-16T06:30:33.626Z] e3faa53604c1: Retrying in 2 seconds [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 [2020-12-16T06:30:34.611Z] 065c9533d613: Retrying in 1 second [2020-12-16T06:30:34.611Z] e3faa53604c1: Retrying in 1 second [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-16T06:30:35.615Z] Failed in branch amd64 [2020-12-16T06:30:36.041Z] e3faa53604c1: Verifying Checksum [2020-12-16T06:30:36.041Z] e3faa53604c1: Download complete [2020-12-16T06:30:38.052Z] 065c9533d613: Verifying Checksum [2020-12-16T06:30:38.052Z] 065c9533d613: Download complete [2020-12-16T06:30:41.477Z] 065c9533d613: Pull complete [2020-12-16T06:30:42.079Z] 9fce0df16b8b: Pull complete [2020-12-16T06:30:42.079Z] e3faa53604c1: Pull complete [2020-12-16T06:30:42.683Z] 04b5adaa2053: Pull complete [2020-12-16T06:30:42.683Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-16T06:30:42.683Z] Status: Downloaded newer image for docker:latest [2020-12-16T06:30:49.426Z] ---> 0937bfa08919 [2020-12-16T06:30:49.426Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T06:30:49.426Z] ---> Running in c0ed4b21c6e0 [2020-12-16T06:30:49.426Z] Removing intermediate container c0ed4b21c6e0 [2020-12-16T06:30:49.426Z] ---> 5a052ff3a139 [2020-12-16T06:30:49.426Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-16T06:30:49.426Z] ---> Running in 2e435ec451e7 [2020-12-16T06:30:50.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-16T06:30:51.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-16T06:30:51.659Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-16T06:30:51.928Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-16T06:30:51.928Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-16T06:30:51.928Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-16T06:30:52.201Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-16T06:30:52.201Z] Executing busybox-1.31.1-r19.trigger [2020-12-16T06:30:52.201Z] OK: 144 MiB in 44 packages [2020-12-16T06:30:53.636Z] Removing intermediate container 2e435ec451e7 [2020-12-16T06:30:53.636Z] ---> 5c2c38a67666 [2020-12-16T06:30:53.636Z] Step 6/8 : WORKDIR /build [2020-12-16T06:30:53.636Z] ---> Running in b54041d22855 [2020-12-16T06:30:54.232Z] Removing intermediate container b54041d22855 [2020-12-16T06:30:54.232Z] ---> 509dc833a061 [2020-12-16T06:30:54.232Z] Step 7/8 : COPY go.mod . [2020-12-16T06:30:54.837Z] ---> c907dde4b0f7 [2020-12-16T06:30:54.837Z] Step 8/8 : RUN go mod download [2020-12-16T06:30:54.837Z] ---> Running in 3c59442967c4 [2020-12-16T06:31:21.643Z] Removing intermediate container 3c59442967c4 [2020-12-16T06:31:21.643Z] ---> 12e95eaeb8a7 [2020-12-16T06:31:21.643Z] Successfully built 12e95eaeb8a7 [2020-12-16T06:31:21.643Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:31:22.038Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T06:31:22.038Z] . [Pipeline] withDockerContainer [2020-12-16T06:31:22.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-16274 does not seem to be running inside a container [2020-12-16T06:31:22.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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-16T06:31:23.891Z] $ docker top 55b5b3a3145148e6451b1ff646490b0455c852686f54e05b67050a9abaa8c55e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T06:31:24.970Z] + go version [2020-12-16T06:31:24.970Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-16T06:31:24.991Z] $ docker stop --time=1 55b5b3a3145148e6451b1ff646490b0455c852686f54e05b67050a9abaa8c55e [2020-12-16T06:31:26.916Z] $ docker rm -f 55b5b3a3145148e6451b1ff646490b0455c852686f54e05b67050a9abaa8c55e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:31:28.166Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T06:31:28.167Z] . [Pipeline] withDockerContainer [2020-12-16T06:31:28.455Z] prd-ubuntu18.04-docker-arm64-4c-16g-16274 does not seem to be running inside a container [2020-12-16T06:31:28.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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-16T06:31:29.924Z] $ docker top 10d0c9d313d54d89f20dacd7cf442d2645b981f7b8300b5a217f724192de0708 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T06:31:31.104Z] + make test [2020-12-16T06:31:31.104Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-16T06:31:33.090Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-16T06:31:45.548Z] # github.com/edgexfoundry/go-mod-bootstrap/config [2020-12-16T06:31:45.548Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/config/types.go:111:26: undefined: vault.AuthenticationInfo [2020-12-16T06:31:52.270Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-16T06:32:07.401Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-16T06:32:07.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-16T06:32:07.401Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-16T06:32:07.401Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-16T06:32:07.401Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-12-16T06:32:08.005Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.014s coverage: 89.5% of statements [2020-12-16T06:32:08.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.042s coverage: 100.0% of statements [2020-12-16T06:32:08.605Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [build failed] [2020-12-16T06:32:08.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.046s coverage: 100.0% of statements [2020-12-16T06:32:09.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.028s coverage: 100.0% of statements [2020-12-16T06:32:09.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.015s coverage: 97.7% of statements [2020-12-16T06:32:09.202Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-16T06:32:09.202Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-16T06:32:09.202Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-16T06:32:10.190Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.028s coverage: 88.9% of statements [2020-12-16T06:32:10.190Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-16T06:32:10.190Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-16T06:32:10.190Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-16T06:32:10.464Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-12-16T06:32:11.058Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-16T06:32:11.089Z] $ docker stop --time=1 10d0c9d313d54d89f20dacd7cf442d2645b981f7b8300b5a217f724192de0708 [2020-12-16T06:32:13.343Z] $ docker rm -f 10d0c9d313d54d89f20dacd7cf442d2645b981f7b8300b5a217f724192de0708 [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-16T06:32:15.802Z] 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-16T06:32:19.964Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:20.585Z] ---> package-listing.sh [2020-12-16T06:32:20.585Z] ++ facter osfamily [2020-12-16T06:32:20.585Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-16T06:32:20.585Z] + OS_FAMILY=redhat [2020-12-16T06:32:20.585Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-605 [2020-12-16T06:32:20.585Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-16T06:32:20.585Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-16T06:32:20.585Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-16T06:32:20.585Z] + PACKAGES=/tmp/packages_start.txt [2020-12-16T06:32:20.585Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-605 ']' [2020-12-16T06:32:20.585Z] + PACKAGES=/tmp/packages_end.txt [2020-12-16T06:32:20.585Z] + case "${OS_FAMILY}" in [2020-12-16T06:32:20.585Z] + rpm -qa [2020-12-16T06:32:20.585Z] + sort [2020-12-16T06:32:25.898Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-16T06:32:25.898Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-16T06:32:25.898Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-16T06:32:25.898Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-605 ']' [2020-12-16T06:32:25.898Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-605/archives/ [2020-12-16T06:32:25.898Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-605/archives/ [Pipeline] echo [2020-12-16T06:32:25.935Z] 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/ndry_app-functions-sdk-go_PR-605/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-16T06:32:26.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:32:26.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T06:32:26.615Z] [2020-12-16T06:32:26.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-16T06:32:27.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T06:32:27.025Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-16T06:32:27.025Z] df20fa9351a1: Pulling fs layer [2020-12-16T06:32:27.025Z] 36b3adc4ff6f: Pulling fs layer [2020-12-16T06:32:27.025Z] 8ad3a11d3b57: Pulling fs layer [2020-12-16T06:32:27.025Z] 46f8f816bc3b: Pulling fs layer [2020-12-16T06:32:27.025Z] 93b61091891f: Pulling fs layer [2020-12-16T06:32:27.025Z] 93b9cdb0e59b: Pulling fs layer [2020-12-16T06:32:27.025Z] 5e14af77c1be: Pulling fs layer [2020-12-16T06:32:27.025Z] 01666e4c0597: Pulling fs layer [2020-12-16T06:32:27.026Z] aa168da1d23b: Pulling fs layer [2020-12-16T06:32:27.026Z] 93b61091891f: Waiting [2020-12-16T06:32:27.026Z] 93b9cdb0e59b: Waiting [2020-12-16T06:32:27.026Z] 5e14af77c1be: Waiting [2020-12-16T06:32:27.026Z] 01666e4c0597: Waiting [2020-12-16T06:32:27.026Z] aa168da1d23b: Waiting [2020-12-16T06:32:27.026Z] 46f8f816bc3b: Waiting [2020-12-16T06:32:27.026Z] 36b3adc4ff6f: Verifying Checksum [2020-12-16T06:32:27.026Z] 36b3adc4ff6f: Download complete [2020-12-16T06:32:27.026Z] 46f8f816bc3b: Download complete [2020-12-16T06:32:27.026Z] df20fa9351a1: Download complete [2020-12-16T06:32:27.026Z] 93b9cdb0e59b: Download complete [2020-12-16T06:32:27.026Z] 93b61091891f: Download complete [2020-12-16T06:32:27.026Z] 5e14af77c1be: Verifying Checksum [2020-12-16T06:32:27.026Z] 5e14af77c1be: Download complete [2020-12-16T06:32:27.026Z] 01666e4c0597: Verifying Checksum [2020-12-16T06:32:27.026Z] 01666e4c0597: Download complete [2020-12-16T06:32:27.292Z] 8ad3a11d3b57: Verifying Checksum [2020-12-16T06:32:27.292Z] 8ad3a11d3b57: Download complete [2020-12-16T06:32:27.556Z] df20fa9351a1: Pull complete [2020-12-16T06:32:27.823Z] 36b3adc4ff6f: Pull complete [2020-12-16T06:32:28.787Z] 8ad3a11d3b57: Pull complete [2020-12-16T06:32:29.052Z] 46f8f816bc3b: Pull complete [2020-12-16T06:32:29.315Z] aa168da1d23b: Verifying Checksum [2020-12-16T06:32:29.315Z] aa168da1d23b: Download complete [2020-12-16T06:32:29.582Z] 93b61091891f: Pull complete [2020-12-16T06:32:29.845Z] 93b9cdb0e59b: Pull complete [2020-12-16T06:32:29.845Z] 5e14af77c1be: Pull complete [2020-12-16T06:32:30.127Z] 01666e4c0597: Pull complete [2020-12-16T06:32:38.331Z] aa168da1d23b: Pull complete [2020-12-16T06:32:38.332Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-16T06:32:38.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T06:32:38.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-16T06:32:38.559Z] prd-centos7-docker-4c-2g-16272 does not seem to be running inside a container [2020-12-16T06:32:38.612Z] $ 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/ndry_app-functions-sdk-go_PR-605/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-605 -v /w/workspace/ndry_app-functions-sdk-go_PR-605:/w/workspace/ndry_app-functions-sdk-go_PR-605:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-605@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-605@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-16T06:32:41.877Z] $ docker top 8b9d896a0027f60fcd60f78c88aac49bb3092ce6765c44d9546a5a02b7e2fc6e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T06:32:42.564Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-16T06:32:42.888Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-16T06:32:43.213Z] + ls /var/log/sa-host [2020-12-16T06:32:43.213Z] + sadf -c /var/log/sa-host/sa16 [2020-12-16T06:32:43.213Z] file_magic: OK [2020-12-16T06:32:43.213Z] HZ: Using current value: 100 [2020-12-16T06:32:43.213Z] file_header: OK [2020-12-16T06:32:43.213Z] 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-16T06:32:43.213Z] Statistics: [2020-12-16T06:32:43.213Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-16T06:32:43.213Z] File successfully converted to sysstat format version 12.2.1 [2020-12-16T06:32:43.213Z] + sadf -c /var/log/sa-host/sa23 [2020-12-16T06:32:43.213Z] file_magic: OK [2020-12-16T06:32:43.213Z] HZ: Using current value: 100 [2020-12-16T06:32:43.213Z] file_header: OK [2020-12-16T06:32:43.213Z] 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-16T06:32:43.213Z] Statistics: [2020-12-16T06:32:43.213Z] Hnuu...uuuununununu... [2020-12-16T06:32:43.214Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-16T06:32:43.482Z] provisioning config files... [2020-12-16T06:32:43.502Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-605@tmp/config7521308542532087714tmp [Pipeline] { [Pipeline] echo [2020-12-16T06:32:43.618Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:43.952Z] ---> create-netrc.sh [Pipeline] } [2020-12-16T06:32:43.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-16T06:32:44.118Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:44.454Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-16T06:32:44.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:44.820Z] ---> sudo-logs.sh [2020-12-16T06:32:44.820Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-16T06:32:44.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:45.205Z] ---> job-cost.sh [2020-12-16T06:32:45.205Z] lf-activate-venv: SKIPPING [2020-12-16T06:32:45.205Z] INFO: No Stack... [2020-12-16T06:32:46.597Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-16T06:32:47.174Z] INFO: Archiving Costs [Pipeline] echo [2020-12-16T06:32:47.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T06:32:47.567Z] ---> logs-deploy.sh [2020-12-16T06:32:47.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-605/1 [2020-12-16T06:32:47.567Z] INFO: archiving workspace using pattern(s): [2020-12-16T06:32:49.497Z] Archives upload complete. [2020-12-16T06:32:49.497Z] INFO: archiving logs to Nexus