Pull request #611 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eab45c4a325c48ad03ba987499e276f74f5806cc+6d0fca7ca15f421386e8388e0dbfef05184fe59b (c5a1d281b75124f9b9744fb062580ce92180acc4) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-611/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-611/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-17046 in /w/workspace/ndry_app-functions-sdk-go_PR-611 [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-611 # 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/611/head:refs/remotes/origin/PR-611 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d0fca7ca15f421386e8388e0dbfef05184fe59b into PR head commit eab45c4a325c48ad03ba987499e276f74f5806cc Merge succeeded, producing eab45c4a325c48ad03ba987499e276f74f5806cc Checking out Revision eab45c4a325c48ad03ba987499e276f74f5806cc (PR-611) > git config core.sparsecheckout # timeout=10 > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # 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 6d0fca7ca15f421386e8388e0dbfef05184fe59b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T07:26:59.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T07:27:00.316Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T07:27:00.529Z] ========================================================= [2020-12-21T07:27:00.529Z] EdgeX Global Pipelines Version Info [2020-12-21T07:27:00.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:27:02.943Z] ------------------- [2020-12-21T07:27:02.943Z] stable info: [2020-12-21T07:27:02.943Z] ------------------- [2020-12-21T07:27:02.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T07:27:02.943Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:27:02.943Z] Message: update stable to v1.0.173 [2020-12-21T07:27:04.418Z] ------------------- [2020-12-21T07:27:04.418Z] experimental info: [2020-12-21T07:27:04.418Z] ------------------- [2020-12-21T07:27:04.418Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T07:27:04.418Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:27:04.418Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T07:27:04.888Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-21T07:27:05.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-21T07:27:05.123Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T07:27:05.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T07:27:05.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T07:27:05.496Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T07:27:05.618Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T07:27:05.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T07:27:05.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-21T07:27:06.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T07:27:06.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T07:27:06.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-21T07:27:06.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T07:27:06.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T07:27:06.694Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:27:06.856Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:27:06.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:27:07.116Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:27:07.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T07:27:07.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T07:27:07.466Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T07:27:07.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-21T07:27:07.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T07:27:07.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T07:27:07.987Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-21T07:27:08.138Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T07:27:08.263Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T07:27:08.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-611 [Pipeline] echo [2020-12-21T07:27:08.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-611 [Pipeline] echo [2020-12-21T07:27:08.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-611 [Pipeline] echo [2020-12-21T07:27:08.874Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eab45c4a325c48ad03ba987499e276f74f5806cc [Pipeline] echo [2020-12-21T07:27:09.002Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eab45c4 [Pipeline] echo [2020-12-21T07:27:09.128Z] [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-21T07:27:10.111Z] + git log --format=format:%s -1 eab45c4a325c48ad03ba987499e276f74f5806cc [Pipeline] echo [2020-12-21T07:27:10.280Z] GIT_COMMIT: eab45c4a325c48ad03ba987499e276f74f5806cc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-12-21T07:27:10.354Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:27:11.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:27:11.609Z] [2020-12-21T07:27:11.609Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:27:12.152Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:27:12.152Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T07:27:12.152Z] 31603596830f: Pulling fs layer [2020-12-21T07:27:12.152Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T07:27:12.152Z] 6ca5941a6612: Pulling fs layer [2020-12-21T07:27:12.152Z] ecc8261a40a4: Pulling fs layer [2020-12-21T07:27:12.152Z] ecc8261a40a4: Waiting [2020-12-21T07:27:12.447Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T07:27:12.447Z] 2a8b12db71e7: Download complete [2020-12-21T07:27:12.757Z] 31603596830f: Verifying Checksum [2020-12-21T07:27:12.757Z] 31603596830f: Download complete [2020-12-21T07:27:12.757Z] ecc8261a40a4: Verifying Checksum [2020-12-21T07:27:12.757Z] ecc8261a40a4: Download complete [2020-12-21T07:27:13.037Z] 6ca5941a6612: Verifying Checksum [2020-12-21T07:27:13.037Z] 6ca5941a6612: Download complete [2020-12-21T07:27:13.305Z] 31603596830f: Pull complete [2020-12-21T07:27:13.580Z] 2a8b12db71e7: Pull complete [2020-12-21T07:27:15.017Z] 6ca5941a6612: Pull complete [2020-12-21T07:27:15.285Z] ecc8261a40a4: Pull complete [2020-12-21T07:27:15.285Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T07:27:15.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:27:15.285Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T07:27:15.529Z] prd-centos7-docker-4c-2g-17046 does not seem to be running inside a container [2020-12-21T07:27:15.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-611 -v /w/workspace/ndry_app-functions-sdk-go_PR-611:/w/workspace/ndry_app-functions-sdk-go_PR-611:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-611@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-611@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:10004/edgex-devops/git-semver:latest cat [2020-12-21T07:27:18.545Z] $ docker top 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T07:27:18.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:27:18.999Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:27:19.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:27:19.408Z] $ docker exec 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef ssh-agent [2020-12-21T07:27:19.652Z] SSH_AUTH_SOCK=/tmp/ssh-VW7535QgBLc1/agent.11 [2020-12-21T07:27:19.652Z] SSH_AGENT_PID=16 [2020-12-21T07:27:19.683Z] Running ssh-add (command line suppressed) [2020-12-21T07:27:19.860Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-611@tmp/private_key_218805791508044111.key (/w/workspace/ndry_app-functions-sdk-go_PR-611@tmp/private_key_218805791508044111.key) [2020-12-21T07:27:19.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:27:20.346Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T07:27:20.400Z] $ docker exec --env ******** --env ******** 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef ssh-agent -k [2020-12-21T07:27:20.702Z] unset SSH_AUTH_SOCK; [2020-12-21T07:27:20.703Z] unset SSH_AGENT_PID; [2020-12-21T07:27:20.703Z] echo Agent pid 16 killed; [2020-12-21T07:27:20.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T07:27:20.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:27:20.975Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:27:21.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:27:21.330Z] $ docker exec 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef ssh-agent [2020-12-21T07:27:21.613Z] SSH_AUTH_SOCK=/tmp/ssh-wozAnDkWSCh7/agent.44 [2020-12-21T07:27:21.613Z] SSH_AGENT_PID=49 [2020-12-21T07:27:21.629Z] Running ssh-add (command line suppressed) [2020-12-21T07:27:21.874Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-611@tmp/private_key_5261483810826198890.key (/w/workspace/ndry_app-functions-sdk-go_PR-611@tmp/private_key_5261483810826198890.key) [2020-12-21T07:27:21.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:27:22.362Z] + git semver init [2020-12-21T07:27:22.362Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T07:27:22.362Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-611/.git [2020-12-21T07:27:22.362Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-611 [2020-12-21T07:27:22.362Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T07:27:22.362Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T07:27:22.362Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T07:27:22.362Z] # $SEMVER_BRANCH = PR-611 [2020-12-21T07:27:22.362Z] # $SEMVER_TEMP = /tmp/semver-689037985 [2020-12-21T07:27:22.362Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-21T07:27:30.694Z] # '/tmp/semver-689037985' -> '/w/workspace/ndry_app-functions-sdk-go_PR-611/.semver' [2020-12-21T07:27:30.694Z] # -> Force: false [2020-12-21T07:27:30.694Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-611/.semver [Pipeline] } [2020-12-21T07:27:30.734Z] $ docker exec --env ******** --env ******** 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef ssh-agent -k [2020-12-21T07:27:31.426Z] unset SSH_AUTH_SOCK; [2020-12-21T07:27:31.428Z] unset SSH_AGENT_PID; [2020-12-21T07:27:31.428Z] echo Agent pid 49 killed; [2020-12-21T07:27:31.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T07:27:32.318Z] + git semver [Pipeline] } [2020-12-21T07:27:32.374Z] $ docker stop --time=1 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef [2020-12-21T07:27:34.162Z] $ docker rm -f 29787ece1326cffde8a58384055a06b053b3739bd2125dc3155c6693b9d7fdef [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T07:27:34.876Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T07:27:35.751Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T07:27:35.774Z] [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-21T07:27:51.598Z] Still waiting to schedule task [2020-12-21T07:27:51.598Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17043’ is offline; ‘prd-centos7-docker-4c-2g-17047’ is offline [2020-12-21T07:27:51.624Z] Still waiting to schedule task [2020-12-21T07:27:51.624Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T07:29:43.425Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17048 in /w/workspace/ndry_app-functions-sdk-go_PR-611 [Pipeline] { [Pipeline] ws [2020-12-21T07:29:43.562Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T07:29:48.972Z] using credential edgex-jenkins-ssh [2020-12-21T07:29:49.068Z] Cloning the remote Git repository [2020-12-21T07:29:49.132Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:29:49.254Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-21T07:29:49.324Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:29:49.325Z] > git --version # timeout=10 [2020-12-21T07:29:49.348Z] > git --version # 'git version 2.17.1' [2020-12-21T07:29:49.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:29:49.423Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:29:52.304Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T07:29:52.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:29:52.355Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T07:29:52.386Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:29:52.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:29:52.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T07:29:52.988Z] Merging remotes/origin/master commit 6d0fca7ca15f421386e8388e0dbfef05184fe59b into PR head commit eab45c4a325c48ad03ba987499e276f74f5806cc [2020-12-21T07:29:53.212Z] Merge succeeded, producing eab45c4a325c48ad03ba987499e276f74f5806cc [2020-12-21T07:29:53.212Z] Checking out Revision eab45c4a325c48ad03ba987499e276f74f5806cc (PR-611) [2020-12-21T07:29:53.013Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:29:53.032Z] > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # timeout=10 [2020-12-21T07:29:53.146Z] > git remote # timeout=10 [2020-12-21T07:29:53.165Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T07:29:53.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:29:53.187Z] > git merge 6d0fca7ca15f421386e8388e0dbfef05184fe59b # timeout=10 [2020-12-21T07:29:53.208Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T07:29:53.227Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:29:53.241Z] > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # timeout=10 [2020-12-21T07:29:57.495Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-21T07:29:57.558Z] > git --version # timeout=10 [2020-12-21T07:29:57.572Z] > git --version # 'git version 2.17.1' [2020-12-21T07:29:57.585Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T07:29:59.581Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:30:00.016Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:30:00.387Z] + + sudotrue service [2020-12-21T07:30:00.387Z] docker restart [Pipeline] unstash [Pipeline] echo [2020-12-21T07:30:03.356Z] ========================================================= [2020-12-21T07:30:03.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T07:30:03.357Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:30:03.800Z] + 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-21T07:30:04.788Z] Sending build context to Docker daemon 19.16MB [2020-12-21T07:30:04.788Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T07:30:04.788Z] Step 2/8 : FROM ${BASE} [2020-12-21T07:30:05.387Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T07:30:05.387Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T07:30:05.387Z] a4357932f1b6: Pulling fs layer [2020-12-21T07:30:05.387Z] 18c013af1878: Pulling fs layer [2020-12-21T07:30:05.387Z] 00ac8860ef70: Pulling fs layer [2020-12-21T07:30:05.387Z] 63d7cb157983: Pulling fs layer [2020-12-21T07:30:05.387Z] b116817d02f9: Pulling fs layer [2020-12-21T07:30:05.387Z] 745a02a5169b: Pulling fs layer [2020-12-21T07:30:05.387Z] 63d7cb157983: Waiting [2020-12-21T07:30:05.387Z] b116817d02f9: Waiting [2020-12-21T07:30:05.387Z] 745a02a5169b: Waiting [2020-12-21T07:30:05.387Z] 00ac8860ef70: Waiting [2020-12-21T07:30:05.387Z] 18c013af1878: Verifying Checksum [2020-12-21T07:30:05.387Z] 18c013af1878: Download complete [2020-12-21T07:30:05.387Z] a4357932f1b6: Verifying Checksum [2020-12-21T07:30:05.387Z] a4357932f1b6: Download complete [2020-12-21T07:30:05.387Z] 63d7cb157983: Verifying Checksum [2020-12-21T07:30:05.387Z] 63d7cb157983: Download complete [2020-12-21T07:30:05.387Z] b116817d02f9: Verifying Checksum [2020-12-21T07:30:05.387Z] b116817d02f9: Download complete [2020-12-21T07:30:05.387Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T07:30:05.387Z] 5f621e34cdf4: Download complete [2020-12-21T07:30:06.388Z] 5f621e34cdf4: Pull complete [2020-12-21T07:30:06.665Z] a4357932f1b6: Pull complete [2020-12-21T07:30:07.271Z] 18c013af1878: Pull complete [2020-12-21T07:30:07.271Z] 745a02a5169b: Verifying Checksum [2020-12-21T07:30:07.271Z] 745a02a5169b: Download complete [2020-12-21T07:30:08.726Z] 00ac8860ef70: Verifying Checksum [2020-12-21T07:30:08.726Z] 00ac8860ef70: Download complete [2020-12-21T07:30:18.955Z] 00ac8860ef70: Pull complete [2020-12-21T07:30:18.955Z] 63d7cb157983: Pull complete [2020-12-21T07:30:19.562Z] b116817d02f9: Pull complete [2020-12-21T07:30:22.971Z] 745a02a5169b: Pull complete [2020-12-21T07:30:22.971Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T07:30:22.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T07:30:22.971Z] ---> b7e6874047d6 [2020-12-21T07:30:22.971Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T07:30:23.244Z] 20.10.0: Pulling from library/docker [2020-12-21T07:30:23.516Z] a3cc7d3b244e: Pulling fs layer [2020-12-21T07:30:23.516Z] 02a3295e0d61: Pulling fs layer [2020-12-21T07:30:23.516Z] 0f4f2e6d8100: Pulling fs layer [2020-12-21T07:30:23.516Z] 330b718f631f: Pulling fs layer [2020-12-21T07:30:23.516Z] a93816041522: Pulling fs layer [2020-12-21T07:30:23.516Z] bdb6da89ff94: Pulling fs layer [2020-12-21T07:30:23.516Z] 2a70c0c122f4: Pulling fs layer [2020-12-21T07:30:23.516Z] a93816041522: Waiting [2020-12-21T07:30:23.516Z] bdb6da89ff94: Waiting [2020-12-21T07:30:23.516Z] 2a70c0c122f4: Waiting [2020-12-21T07:30:23.788Z] 0f4f2e6d8100: Download complete [2020-12-21T07:30:23.788Z] 02a3295e0d61: Download complete [2020-12-21T07:30:24.061Z] a3cc7d3b244e: Download complete [2020-12-21T07:30:24.061Z] a93816041522: Verifying Checksum [2020-12-21T07:30:24.061Z] a93816041522: Download complete [2020-12-21T07:30:24.061Z] bdb6da89ff94: Download complete [2020-12-21T07:30:24.335Z] 2a70c0c122f4: Verifying Checksum [2020-12-21T07:30:24.335Z] 2a70c0c122f4: Download complete [2020-12-21T07:30:24.612Z] a3cc7d3b244e: Pull complete [2020-12-21T07:30:25.209Z] 02a3295e0d61: Pull complete [2020-12-21T07:30:25.484Z] 0f4f2e6d8100: Pull complete [2020-12-21T07:30:28.899Z] 330b718f631f: Verifying Checksum [2020-12-21T07:30:28.899Z] 330b718f631f: Download complete [2020-12-21T07:30:32.320Z] 330b718f631f: Pull complete [2020-12-21T07:30:32.594Z] a93816041522: Pull complete [2020-12-21T07:30:32.868Z] bdb6da89ff94: Pull complete [2020-12-21T07:30:33.471Z] 2a70c0c122f4: Pull complete [2020-12-21T07:30:33.471Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-21T07:30:33.471Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-21T07:30:40.202Z] ---> 812951d6218a [2020-12-21T07:30:40.202Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-21T07:30:40.202Z] ---> Running in 35d154299f78 [2020-12-21T07:30:40.202Z] Removing intermediate container 35d154299f78 [2020-12-21T07:30:40.202Z] ---> a1ade687348a [2020-12-21T07:30:40.202Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-21T07:30:40.202Z] ---> Running in eac9978801e4 [2020-12-21T07:30:41.182Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T07:30:41.776Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T07:30:42.770Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-21T07:30:42.770Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-21T07:30:42.770Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-21T07:30:42.770Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-21T07:30:43.125Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-21T07:30:43.125Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T07:30:43.125Z] OK: 144 MiB in 44 packages [2020-12-21T07:30:44.583Z] Removing intermediate container eac9978801e4 [2020-12-21T07:30:44.583Z] ---> 9a1a5fd1b525 [2020-12-21T07:30:44.583Z] Step 6/8 : WORKDIR /build [2020-12-21T07:30:44.583Z] ---> Running in 09582bdad37f [2020-12-21T07:30:45.175Z] Removing intermediate container 09582bdad37f [2020-12-21T07:30:45.175Z] ---> d7e841c2e49f [2020-12-21T07:30:45.175Z] Step 7/8 : COPY go.mod . [2020-12-21T07:30:45.768Z] ---> 1184960bbf13 [2020-12-21T07:30:45.769Z] Step 8/8 : RUN go mod download [2020-12-21T07:30:45.769Z] ---> Running in eec296aeacf2 [2020-12-21T07:30:56.846Z] Running on prd-centos7-docker-4c-2g-17049 in /w/workspace/ndry_app-functions-sdk-go_PR-611 [Pipeline] { [Pipeline] ws [2020-12-21T07:30:56.935Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T07:31:04.871Z] using credential edgex-jenkins-ssh [2020-12-21T07:31:04.930Z] Cloning the remote Git repository [2020-12-21T07:31:05.047Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:31:05.137Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-21T07:31:05.292Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:31:05.293Z] > git --version # timeout=10 [2020-12-21T07:31:05.335Z] > git --version # 'git version 2.24.3' [2020-12-21T07:31:05.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:31:05.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:31:08.534Z] Merging remotes/origin/master commit 6d0fca7ca15f421386e8388e0dbfef05184fe59b into PR head commit eab45c4a325c48ad03ba987499e276f74f5806cc [2020-12-21T07:31:07.861Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T07:31:07.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:31:07.997Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T07:31:08.045Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T07:31:08.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:31:08.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T07:31:08.547Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:31:08.601Z] > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # timeout=10 [2020-12-21T07:31:08.720Z] > git remote # timeout=10 [2020-12-21T07:31:08.754Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T07:31:08.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:31:08.769Z] > git merge 6d0fca7ca15f421386e8388e0dbfef05184fe59b # timeout=10 [2020-12-21T07:31:08.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T07:31:08.866Z] Merge succeeded, producing eab45c4a325c48ad03ba987499e276f74f5806cc [2020-12-21T07:31:08.867Z] Checking out Revision eab45c4a325c48ad03ba987499e276f74f5806cc (PR-611) [2020-12-21T07:31:08.873Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:31:08.917Z] > git checkout -f eab45c4a325c48ad03ba987499e276f74f5806cc # timeout=10 [2020-12-21T07:31:12.558Z] Removing intermediate container eec296aeacf2 [2020-12-21T07:31:12.558Z] ---> 459dc7d8304f [2020-12-21T07:31:12.558Z] Successfully built 459dc7d8304f [2020-12-21T07:31:12.558Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:31:12.943Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:31:12.944Z] . [Pipeline] withDockerContainer [2020-12-21T07:31:13.079Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-21T07:31:13.124Z] > git --version # timeout=10 [2020-12-21T07:31:13.158Z] > git --version # 'git version 2.24.3' [2020-12-21T07:31:13.179Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:31:13.244Z] prd-ubuntu18.04-docker-arm64-4c-16g-17048 does not seem to be running inside a container [2020-12-21T07:31:13.333Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T07:31:14.719Z] $ docker top b809ed544aaa2634115ad358534b8e383de6ac30bbb9d459ee84586fff4570a4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T07:31:15.739Z] + go version [2020-12-21T07:31:15.739Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T07:31:16.483Z] $ docker stop --time=1 b809ed544aaa2634115ad358534b8e383de6ac30bbb9d459ee84586fff4570a4 [2020-12-21T07:31:16.738Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-21T07:31:18.387Z] $ docker rm -f b809ed544aaa2634115ad358534b8e383de6ac30bbb9d459ee84586fff4570a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-21T07:31:19.049Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:31:19.462Z] + sudo service docker restart [2020-12-21T07:31:19.462Z] + true [2020-12-21T07:31:19.462Z] Redirecting to /bin/systemctl restart docker.service [2020-12-21T07:31:19.701Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:31:19.701Z] . [Pipeline] withDockerContainer [2020-12-21T07:31:19.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-17048 does not seem to be running inside a container [2020-12-21T07:31:20.083Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T07:31:21.551Z] $ docker top 54edc7d2bf88904fbb94addb59fff34b2597320c21e745840f14e01687985ece -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2020-12-21T07:31:22.302Z] ========================================================= [2020-12-21T07:31:22.302Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T07:31:22.302Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:31:22.709Z] + 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-21T07:31:22.711Z] + make test [2020-12-21T07:31:22.711Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-21T07:31:24.150Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-21T07:31:24.247Z] Sending build context to Docker daemon 19.16MB [2020-12-21T07:31:24.247Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T07:31:24.247Z] Step 2/8 : FROM ${BASE} [2020-12-21T07:31:24.247Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T07:31:24.247Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T07:31:24.247Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T07:31:24.247Z] de9db76c5a1d: Pulling fs layer [2020-12-21T07:31:24.247Z] bca2f99d35d6: Pulling fs layer [2020-12-21T07:31:24.247Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T07:31:24.247Z] 7c6f9722023f: Pulling fs layer [2020-12-21T07:31:24.247Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T07:31:24.247Z] bca2f99d35d6: Waiting [2020-12-21T07:31:24.247Z] 93359f2a8cfa: Waiting [2020-12-21T07:31:24.247Z] 7c6f9722023f: Waiting [2020-12-21T07:31:24.247Z] a35cf1a2eb13: Waiting [2020-12-21T07:31:24.247Z] de9db76c5a1d: Verifying Checksum [2020-12-21T07:31:24.247Z] de9db76c5a1d: Download complete [2020-12-21T07:31:24.247Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T07:31:24.247Z] 0ef7d3d256c8: Download complete [2020-12-21T07:31:24.247Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T07:31:24.247Z] 93359f2a8cfa: Download complete [2020-12-21T07:31:24.247Z] 7c6f9722023f: Verifying Checksum [2020-12-21T07:31:24.247Z] 7c6f9722023f: Download complete [2020-12-21T07:31:24.532Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T07:31:24.532Z] 188c0c94c7c5: Download complete [2020-12-21T07:31:25.170Z] 188c0c94c7c5: Pull complete [2020-12-21T07:31:25.788Z] 0ef7d3d256c8: Pull complete [2020-12-21T07:31:26.419Z] de9db76c5a1d: Pull complete [2020-12-21T07:31:29.921Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T07:31:29.921Z] a35cf1a2eb13: Download complete [2020-12-21T07:31:30.528Z] bca2f99d35d6: Verifying Checksum [2020-12-21T07:31:30.528Z] bca2f99d35d6: Download complete [2020-12-21T07:31:36.573Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [2020-12-21T07:31:36.573Z] internal/security/client/vaultclient.go:34:9: undefined: vault.SecretConfig [2020-12-21T07:31:36.573Z] internal/security/client/vaultclient.go:39:43: undefined: vault.SecretConfig [2020-12-21T07:31:36.573Z] internal/security/client/vaultclient.go:48:70: undefined: pkg.SecretClient [2020-12-21T07:31:36.573Z] internal/security/client/vaultclient.go:49:9: undefined: vault.NewSecretClientFactory [2020-12-21T07:31:40.743Z] bca2f99d35d6: Pull complete [2020-12-21T07:31:40.743Z] 93359f2a8cfa: Pull complete [2020-12-21T07:31:41.018Z] 7c6f9722023f: Pull complete [2020-12-21T07:31:47.882Z] a35cf1a2eb13: Pull complete [2020-12-21T07:31:47.882Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T07:31:47.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T07:31:47.882Z] ---> a62c8e92a672 [2020-12-21T07:31:47.882Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T07:31:47.882Z] 20.10.0: Pulling from library/docker [2020-12-21T07:31:47.882Z] 05e7bc50f07f: Pulling fs layer [2020-12-21T07:31:47.882Z] 6db28d0fdbf6: Pulling fs layer [2020-12-21T07:31:47.882Z] 292df0bc6bf3: Pulling fs layer [2020-12-21T07:31:47.882Z] 2e060f4bd70b: Pulling fs layer [2020-12-21T07:31:47.882Z] 80e8d568a223: Pulling fs layer [2020-12-21T07:31:47.882Z] 8dc6ef1a942a: Pulling fs layer [2020-12-21T07:31:47.882Z] 2312dd95470a: Pulling fs layer [2020-12-21T07:31:47.882Z] 2e060f4bd70b: Waiting [2020-12-21T07:31:47.882Z] 80e8d568a223: Waiting [2020-12-21T07:31:47.882Z] 8dc6ef1a942a: Waiting [2020-12-21T07:31:47.882Z] 2312dd95470a: Waiting [2020-12-21T07:31:47.882Z] 292df0bc6bf3: Verifying Checksum [2020-12-21T07:31:47.882Z] 292df0bc6bf3: Download complete [2020-12-21T07:31:47.882Z] 05e7bc50f07f: Download complete [2020-12-21T07:31:47.882Z] 80e8d568a223: Verifying Checksum [2020-12-21T07:31:47.882Z] 80e8d568a223: Download complete [2020-12-21T07:31:47.882Z] 6db28d0fdbf6: Verifying Checksum [2020-12-21T07:31:47.882Z] 6db28d0fdbf6: Download complete [2020-12-21T07:31:48.293Z] 2312dd95470a: Verifying Checksum [2020-12-21T07:31:48.293Z] 2312dd95470a: Download complete [2020-12-21T07:31:48.293Z] 8dc6ef1a942a: Verifying Checksum [2020-12-21T07:31:48.293Z] 8dc6ef1a942a: Download complete [2020-12-21T07:31:48.565Z] 05e7bc50f07f: Pull complete [2020-12-21T07:31:49.034Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-21T07:31:49.210Z] 6db28d0fdbf6: Pull complete [2020-12-21T07:31:49.482Z] 292df0bc6bf3: Pull complete [2020-12-21T07:31:53.875Z] 2e060f4bd70b: Verifying Checksum [2020-12-21T07:31:53.875Z] 2e060f4bd70b: Download complete [2020-12-21T07:31:57.333Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [github.com/edgexfoundry/app-functions-sdk-go/internal/security/client.test] [2020-12-21T07:31:57.333Z] internal/security/client/vaultclient.go:34: undefined: vault.SecretConfig [2020-12-21T07:31:57.333Z] internal/security/client/vaultclient.go:39: undefined: vault.SecretConfig [2020-12-21T07:31:57.333Z] internal/security/client/vaultclient.go:48: undefined: pkg.SecretClient [2020-12-21T07:31:57.333Z] internal/security/client/vaultclient.go:49: undefined: vault.NewSecretClientFactory [2020-12-21T07:31:57.333Z] internal/security/client/vaultclient_test.go:166:14: undefined: vault.SecretConfig [2020-12-21T07:31:58.326Z] 2e060f4bd70b: Pull complete [2020-12-21T07:31:58.327Z] 80e8d568a223: Pull complete [2020-12-21T07:31:58.598Z] 8dc6ef1a942a: Pull complete [2020-12-21T07:31:58.909Z] 2312dd95470a: Pull complete [2020-12-21T07:31:58.909Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-21T07:31:58.909Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-21T07:32:00.754Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-21T07:32:00.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-21T07:32:00.754Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-21T07:32:00.754Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-21T07:32:00.754Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-12-21T07:32:01.358Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.037s coverage: 89.5% of statements [2020-12-21T07:32:01.783Z] ---> 6ac6798bf0d4 [2020-12-21T07:32:01.783Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-21T07:32:01.784Z] ---> Running in eaad877590a9 [2020-12-21T07:32:02.079Z] Removing intermediate container eaad877590a9 [2020-12-21T07:32:02.079Z] ---> 1c5f13a2f103 [2020-12-21T07:32:02.079Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-21T07:32:02.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.012s coverage: 100.0% of statements [2020-12-21T07:32:02.348Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [build failed] [2020-12-21T07:32:02.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.043s coverage: 100.0% of statements [2020-12-21T07:32:02.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-12-21T07:32:02.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-12-21T07:32:02.348Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-21T07:32:02.348Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-21T07:32:02.348Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-21T07:32:02.402Z] ---> Running in 5c37ade49faf [2020-12-21T07:32:03.326Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.025s coverage: 88.9% of statements [2020-12-21T07:32:03.326Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-21T07:32:03.326Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-21T07:32:03.326Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-21T07:32:03.922Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements [2020-12-21T07:32:04.008Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T07:32:04.194Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-21T07:32:04.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T07:32:04.305Z] $ docker stop --time=1 54edc7d2bf88904fbb94addb59fff34b2597320c21e745840f14e01687985ece [2020-12-21T07:32:04.935Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-21T07:32:05.210Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-21T07:32:05.210Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-21T07:32:05.210Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-21T07:32:05.501Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-21T07:32:05.501Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T07:32:05.501Z] OK: 167 MiB in 44 packages [2020-12-21T07:32:06.494Z] Removing intermediate container 5c37ade49faf [2020-12-21T07:32:06.494Z] ---> 622f0e75c2f9 [2020-12-21T07:32:06.494Z] Step 6/8 : WORKDIR /build [2020-12-21T07:32:06.494Z] ---> Running in 7252d43df4ab [2020-12-21T07:32:06.563Z] $ docker rm -f 54edc7d2bf88904fbb94addb59fff34b2597320c21e745840f14e01687985ece [2020-12-21T07:32:06.785Z] Removing intermediate container 7252d43df4ab [2020-12-21T07:32:06.785Z] ---> 608c7e8ff71a [2020-12-21T07:32:06.785Z] Step 7/8 : COPY go.mod . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-21T07:32:07.388Z] ---> f4a2abbd76ff [2020-12-21T07:32:07.388Z] Step 8/8 : RUN go mod download [2020-12-21T07:32:07.388Z] ---> Running in fc74c1b2c42b [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-21T07:32:09.064Z] Failed in branch arm64 [2020-12-21T07:32:34.511Z] Removing intermediate container fc74c1b2c42b [2020-12-21T07:32:34.511Z] ---> f14b0735717d [2020-12-21T07:32:34.511Z] Successfully built f14b0735717d [2020-12-21T07:32:34.511Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:32:34.901Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:32:35.170Z] . [Pipeline] withDockerContainer [2020-12-21T07:32:35.442Z] prd-centos7-docker-4c-2g-17049 does not seem to be running inside a container [2020-12-21T07:32:35.816Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T07:32:37.643Z] $ docker top 1d116288f385852e8f04f4d10b2b3920a5cde3c17d6bb20e942a1fbeec00b1a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:32:38.328Z] + go version [2020-12-21T07:32:38.604Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T07:32:38.658Z] $ docker stop --time=1 1d116288f385852e8f04f4d10b2b3920a5cde3c17d6bb20e942a1fbeec00b1a0 [2020-12-21T07:32:40.238Z] $ docker rm -f 1d116288f385852e8f04f4d10b2b3920a5cde3c17d6bb20e942a1fbeec00b1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:32:41.459Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:32:41.459Z] . [Pipeline] withDockerContainer [2020-12-21T07:32:41.842Z] prd-centos7-docker-4c-2g-17049 does not seem to be running inside a container [2020-12-21T07:32:41.964Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T07:32:43.093Z] $ docker top ef3bc52fb9777395edcbae19454a523f3f2a43f07675fd28572e69e54bdfb918 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:32:43.800Z] + make test [2020-12-21T07:32:43.800Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-21T07:32:47.269Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-21T07:32:54.201Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [2020-12-21T07:32:54.201Z] internal/security/client/vaultclient.go:34:9: undefined: vault.SecretConfig [2020-12-21T07:32:54.201Z] internal/security/client/vaultclient.go:39:43: undefined: vault.SecretConfig [2020-12-21T07:32:54.201Z] internal/security/client/vaultclient.go:48:70: undefined: pkg.SecretClient [2020-12-21T07:32:54.201Z] internal/security/client/vaultclient.go:49:9: undefined: vault.NewSecretClientFactory [2020-12-21T07:32:59.994Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-21T07:33:10.608Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [github.com/edgexfoundry/app-functions-sdk-go/internal/security/client.test] [2020-12-21T07:33:10.608Z] internal/security/client/vaultclient.go:34: undefined: vault.SecretConfig [2020-12-21T07:33:10.608Z] internal/security/client/vaultclient.go:39: undefined: vault.SecretConfig [2020-12-21T07:33:10.608Z] internal/security/client/vaultclient.go:48: undefined: pkg.SecretClient [2020-12-21T07:33:10.608Z] internal/security/client/vaultclient.go:49: undefined: vault.NewSecretClientFactory [2020-12-21T07:33:10.608Z] internal/security/client/vaultclient_test.go:166:14: undefined: vault.SecretConfig [2020-12-21T07:33:10.608Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-21T07:33:10.608Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-21T07:33:10.608Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-21T07:33:11.810Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-21T07:33:11.810Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-12-21T07:33:12.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.014s coverage: 89.5% of statements [2020-12-21T07:33:12.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.024s coverage: 100.0% of statements [2020-12-21T07:33:12.868Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security/client [build failed] [2020-12-21T07:33:12.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.045s coverage: 100.0% of statements [2020-12-21T07:33:12.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.020s coverage: 100.0% of statements [2020-12-21T07:33:12.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-12-21T07:33:12.868Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-21T07:33:12.868Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-21T07:33:12.868Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-21T07:33:13.146Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.054s coverage: 88.9% of statements [2020-12-21T07:33:13.146Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-21T07:33:13.146Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-21T07:33:13.146Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-21T07:33:14.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements [2020-12-21T07:33:14.144Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-21T07:33:14.251Z] $ docker stop --time=1 ef3bc52fb9777395edcbae19454a523f3f2a43f07675fd28572e69e54bdfb918 [2020-12-21T07:33:16.845Z] $ docker rm -f ef3bc52fb9777395edcbae19454a523f3f2a43f07675fd28572e69e54bdfb918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-21T07:33:19.429Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:33:23.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:33:24.221Z] ---> package-listing.sh [2020-12-21T07:33:24.221Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T07:33:24.221Z] ++ facter osfamily [2020-12-21T07:33:24.488Z] + OS_FAMILY=redhat [2020-12-21T07:33:24.488Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-611 [2020-12-21T07:33:24.488Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T07:33:24.488Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T07:33:24.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T07:33:24.488Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T07:33:24.488Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-611 ']' [2020-12-21T07:33:24.488Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T07:33:24.488Z] + case "${OS_FAMILY}" in [2020-12-21T07:33:24.488Z] + rpm -qa [2020-12-21T07:33:24.488Z] + sort [2020-12-21T07:33:29.922Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T07:33:29.922Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T07:33:29.922Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T07:33:29.922Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-611 ']' [2020-12-21T07:33:29.922Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-611/archives/ [2020-12-21T07:33:29.922Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-611/archives/ [Pipeline] echo [2020-12-21T07:33:29.960Z] 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-611/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T07:33:30.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:33:30.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:33:31.222Z] [2020-12-21T07:33:31.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:33:31.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:33:31.659Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T07:33:31.659Z] df20fa9351a1: Pulling fs layer [2020-12-21T07:33:31.659Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T07:33:31.659Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T07:33:31.659Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T07:33:31.659Z] 93b61091891f: Pulling fs layer [2020-12-21T07:33:31.659Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T07:33:31.659Z] 5e14af77c1be: Pulling fs layer [2020-12-21T07:33:31.659Z] 01666e4c0597: Pulling fs layer [2020-12-21T07:33:31.659Z] aa168da1d23b: Pulling fs layer [2020-12-21T07:33:31.659Z] 46f8f816bc3b: Waiting [2020-12-21T07:33:31.659Z] 93b61091891f: Waiting [2020-12-21T07:33:31.659Z] 93b9cdb0e59b: Waiting [2020-12-21T07:33:31.659Z] 5e14af77c1be: Waiting [2020-12-21T07:33:31.659Z] 01666e4c0597: Waiting [2020-12-21T07:33:31.659Z] aa168da1d23b: Waiting [2020-12-21T07:33:31.659Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T07:33:31.659Z] 36b3adc4ff6f: Download complete [2020-12-21T07:33:31.659Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T07:33:31.659Z] 46f8f816bc3b: Download complete [2020-12-21T07:33:31.950Z] df20fa9351a1: Verifying Checksum [2020-12-21T07:33:31.950Z] df20fa9351a1: Download complete [2020-12-21T07:33:31.950Z] 93b9cdb0e59b: Download complete [2020-12-21T07:33:31.950Z] 5e14af77c1be: Verifying Checksum [2020-12-21T07:33:31.950Z] 5e14af77c1be: Download complete [2020-12-21T07:33:31.950Z] 93b61091891f: Verifying Checksum [2020-12-21T07:33:31.950Z] 93b61091891f: Download complete [2020-12-21T07:33:32.239Z] 01666e4c0597: Download complete [2020-12-21T07:33:32.519Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T07:33:32.519Z] 8ad3a11d3b57: Download complete [2020-12-21T07:33:32.804Z] df20fa9351a1: Pull complete [2020-12-21T07:33:33.135Z] 36b3adc4ff6f: Pull complete [2020-12-21T07:33:35.826Z] 8ad3a11d3b57: Pull complete [2020-12-21T07:33:35.826Z] 46f8f816bc3b: Pull complete [2020-12-21T07:33:36.865Z] 93b61091891f: Pull complete [2020-12-21T07:33:36.865Z] aa168da1d23b: Verifying Checksum [2020-12-21T07:33:36.865Z] aa168da1d23b: Download complete [2020-12-21T07:33:37.135Z] 93b9cdb0e59b: Pull complete [2020-12-21T07:33:37.135Z] 5e14af77c1be: Pull complete [2020-12-21T07:33:37.414Z] 01666e4c0597: Pull complete [2020-12-21T07:33:49.860Z] aa168da1d23b: Pull complete [2020-12-21T07:33:49.860Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T07:33:49.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:33:49.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T07:33:50.471Z] prd-centos7-docker-4c-2g-17046 does not seem to be running inside a container [2020-12-21T07:33:50.573Z] $ 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-611/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-611 -v /w/workspace/ndry_app-functions-sdk-go_PR-611:/w/workspace/ndry_app-functions-sdk-go_PR-611:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-611@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-611@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T07:33:57.139Z] $ docker top 4f3013c030580f1439f3bf25f4300b4a9c97872c0ed616611e4687bf36371ef4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:33:58.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T07:33:58.601Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T07:33:58.935Z] + ls /var/log/sa-host [2020-12-21T07:33:58.935Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T07:33:58.935Z] file_magic: OK [2020-12-21T07:33:58.935Z] HZ: Using current value: 100 [2020-12-21T07:33:58.935Z] file_header: OK [2020-12-21T07:33:58.935Z] 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-21T07:33:58.936Z] Statistics: [2020-12-21T07:33:58.936Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T07:33:58.936Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T07:33:58.936Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T07:33:58.936Z] file_magic: OK [2020-12-21T07:33:58.936Z] HZ: Using current value: 100 [2020-12-21T07:33:58.936Z] file_header: OK [2020-12-21T07:33:58.936Z] 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-21T07:33:58.936Z] Statistics: [2020-12-21T07:33:58.936Z] Hnuu...uuuununununu... [2020-12-21T07:33:58.936Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T07:33:59.232Z] provisioning config files... [2020-12-21T07:33:59.259Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-611@tmp/config155546974724290263tmp [Pipeline] { [Pipeline] echo [2020-12-21T07:33:59.371Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:33:59.724Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T07:33:59.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T07:33:59.897Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:34:00.245Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T07:34:00.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:34:00.645Z] ---> sudo-logs.sh [2020-12-21T07:34:00.645Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T07:34:00.710Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:34:01.087Z] ---> job-cost.sh [2020-12-21T07:34:01.364Z] lf-activate-venv: SKIPPING [2020-12-21T07:34:01.364Z] INFO: No Stack... [2020-12-21T07:34:02.771Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T07:34:03.373Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T07:34:03.410Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:34:03.757Z] ---> logs-deploy.sh [2020-12-21T07:34:03.758Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-611/1 [2020-12-21T07:34:03.758Z] INFO: archiving workspace using pattern(s): [2020-12-21T07:34:06.340Z] Archives upload complete. [2020-12-21T07:34:06.609Z] INFO: archiving logs to Nexus