Pull request #619 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from add14ffc96a67ca6a77578042b7795f9869ca675+fb6bb540a8cb6df0ab3c7959dfb0879070efde55 (eda921425204edf940b9d6e35894e85c6d72dbb0) 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-619/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-619/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-17729 in /w/workspace/ndry_app-functions-sdk-go_PR-619 [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-619 # 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 Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit add14ffc96a67ca6a77578042b7795f9869ca675 > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 Merge succeeded, producing add14ffc96a67ca6a77578042b7795f9869ca675 Checking out Revision add14ffc96a67ca6a77578042b7795f9869ca675 (PR-619) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-30T06:26:06.566Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-30T06:26:06.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-30T06:26:07.257Z] ========================================================= [2020-12-30T06:26:07.257Z] EdgeX Global Pipelines Version Info [2020-12-30T06:26:07.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:26:09.539Z] ------------------- [2020-12-30T06:26:09.539Z] stable info: [2020-12-30T06:26:09.539Z] ------------------- [2020-12-30T06:26:09.539Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-30T06:26:09.539Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T06:26:09.539Z] Message: update stable to v1.0.173 [2020-12-30T06:26:10.127Z] ------------------- [2020-12-30T06:26:10.127Z] experimental info: [2020-12-30T06:26:10.127Z] ------------------- [2020-12-30T06:26:10.127Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-30T06:26:10.127Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T06:26:10.127Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-30T06:26:10.595Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-30T06:26:10.753Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-30T06:26:10.892Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-30T06:26:11.034Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-30T06:26:11.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-30T06:26:11.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-30T06:26:11.448Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-30T06:26:11.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-30T06:26:11.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-30T06:26:11.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-30T06:26:12.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-30T06:26:12.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-30T06:26:12.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-30T06:26:12.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-30T06:26:12.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T06:26:12.706Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T06:26:12.838Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T06:26:12.968Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T06:26:13.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-30T06:26:13.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-30T06:26:13.426Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-30T06:26:13.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-30T06:26:13.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-30T06:26:13.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-30T06:26:13.928Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-30T06:26:14.089Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-30T06:26:14.288Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-30T06:26:14.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-12-30T06:26:14.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-12-30T06:26:14.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-12-30T06:26:14.880Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = add14ffc96a67ca6a77578042b7795f9869ca675 [Pipeline] echo [2020-12-30T06:26:15.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = add14ff [Pipeline] echo [2020-12-30T06:26:15.188Z] [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-30T06:26:16.139Z] + git log --format=format:%s -1 add14ffc96a67ca6a77578042b7795f9869ca675 [Pipeline] echo [2020-12-30T06:26:16.244Z] GIT_COMMIT: add14ffc96a67ca6a77578042b7795f9869ca675, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-30T06:26:16.319Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:26:16.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T06:26:17.290Z] [2020-12-30T06:26:17.290Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:26:17.711Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T06:26:17.711Z] latest: Pulling from edgex-devops/git-semver [2020-12-30T06:26:17.711Z] 31603596830f: Pulling fs layer [2020-12-30T06:26:17.711Z] 2a8b12db71e7: Pulling fs layer [2020-12-30T06:26:17.711Z] 6ca5941a6612: Pulling fs layer [2020-12-30T06:26:17.711Z] ecc8261a40a4: Pulling fs layer [2020-12-30T06:26:17.711Z] ecc8261a40a4: Waiting [2020-12-30T06:26:17.711Z] 2a8b12db71e7: Verifying Checksum [2020-12-30T06:26:17.711Z] 2a8b12db71e7: Download complete [2020-12-30T06:26:17.976Z] 31603596830f: Verifying Checksum [2020-12-30T06:26:17.976Z] 31603596830f: Download complete [2020-12-30T06:26:17.976Z] ecc8261a40a4: Verifying Checksum [2020-12-30T06:26:17.976Z] ecc8261a40a4: Download complete [2020-12-30T06:26:17.976Z] 6ca5941a6612: Verifying Checksum [2020-12-30T06:26:17.976Z] 6ca5941a6612: Download complete [2020-12-30T06:26:18.243Z] 31603596830f: Pull complete [2020-12-30T06:26:18.513Z] 2a8b12db71e7: Pull complete [2020-12-30T06:26:19.476Z] 6ca5941a6612: Pull complete [2020-12-30T06:26:19.476Z] ecc8261a40a4: Pull complete [2020-12-30T06:26:19.476Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-30T06:26:19.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T06:26:19.737Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-30T06:26:19.870Z] prd-centos7-docker-4c-2g-17729 does not seem to be running inside a container [2020-12-30T06:26:19.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-619 -v /w/workspace/ndry_app-functions-sdk-go_PR-619:/w/workspace/ndry_app-functions-sdk-go_PR-619:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-619@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-30T06:26:22.098Z] $ docker top 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-30T06:26:22.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T06:26:22.520Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T06:26:22.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T06:26:22.763Z] $ docker exec 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 ssh-agent [2020-12-30T06:26:22.947Z] SSH_AUTH_SOCK=/tmp/ssh-8DTwNzlAeIkE/agent.12 [2020-12-30T06:26:22.947Z] SSH_AGENT_PID=17 [2020-12-30T06:26:22.958Z] Running ssh-add (command line suppressed) [2020-12-30T06:26:23.133Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-619@tmp/private_key_191769158189384032.key (/w/workspace/ndry_app-functions-sdk-go_PR-619@tmp/private_key_191769158189384032.key) [2020-12-30T06:26:23.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T06:26:23.580Z] + git tag --points-at HEAD [Pipeline] } [2020-12-30T06:26:23.618Z] $ docker exec --env ******** --env ******** 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 ssh-agent -k [2020-12-30T06:26:23.736Z] unset SSH_AUTH_SOCK; [2020-12-30T06:26:23.736Z] unset SSH_AGENT_PID; [2020-12-30T06:26:23.737Z] echo Agent pid 17 killed; [2020-12-30T06:26:23.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-30T06:26:23.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T06:26:23.988Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T06:26:24.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T06:26:24.178Z] $ docker exec 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 ssh-agent [2020-12-30T06:26:24.355Z] SSH_AUTH_SOCK=/tmp/ssh-Y1cZFC6xNIEH/agent.47 [2020-12-30T06:26:24.355Z] SSH_AGENT_PID=53 [2020-12-30T06:26:24.362Z] Running ssh-add (command line suppressed) [2020-12-30T06:26:24.491Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-619@tmp/private_key_6783323499452916320.key (/w/workspace/ndry_app-functions-sdk-go_PR-619@tmp/private_key_6783323499452916320.key) [2020-12-30T06:26:24.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T06:26:24.937Z] + git semver init [2020-12-30T06:26:24.937Z] # -> Open(): unable to determine branch for HEAD [2020-12-30T06:26:24.937Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-619/.git [2020-12-30T06:26:24.937Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-619 [2020-12-30T06:26:24.937Z] # $SEMVER_REMOTE_NAME = origin [2020-12-30T06:26:24.937Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-30T06:26:24.937Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-30T06:26:24.937Z] # $SEMVER_BRANCH = PR-619 [2020-12-30T06:26:24.937Z] # $SEMVER_TEMP = /tmp/semver-732703163 [2020-12-30T06:26:24.937Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-30T06:26:27.506Z] # '/tmp/semver-732703163' -> '/w/workspace/ndry_app-functions-sdk-go_PR-619/.semver' [2020-12-30T06:26:27.506Z] # -> Force: false [2020-12-30T06:26:27.506Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-619/.semver [Pipeline] } [2020-12-30T06:26:27.789Z] $ docker exec --env ******** --env ******** 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 ssh-agent -k [2020-12-30T06:26:27.926Z] unset SSH_AUTH_SOCK; [2020-12-30T06:26:27.927Z] unset SSH_AGENT_PID; [2020-12-30T06:26:27.927Z] echo Agent pid 53 killed; [2020-12-30T06:26:27.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-30T06:26:28.686Z] + git semver [Pipeline] } [2020-12-30T06:26:28.727Z] $ docker stop --time=1 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 [2020-12-30T06:26:30.199Z] $ docker rm -f 651b4096dcb20260cd56db6fe45e5f5418e3f84427337511dd176092950f6a49 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T06:26:30.801Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-30T06:26:31.396Z] Stashed 1 file(s) [Pipeline] echo [2020-12-30T06:26:31.417Z] [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-30T06:26:47.385Z] Still waiting to schedule task [2020-12-30T06:26:47.385Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17722’ is offline; ‘prd-centos7-docker-4c-2g-17732’ is offline [2020-12-30T06:26:47.422Z] Still waiting to schedule task [2020-12-30T06:26:47.422Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-30T06:27:57.399Z] Running on prd-centos7-docker-4c-2g-17735 in /w/workspace/ndry_app-functions-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-12-30T06:27:57.509Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-30T06:28:00.294Z] using credential edgex-jenkins-ssh [2020-12-30T06:28:00.349Z] Cloning the remote Git repository [2020-12-30T06:28:00.378Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:28:00.448Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-30T06:28:00.514Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:28:00.514Z] > git --version # timeout=10 [2020-12-30T06:28:00.521Z] > git --version # 'git version 2.24.3' [2020-12-30T06:28:00.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:28:00.547Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T06:28:02.053Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-30T06:28:02.063Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T06:28:02.076Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-30T06:28:02.090Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:28:02.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:28:02.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T06:28:03.075Z] Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit add14ffc96a67ca6a77578042b7795f9869ca675 [2020-12-30T06:28:03.180Z] Merge succeeded, producing add14ffc96a67ca6a77578042b7795f9869ca675 [2020-12-30T06:28:03.180Z] Checking out Revision add14ffc96a67ca6a77578042b7795f9869ca675 (PR-619) [2020-12-30T06:28:03.084Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T06:28:03.094Z] > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 [2020-12-30T06:28:03.142Z] > git remote # timeout=10 [2020-12-30T06:28:03.148Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T06:28:03.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:28:03.160Z] > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 [2020-12-30T06:28:03.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T06:28:03.183Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T06:28:03.192Z] > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 [2020-12-30T06:28:06.959Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-30T06:28:07.000Z] > git --version # timeout=10 [2020-12-30T06:28:07.008Z] > git --version # 'git version 2.24.3' [2020-12-30T06:28:07.016Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T06:28:08.579Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-30T06:28:08.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T06:28:09.275Z] + sudo service docker restart [2020-12-30T06:28:09.275Z] + true [2020-12-30T06:28:09.275Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-30T06:28:10.998Z] ========================================================= [2020-12-30T06:28:10.998Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-30T06:28:10.998Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:28:11.432Z] + 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-30T06:28:12.015Z] Sending build context to Docker daemon 19.07MB [2020-12-30T06:28:12.015Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-30T06:28:12.015Z] Step 2/8 : FROM ${BASE} [2020-12-30T06:28:12.015Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-30T06:28:12.015Z] 188c0c94c7c5: Pulling fs layer [2020-12-30T06:28:12.015Z] 0ef7d3d256c8: Pulling fs layer [2020-12-30T06:28:12.015Z] de9db76c5a1d: Pulling fs layer [2020-12-30T06:28:12.015Z] bca2f99d35d6: Pulling fs layer [2020-12-30T06:28:12.015Z] 93359f2a8cfa: Pulling fs layer [2020-12-30T06:28:12.015Z] 7c6f9722023f: Pulling fs layer [2020-12-30T06:28:12.015Z] a35cf1a2eb13: Pulling fs layer [2020-12-30T06:28:12.015Z] 93359f2a8cfa: Waiting [2020-12-30T06:28:12.015Z] 7c6f9722023f: Waiting [2020-12-30T06:28:12.015Z] a35cf1a2eb13: Waiting [2020-12-30T06:28:12.015Z] bca2f99d35d6: Waiting [2020-12-30T06:28:12.015Z] de9db76c5a1d: Download complete [2020-12-30T06:28:12.015Z] 0ef7d3d256c8: Download complete [2020-12-30T06:28:12.015Z] 93359f2a8cfa: Verifying Checksum [2020-12-30T06:28:12.015Z] 93359f2a8cfa: Download complete [2020-12-30T06:28:12.281Z] 7c6f9722023f: Verifying Checksum [2020-12-30T06:28:12.281Z] 7c6f9722023f: Download complete [2020-12-30T06:28:12.281Z] 188c0c94c7c5: Verifying Checksum [2020-12-30T06:28:12.281Z] 188c0c94c7c5: Download complete [2020-12-30T06:28:12.550Z] 188c0c94c7c5: Pull complete [2020-12-30T06:28:12.550Z] 0ef7d3d256c8: Pull complete [2020-12-30T06:28:12.819Z] de9db76c5a1d: Pull complete [2020-12-30T06:28:14.236Z] a35cf1a2eb13: Verifying Checksum [2020-12-30T06:28:14.236Z] a35cf1a2eb13: Download complete [2020-12-30T06:28:14.818Z] bca2f99d35d6: Verifying Checksum [2020-12-30T06:28:14.818Z] bca2f99d35d6: Download complete [2020-12-30T06:28:20.151Z] bca2f99d35d6: Pull complete [2020-12-30T06:28:20.151Z] 93359f2a8cfa: Pull complete [2020-12-30T06:28:20.415Z] 7c6f9722023f: Pull complete [2020-12-30T06:28:25.759Z] a35cf1a2eb13: Pull complete [2020-12-30T06:28:25.759Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-30T06:28:25.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-30T06:28:25.759Z] ---> a62c8e92a672 [2020-12-30T06:28:25.759Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-30T06:28:25.759Z] 20.10.0: Pulling from library/docker [2020-12-30T06:28:25.759Z] 05e7bc50f07f: Pulling fs layer [2020-12-30T06:28:25.759Z] 6db28d0fdbf6: Pulling fs layer [2020-12-30T06:28:25.759Z] 292df0bc6bf3: Pulling fs layer [2020-12-30T06:28:25.759Z] 2e060f4bd70b: Pulling fs layer [2020-12-30T06:28:25.759Z] 80e8d568a223: Pulling fs layer [2020-12-30T06:28:25.759Z] 8dc6ef1a942a: Pulling fs layer [2020-12-30T06:28:25.759Z] 2312dd95470a: Pulling fs layer [2020-12-30T06:28:25.759Z] 80e8d568a223: Waiting [2020-12-30T06:28:25.759Z] 8dc6ef1a942a: Waiting [2020-12-30T06:28:25.759Z] 2312dd95470a: Waiting [2020-12-30T06:28:25.759Z] 292df0bc6bf3: Verifying Checksum [2020-12-30T06:28:25.759Z] 292df0bc6bf3: Download complete [2020-12-30T06:28:25.759Z] 05e7bc50f07f: Download complete [2020-12-30T06:28:25.759Z] 6db28d0fdbf6: Verifying Checksum [2020-12-30T06:28:25.759Z] 6db28d0fdbf6: Download complete [2020-12-30T06:28:25.759Z] 80e8d568a223: Verifying Checksum [2020-12-30T06:28:25.759Z] 80e8d568a223: Download complete [2020-12-30T06:28:25.759Z] 8dc6ef1a942a: Verifying Checksum [2020-12-30T06:28:25.759Z] 8dc6ef1a942a: Download complete [2020-12-30T06:28:25.759Z] 2312dd95470a: Verifying Checksum [2020-12-30T06:28:25.759Z] 2312dd95470a: Download complete [2020-12-30T06:28:25.759Z] 05e7bc50f07f: Pull complete [2020-12-30T06:28:26.027Z] 6db28d0fdbf6: Pull complete [2020-12-30T06:28:26.292Z] 292df0bc6bf3: Pull complete [2020-12-30T06:28:26.554Z] 2e060f4bd70b: Verifying Checksum [2020-12-30T06:28:26.554Z] 2e060f4bd70b: Download complete [2020-12-30T06:28:29.894Z] 2e060f4bd70b: Pull complete [2020-12-30T06:28:29.894Z] 80e8d568a223: Pull complete [2020-12-30T06:28:29.894Z] 8dc6ef1a942a: Pull complete [2020-12-30T06:28:29.894Z] 2312dd95470a: Pull complete [2020-12-30T06:28:29.894Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-30T06:28:29.894Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-30T06:28:31.300Z] ---> c815bb48fd2b [2020-12-30T06:28:31.300Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T06:28:31.300Z] ---> Running in 78f70f98c8a2 [2020-12-30T06:28:31.575Z] Removing intermediate container 78f70f98c8a2 [2020-12-30T06:28:31.575Z] ---> 20c4d9abde4d [2020-12-30T06:28:31.575Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-30T06:28:31.575Z] ---> Running in 0d311b1a65ed [2020-12-30T06:28:32.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-30T06:28:33.559Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-30T06:28:34.135Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-30T06:28:34.136Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-30T06:28:34.136Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-30T06:28:34.409Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-30T06:28:34.409Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-30T06:28:34.409Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T06:28:34.409Z] OK: 167 MiB in 44 packages [2020-12-30T06:28:35.373Z] Removing intermediate container 0d311b1a65ed [2020-12-30T06:28:35.373Z] ---> 076eda356a6b [2020-12-30T06:28:35.373Z] Step 6/8 : WORKDIR /build [2020-12-30T06:28:35.373Z] ---> Running in e4245dfcf9e4 [2020-12-30T06:28:35.373Z] Removing intermediate container e4245dfcf9e4 [2020-12-30T06:28:35.373Z] ---> 01e21d09c1f7 [2020-12-30T06:28:35.373Z] Step 7/8 : COPY go.mod . [2020-12-30T06:28:35.643Z] ---> 067e8aeb2730 [2020-12-30T06:28:35.643Z] Step 8/8 : RUN go mod download [2020-12-30T06:28:35.643Z] ---> Running in 23bb4165d237 [2020-12-30T06:28:57.785Z] Removing intermediate container 23bb4165d237 [2020-12-30T06:28:57.785Z] ---> d8ff83f78bc0 [2020-12-30T06:28:57.785Z] Successfully built d8ff83f78bc0 [2020-12-30T06:28:57.785Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:28:58.142Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T06:28:58.142Z] . [Pipeline] withDockerContainer [2020-12-30T06:28:58.315Z] prd-centos7-docker-4c-2g-17735 does not seem to be running inside a container [2020-12-30T06:28:58.370Z] $ 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-30T06:28:59.223Z] $ docker top 5cdb7dabe9290906c45ab6cc7b2c7b14f278e62ebfeb41284e5f86681f6d4daa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T06:28:59.833Z] + go version [2020-12-30T06:28:59.833Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-30T06:28:59.870Z] $ docker stop --time=1 5cdb7dabe9290906c45ab6cc7b2c7b14f278e62ebfeb41284e5f86681f6d4daa [2020-12-30T06:29:01.308Z] $ docker rm -f 5cdb7dabe9290906c45ab6cc7b2c7b14f278e62ebfeb41284e5f86681f6d4daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:29:02.484Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T06:29:02.484Z] . [Pipeline] withDockerContainer [2020-12-30T06:29:02.611Z] prd-centos7-docker-4c-2g-17735 does not seem to be running inside a container [2020-12-30T06:29:02.667Z] $ 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-30T06:29:03.458Z] $ docker top da83806ffddcdf39955a39e6b321ac3214dc1bfebdbf1adc55ea5d48b263c99b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T06:29:04.140Z] + make test [2020-12-30T06:29:04.140Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T06:29:05.568Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-30T06:29:11.065Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2020-12-30T06:29:11.065Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.64/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2020-12-30T06:29:11.065Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.64/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2020-12-30T06:29:11.065Z] have (string, bool, string, string) [2020-12-30T06:29:11.065Z] want (string, string) [2020-12-30T06:29:14.494Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-30T06:29:21.341Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-30T06:29:21.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.021s coverage: 97.7% of statements [2020-12-30T06:29:21.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-30T06:29:21.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.021s coverage: 88.9% of statements [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-30T06:29:21.342Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-30T06:29:21.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-30T06:29:21.342Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-30T06:29:21.392Z] $ docker stop --time=1 da83806ffddcdf39955a39e6b321ac3214dc1bfebdbf1adc55ea5d48b263c99b [2020-12-30T06:29:23.935Z] $ docker rm -f da83806ffddcdf39955a39e6b321ac3214dc1bfebdbf1adc55ea5d48b263c99b [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-30T06:29:26.526Z] Failed in branch amd64 [2020-12-30T06:29:53.732Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17740 in /w/workspace/ndry_app-functions-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-12-30T06:29:53.846Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-30T06:30:00.317Z] using credential edgex-jenkins-ssh [2020-12-30T06:30:00.381Z] Cloning the remote Git repository [2020-12-30T06:30:00.462Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:30:00.595Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-30T06:30:00.704Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:30:00.705Z] > git --version # timeout=10 [2020-12-30T06:30:00.735Z] > git --version # 'git version 2.17.1' [2020-12-30T06:30:00.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:30:00.827Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T06:30:05.329Z] Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit add14ffc96a67ca6a77578042b7795f9869ca675 [2020-12-30T06:30:05.728Z] Merge succeeded, producing add14ffc96a67ca6a77578042b7795f9869ca675 [2020-12-30T06:30:05.729Z] Checking out Revision add14ffc96a67ca6a77578042b7795f9869ca675 (PR-619) [2020-12-30T06:30:04.591Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-30T06:30:04.610Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T06:30:04.646Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-30T06:30:04.688Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-30T06:30:04.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:30:04.706Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T06:30:05.349Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T06:30:05.362Z] > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 [2020-12-30T06:30:05.474Z] > git remote # timeout=10 [2020-12-30T06:30:05.542Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T06:30:05.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T06:30:05.627Z] > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 [2020-12-30T06:30:05.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T06:30:05.739Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T06:30:05.775Z] > git checkout -f add14ffc96a67ca6a77578042b7795f9869ca675 # timeout=10 [2020-12-30T06:30:10.110Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-30T06:30:10.166Z] > git --version # timeout=10 [2020-12-30T06:30:10.181Z] > git --version # 'git version 2.17.1' [2020-12-30T06:30:10.200Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T06:30:12.090Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-30T06:30:12.534Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T06:30:12.890Z] + sudo service docker restart [2020-12-30T06:30:12.890Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-30T06:30:15.849Z] ========================================================= [2020-12-30T06:30:15.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-30T06:30:15.849Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:30:16.272Z] + 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-30T06:30:17.258Z] Sending build context to Docker daemon 19.07MB [2020-12-30T06:30:17.258Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-30T06:30:17.258Z] Step 2/8 : FROM ${BASE} [2020-12-30T06:30:17.856Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-30T06:30:17.856Z] 5f621e34cdf4: Pulling fs layer [2020-12-30T06:30:17.856Z] a4357932f1b6: Pulling fs layer [2020-12-30T06:30:17.856Z] 18c013af1878: Pulling fs layer [2020-12-30T06:30:17.856Z] 00ac8860ef70: Pulling fs layer [2020-12-30T06:30:17.856Z] 63d7cb157983: Pulling fs layer [2020-12-30T06:30:17.856Z] b116817d02f9: Pulling fs layer [2020-12-30T06:30:17.856Z] 745a02a5169b: Pulling fs layer [2020-12-30T06:30:17.856Z] 00ac8860ef70: Waiting [2020-12-30T06:30:17.856Z] 63d7cb157983: Waiting [2020-12-30T06:30:17.856Z] b116817d02f9: Waiting [2020-12-30T06:30:17.856Z] 745a02a5169b: Waiting [2020-12-30T06:30:17.856Z] 18c013af1878: Verifying Checksum [2020-12-30T06:30:17.856Z] 18c013af1878: Download complete [2020-12-30T06:30:17.856Z] a4357932f1b6: Verifying Checksum [2020-12-30T06:30:17.856Z] a4357932f1b6: Download complete [2020-12-30T06:30:17.856Z] 63d7cb157983: Verifying Checksum [2020-12-30T06:30:17.856Z] 63d7cb157983: Download complete [2020-12-30T06:30:17.856Z] b116817d02f9: Verifying Checksum [2020-12-30T06:30:17.856Z] b116817d02f9: Download complete [2020-12-30T06:30:18.128Z] 5f621e34cdf4: Verifying Checksum [2020-12-30T06:30:18.128Z] 5f621e34cdf4: Download complete [2020-12-30T06:30:18.726Z] 5f621e34cdf4: Pull complete [2020-12-30T06:30:19.330Z] a4357932f1b6: Pull complete [2020-12-30T06:30:19.619Z] 18c013af1878: Pull complete [2020-12-30T06:30:19.917Z] 745a02a5169b: Verifying Checksum [2020-12-30T06:30:19.917Z] 745a02a5169b: Download complete [2020-12-30T06:30:21.434Z] 00ac8860ef70: Verifying Checksum [2020-12-30T06:30:21.434Z] 00ac8860ef70: Download complete [2020-12-30T06:30:31.639Z] 00ac8860ef70: Pull complete [2020-12-30T06:30:31.639Z] 63d7cb157983: Pull complete [2020-12-30T06:30:31.639Z] b116817d02f9: Pull complete [2020-12-30T06:30:36.003Z] 745a02a5169b: Pull complete [2020-12-30T06:30:36.003Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-30T06:30:36.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-30T06:30:36.003Z] ---> b7e6874047d6 [2020-12-30T06:30:36.003Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-30T06:30:36.003Z] 20.10.0: Pulling from library/docker [2020-12-30T06:30:36.003Z] a3cc7d3b244e: Pulling fs layer [2020-12-30T06:30:36.003Z] 02a3295e0d61: Pulling fs layer [2020-12-30T06:30:36.003Z] 0f4f2e6d8100: Pulling fs layer [2020-12-30T06:30:36.003Z] 330b718f631f: Pulling fs layer [2020-12-30T06:30:36.003Z] a93816041522: Pulling fs layer [2020-12-30T06:30:36.003Z] bdb6da89ff94: Pulling fs layer [2020-12-30T06:30:36.003Z] 2a70c0c122f4: Pulling fs layer [2020-12-30T06:30:36.003Z] 330b718f631f: Waiting [2020-12-30T06:30:36.003Z] a93816041522: Waiting [2020-12-30T06:30:36.003Z] bdb6da89ff94: Waiting [2020-12-30T06:30:36.003Z] 2a70c0c122f4: Waiting [2020-12-30T06:30:36.003Z] 0f4f2e6d8100: Verifying Checksum [2020-12-30T06:30:36.003Z] 02a3295e0d61: Verifying Checksum [2020-12-30T06:30:36.003Z] 02a3295e0d61: Download complete [2020-12-30T06:30:36.003Z] a3cc7d3b244e: Verifying Checksum [2020-12-30T06:30:36.003Z] a3cc7d3b244e: Download complete [2020-12-30T06:30:36.003Z] bdb6da89ff94: Verifying Checksum [2020-12-30T06:30:36.003Z] a93816041522: Verifying Checksum [2020-12-30T06:30:36.003Z] bdb6da89ff94: Download complete [2020-12-30T06:30:36.003Z] a93816041522: Download complete [2020-12-30T06:30:36.003Z] 2a70c0c122f4: Verifying Checksum [2020-12-30T06:30:36.003Z] 2a70c0c122f4: Download complete [2020-12-30T06:30:36.633Z] a3cc7d3b244e: Pull complete [2020-12-30T06:30:37.238Z] 02a3295e0d61: Pull complete [2020-12-30T06:30:37.514Z] 330b718f631f: Verifying Checksum [2020-12-30T06:30:37.514Z] 330b718f631f: Download complete [2020-12-30T06:30:37.514Z] 0f4f2e6d8100: Pull complete [2020-12-30T06:30:41.860Z] 330b718f631f: Pull complete [2020-12-30T06:30:41.860Z] a93816041522: Pull complete [2020-12-30T06:30:42.137Z] bdb6da89ff94: Pull complete [2020-12-30T06:30:42.422Z] 2a70c0c122f4: Pull complete [2020-12-30T06:30:42.422Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-30T06:30:42.422Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-30T06:30:49.178Z] ---> 50b460c5062c [2020-12-30T06:30:49.178Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T06:30:49.178Z] ---> Running in 6a6bfc5e4618 [2020-12-30T06:30:49.454Z] Removing intermediate container 6a6bfc5e4618 [2020-12-30T06:30:49.454Z] ---> 13de78f6fe5f [2020-12-30T06:30:49.454Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-30T06:30:49.454Z] ---> Running in 21507651d46d [2020-12-30T06:30:50.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-30T06:30:51.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-30T06:30:52.485Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-30T06:30:52.485Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-30T06:30:52.760Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-30T06:30:52.760Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-30T06:30:52.760Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-30T06:30:53.034Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T06:30:53.034Z] OK: 144 MiB in 44 packages [2020-12-30T06:30:54.502Z] Removing intermediate container 21507651d46d [2020-12-30T06:30:54.502Z] ---> 24dadb02e98f [2020-12-30T06:30:54.502Z] Step 6/8 : WORKDIR /build [2020-12-30T06:30:54.785Z] ---> Running in 8a0794b6511b [2020-12-30T06:30:55.061Z] Removing intermediate container 8a0794b6511b [2020-12-30T06:30:55.061Z] ---> c1ef96f7f257 [2020-12-30T06:30:55.061Z] Step 7/8 : COPY go.mod . [2020-12-30T06:30:56.045Z] ---> 360cf8cf0027 [2020-12-30T06:30:56.045Z] Step 8/8 : RUN go mod download [2020-12-30T06:30:56.045Z] ---> Running in d4efce9ab5f6 [2020-12-30T06:31:22.931Z] Removing intermediate container d4efce9ab5f6 [2020-12-30T06:31:22.931Z] ---> 07d4c046c1a1 [2020-12-30T06:31:22.931Z] Successfully built 07d4c046c1a1 [2020-12-30T06:31:22.931Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:31:23.311Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T06:31:23.311Z] . [Pipeline] withDockerContainer [2020-12-30T06:31:23.587Z] prd-ubuntu18.04-docker-arm64-4c-16g-17740 does not seem to be running inside a container [2020-12-30T06:31:23.676Z] $ 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-arm64 cat [2020-12-30T06:31:25.333Z] $ docker top 3c1e617b3e8d13b083c9545b6fff00b60e4533fb0067a7cf822c617bc59238eb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T06:31:26.444Z] + go version [2020-12-30T06:31:26.444Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-30T06:31:26.479Z] $ docker stop --time=1 3c1e617b3e8d13b083c9545b6fff00b60e4533fb0067a7cf822c617bc59238eb [2020-12-30T06:31:28.532Z] $ docker rm -f 3c1e617b3e8d13b083c9545b6fff00b60e4533fb0067a7cf822c617bc59238eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:31:29.745Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T06:31:29.745Z] . [Pipeline] withDockerContainer [2020-12-30T06:31:30.020Z] prd-ubuntu18.04-docker-arm64-4c-16g-17740 does not seem to be running inside a container [2020-12-30T06:31:30.114Z] $ 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-arm64 cat [2020-12-30T06:31:31.733Z] $ docker top affff2879cd2eaa0dab64414b5904c4e2a89974a20fdd2657995e485850c23d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T06:31:32.821Z] + make test [2020-12-30T06:31:32.821Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T06:31:34.812Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-30T06:31:49.994Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2020-12-30T06:31:49.994Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.64/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2020-12-30T06:31:49.994Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.64/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2020-12-30T06:31:49.994Z] have (string, bool, string, string) [2020-12-30T06:31:49.994Z] want (string, string) [2020-12-30T06:32:05.161Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appcontext [build failed] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers [build failed] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/runtime [build failed] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-30T06:32:17.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.024s coverage: 97.7% of statements [2020-12-30T06:32:17.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus [build failed] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-12-30T06:32:17.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.036s coverage: 88.9% of statements [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/secure [build failed] [2020-12-30T06:32:17.582Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-12-30T06:32:17.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements [2020-12-30T06:32:17.582Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-30T06:32:17.633Z] $ docker stop --time=1 affff2879cd2eaa0dab64414b5904c4e2a89974a20fdd2657995e485850c23d8 [2020-12-30T06:32:19.972Z] $ docker rm -f affff2879cd2eaa0dab64414b5904c4e2a89974a20fdd2657995e485850c23d8 [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-30T06:32:23.671Z] 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-30T06:32:27.708Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:28.334Z] ---> package-listing.sh [2020-12-30T06:32:28.334Z] ++ facter osfamily [2020-12-30T06:32:28.334Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-30T06:32:28.334Z] + OS_FAMILY=redhat [2020-12-30T06:32:28.334Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-619 [2020-12-30T06:32:28.334Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-30T06:32:28.334Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-30T06:32:28.334Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-30T06:32:28.334Z] + PACKAGES=/tmp/packages_start.txt [2020-12-30T06:32:28.334Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-619 ']' [2020-12-30T06:32:28.334Z] + PACKAGES=/tmp/packages_end.txt [2020-12-30T06:32:28.334Z] + case "${OS_FAMILY}" in [2020-12-30T06:32:28.334Z] + rpm -qa [2020-12-30T06:32:28.334Z] + sort [2020-12-30T06:32:33.652Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-30T06:32:33.652Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-30T06:32:33.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-30T06:32:33.652Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-619 ']' [2020-12-30T06:32:33.652Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-619/archives/ [2020-12-30T06:32:33.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-619/archives/ [Pipeline] echo [2020-12-30T06:32:33.687Z] 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-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-30T06:32:34.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:32:34.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T06:32:34.350Z] [2020-12-30T06:32:34.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-30T06:32:34.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T06:32:34.748Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-30T06:32:34.748Z] df20fa9351a1: Pulling fs layer [2020-12-30T06:32:34.748Z] 36b3adc4ff6f: Pulling fs layer [2020-12-30T06:32:34.748Z] 8ad3a11d3b57: Pulling fs layer [2020-12-30T06:32:34.748Z] 46f8f816bc3b: Pulling fs layer [2020-12-30T06:32:34.748Z] 93b61091891f: Pulling fs layer [2020-12-30T06:32:34.748Z] 93b9cdb0e59b: Pulling fs layer [2020-12-30T06:32:34.748Z] 5e14af77c1be: Pulling fs layer [2020-12-30T06:32:34.748Z] 01666e4c0597: Pulling fs layer [2020-12-30T06:32:34.748Z] aa168da1d23b: Pulling fs layer [2020-12-30T06:32:34.748Z] 46f8f816bc3b: Waiting [2020-12-30T06:32:34.748Z] 93b61091891f: Waiting [2020-12-30T06:32:34.748Z] 93b9cdb0e59b: Waiting [2020-12-30T06:32:34.748Z] 5e14af77c1be: Waiting [2020-12-30T06:32:34.748Z] 01666e4c0597: Waiting [2020-12-30T06:32:34.748Z] aa168da1d23b: Waiting [2020-12-30T06:32:34.748Z] 36b3adc4ff6f: Verifying Checksum [2020-12-30T06:32:34.748Z] 36b3adc4ff6f: Download complete [2020-12-30T06:32:34.748Z] 46f8f816bc3b: Verifying Checksum [2020-12-30T06:32:34.748Z] 46f8f816bc3b: Download complete [2020-12-30T06:32:34.748Z] df20fa9351a1: Verifying Checksum [2020-12-30T06:32:34.748Z] df20fa9351a1: Download complete [2020-12-30T06:32:34.748Z] 93b9cdb0e59b: Verifying Checksum [2020-12-30T06:32:34.748Z] 93b9cdb0e59b: Download complete [2020-12-30T06:32:35.013Z] 5e14af77c1be: Download complete [2020-12-30T06:32:35.013Z] 01666e4c0597: Verifying Checksum [2020-12-30T06:32:35.013Z] 01666e4c0597: Download complete [2020-12-30T06:32:35.013Z] 93b61091891f: Verifying Checksum [2020-12-30T06:32:35.013Z] 93b61091891f: Download complete [2020-12-30T06:32:35.276Z] df20fa9351a1: Pull complete [2020-12-30T06:32:35.546Z] 36b3adc4ff6f: Pull complete [2020-12-30T06:32:35.546Z] 8ad3a11d3b57: Verifying Checksum [2020-12-30T06:32:35.546Z] 8ad3a11d3b57: Download complete [2020-12-30T06:32:36.541Z] 8ad3a11d3b57: Pull complete [2020-12-30T06:32:37.126Z] 46f8f816bc3b: Pull complete [2020-12-30T06:32:37.126Z] aa168da1d23b: Verifying Checksum [2020-12-30T06:32:37.126Z] aa168da1d23b: Download complete [2020-12-30T06:32:37.391Z] 93b61091891f: Pull complete [2020-12-30T06:32:37.659Z] 93b9cdb0e59b: Pull complete [2020-12-30T06:32:37.659Z] 5e14af77c1be: Pull complete [2020-12-30T06:32:37.659Z] 01666e4c0597: Pull complete [2020-12-30T06:32:44.340Z] aa168da1d23b: Pull complete [2020-12-30T06:32:44.340Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-30T06:32:44.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T06:32:44.340Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-30T06:32:44.564Z] prd-centos7-docker-4c-2g-17729 does not seem to be running inside a container [2020-12-30T06:32:44.614Z] $ 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-619/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-619 -v /w/workspace/ndry_app-functions-sdk-go_PR-619:/w/workspace/ndry_app-functions-sdk-go_PR-619:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-619@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-30T06:32:48.492Z] $ docker top 4cf5a3b1bf0c25e1cdeacb01202b4c53223115194e4b7deac45d2a91b64e8197 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T06:32:49.040Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-30T06:32:49.825Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-30T06:32:50.139Z] + ls /var/log/sa-host [2020-12-30T06:32:50.139Z] + sadf -c /var/log/sa-host/sa23 [2020-12-30T06:32:50.139Z] file_magic: OK [2020-12-30T06:32:50.139Z] HZ: Using current value: 100 [2020-12-30T06:32:50.139Z] file_header: OK [2020-12-30T06:32:50.139Z] 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-30T06:32:50.139Z] Statistics: [2020-12-30T06:32:50.139Z] Hnuu...uuuununununu... [2020-12-30T06:32:50.139Z] File successfully converted to sysstat format version 12.2.1 [2020-12-30T06:32:50.139Z] + sadf -c /var/log/sa-host/sa30 [2020-12-30T06:32:50.139Z] file_magic: OK [2020-12-30T06:32:50.139Z] HZ: Using current value: 100 [2020-12-30T06:32:50.139Z] file_header: OK [2020-12-30T06:32:50.139Z] 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-30T06:32:50.139Z] Statistics: [2020-12-30T06:32:50.139Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-30T06:32:50.139Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-30T06:32:50.422Z] provisioning config files... [2020-12-30T06:32:50.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-619@tmp/config105308194373619362tmp [Pipeline] { [Pipeline] echo [2020-12-30T06:32:50.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:50.934Z] ---> create-netrc.sh [Pipeline] } [2020-12-30T06:32:50.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-30T06:32:51.095Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:51.428Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-30T06:32:51.464Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:51.798Z] ---> sudo-logs.sh [2020-12-30T06:32:51.798Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-30T06:32:51.830Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:52.162Z] ---> job-cost.sh [2020-12-30T06:32:52.162Z] lf-activate-venv: SKIPPING [2020-12-30T06:32:52.162Z] INFO: No Stack... [2020-12-30T06:32:53.107Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-30T06:32:53.684Z] INFO: Archiving Costs [Pipeline] echo [2020-12-30T06:32:53.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T06:32:54.042Z] ---> logs-deploy.sh [2020-12-30T06:32:54.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-619/1 [2020-12-30T06:32:54.042Z] INFO: archiving workspace using pattern(s): [2020-12-30T06:32:55.960Z] Archives upload complete. [2020-12-30T06:32:55.960Z] INFO: archiving logs to Nexus