Pull request #591 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 22579d786105f3d46e95d11d8ec0d3a6dd748f3e+d5e638f2527a7df0e2423fefa94ca91616313c76 (e4636a45ad74bd334341db17332332cd97a48734) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-591/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-591/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15234 in /w/workspace/ndry_app-functions-sdk-go_PR-591 [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-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 22579d786105f3d46e95d11d8ec0d3a6dd748f3e Merge succeeded, producing 22579d786105f3d46e95d11d8ec0d3a6dd748f3e Checking out Revision 22579d786105f3d46e95d11d8ec0d3a6dd748f3e (PR-591) > git config core.sparsecheckout # timeout=10 > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # 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 d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-09T06:31:27.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-09T06:31:28.080Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-09T06:31:28.294Z] ========================================================= [2020-12-09T06:31:28.294Z] EdgeX Global Pipelines Version Info [2020-12-09T06:31:28.294Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:31:29.881Z] ------------------- [2020-12-09T06:31:29.881Z] stable info: [2020-12-09T06:31:29.881Z] ------------------- [2020-12-09T06:31:29.881Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-09T06:31:29.881Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-09T06:31:29.881Z] Message: update stable to v1.0.172 [2020-12-09T06:31:30.829Z] ------------------- [2020-12-09T06:31:30.829Z] experimental info: [2020-12-09T06:31:30.829Z] ------------------- [2020-12-09T06:31:30.829Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-09T06:31:30.829Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-09T06:31:30.829Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-09T06:31:31.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-09T06:31:31.497Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-09T06:31:31.636Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-09T06:31:31.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-09T06:31:31.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-09T06:31:32.052Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-09T06:31:32.219Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-09T06:31:32.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-09T06:31:32.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-09T06:31:32.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-09T06:31:32.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-09T06:31:32.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-09T06:31:33.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-09T06:31:33.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-09T06:31:33.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T06:31:33.553Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T06:31:33.687Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T06:31:33.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T06:31:33.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-09T06:31:34.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-09T06:31:34.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-09T06:31:34.354Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-09T06:31:34.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-09T06:31:34.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-09T06:31:34.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-09T06:31:34.916Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-09T06:31:35.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo [2020-12-09T06:31:35.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo [2020-12-09T06:31:35.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo [2020-12-09T06:31:35.496Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [Pipeline] echo [2020-12-09T06:31:35.629Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22579d7 [Pipeline] echo [2020-12-09T06:31:35.760Z] [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-09T06:31:36.674Z] + git log --format=format:%s -1 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [Pipeline] echo [2020-12-09T06:31:36.790Z] GIT_COMMIT: 22579d786105f3d46e95d11d8ec0d3a6dd748f3e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-09T06:31:36.867Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:31:37.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T06:31:37.774Z] [2020-12-09T06:31:37.774Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:31:38.206Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T06:31:38.206Z] latest: Pulling from edgex-devops/git-semver [2020-12-09T06:31:38.206Z] 31603596830f: Pulling fs layer [2020-12-09T06:31:38.206Z] 2a8b12db71e7: Pulling fs layer [2020-12-09T06:31:38.206Z] 6ca5941a6612: Pulling fs layer [2020-12-09T06:31:38.206Z] ecc8261a40a4: Pulling fs layer [2020-12-09T06:31:38.206Z] ecc8261a40a4: Waiting [2020-12-09T06:31:38.206Z] 2a8b12db71e7: Verifying Checksum [2020-12-09T06:31:38.206Z] 2a8b12db71e7: Download complete [2020-12-09T06:31:38.480Z] 31603596830f: Verifying Checksum [2020-12-09T06:31:38.480Z] 31603596830f: Download complete [2020-12-09T06:31:38.480Z] ecc8261a40a4: Verifying Checksum [2020-12-09T06:31:38.480Z] ecc8261a40a4: Download complete [2020-12-09T06:31:38.480Z] 6ca5941a6612: Verifying Checksum [2020-12-09T06:31:38.480Z] 6ca5941a6612: Download complete [2020-12-09T06:31:39.060Z] 31603596830f: Pull complete [2020-12-09T06:31:39.060Z] 2a8b12db71e7: Pull complete [2020-12-09T06:31:40.012Z] 6ca5941a6612: Pull complete [2020-12-09T06:31:40.276Z] ecc8261a40a4: Pull complete [2020-12-09T06:31:40.276Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-09T06:31:40.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T06:31:40.276Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-09T06:31:40.410Z] prd-centos7-docker-4c-2g-15234 does not seem to be running inside a container [2020-12-09T06:31:40.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-591 -v /w/workspace/ndry_app-functions-sdk-go_PR-591:/w/workspace/ndry_app-functions-sdk-go_PR-591:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-591@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-09T06:31:42.831Z] $ docker top 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-09T06:31:43.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-09T06:31:43.242Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-09T06:31:43.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-09T06:31:43.478Z] $ docker exec 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 ssh-agent [2020-12-09T06:31:43.647Z] SSH_AUTH_SOCK=/tmp/ssh-eLYoD7L7NqUC/agent.12 [2020-12-09T06:31:43.647Z] SSH_AGENT_PID=17 [2020-12-09T06:31:43.658Z] Running ssh-add (command line suppressed) [2020-12-09T06:31:43.782Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-591@tmp/private_key_3378976250946541378.key (/w/workspace/ndry_app-functions-sdk-go_PR-591@tmp/private_key_3378976250946541378.key) [2020-12-09T06:31:43.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-09T06:31:44.226Z] + git tag --points-at HEAD [Pipeline] } [2020-12-09T06:31:44.262Z] $ docker exec --env ******** --env ******** 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 ssh-agent -k [2020-12-09T06:31:44.384Z] unset SSH_AUTH_SOCK; [2020-12-09T06:31:44.384Z] unset SSH_AGENT_PID; [2020-12-09T06:31:44.384Z] echo Agent pid 17 killed; [2020-12-09T06:31:44.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-09T06:31:44.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-09T06:31:44.645Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-09T06:31:44.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-09T06:31:44.833Z] $ docker exec 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 ssh-agent [2020-12-09T06:31:45.015Z] SSH_AUTH_SOCK=/tmp/ssh-IQLSUrJsyUFI/agent.46 [2020-12-09T06:31:45.015Z] SSH_AGENT_PID=51 [2020-12-09T06:31:45.024Z] Running ssh-add (command line suppressed) [2020-12-09T06:31:45.159Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-591@tmp/private_key_8881011297091697873.key (/w/workspace/ndry_app-functions-sdk-go_PR-591@tmp/private_key_8881011297091697873.key) [2020-12-09T06:31:45.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-09T06:31:45.592Z] + git semver init [2020-12-09T06:31:45.592Z] # -> Open(): unable to determine branch for HEAD [2020-12-09T06:31:45.592Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-591/.git [2020-12-09T06:31:45.592Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-591 [2020-12-09T06:31:45.592Z] # $SEMVER_REMOTE_NAME = origin [2020-12-09T06:31:45.592Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-09T06:31:45.592Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-09T06:31:45.592Z] # $SEMVER_BRANCH = PR-591 [2020-12-09T06:31:45.592Z] # $SEMVER_TEMP = /tmp/semver-972589507 [2020-12-09T06:31:45.592Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-09T06:31:48.160Z] # '/tmp/semver-972589507' -> '/w/workspace/ndry_app-functions-sdk-go_PR-591/.semver' [2020-12-09T06:31:48.160Z] # -> Force: false [2020-12-09T06:31:48.160Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-591/.semver [Pipeline] } [2020-12-09T06:31:48.181Z] $ docker exec --env ******** --env ******** 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 ssh-agent -k [2020-12-09T06:31:48.300Z] unset SSH_AUTH_SOCK; [2020-12-09T06:31:48.300Z] unset SSH_AGENT_PID; [2020-12-09T06:31:48.300Z] echo Agent pid 51 killed; [2020-12-09T06:31:48.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-09T06:31:48.989Z] + git semver [Pipeline] } [2020-12-09T06:31:49.024Z] $ docker stop --time=1 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 [2020-12-09T06:31:50.508Z] $ docker rm -f 403f049309aa14b15db309bf22182938e9796dea1e80351f981eacb30114e318 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-09T06:31:51.112Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-09T06:31:51.662Z] Stashed 1 file(s) [Pipeline] echo [2020-12-09T06:31:51.686Z] [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-09T06:32:07.531Z] Still waiting to schedule task [2020-12-09T06:32:07.531Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-09T06:32:07.560Z] Still waiting to schedule task [2020-12-09T06:32:07.560Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-09T06:34:57.963Z] Running on prd-centos7-docker-4c-2g-15235 in /w/workspace/ndry_app-functions-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-12-09T06:34:58.065Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-09T06:35:03.774Z] using credential edgex-jenkins-ssh [2020-12-09T06:35:03.833Z] Cloning the remote Git repository [2020-12-09T06:35:03.955Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:04.042Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-09T06:35:04.482Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:04.482Z] > git --version # timeout=10 [2020-12-09T06:35:04.494Z] > git --version # 'git version 2.24.3' [2020-12-09T06:35:04.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:04.536Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T06:35:06.598Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-09T06:35:06.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T06:35:06.783Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-09T06:35:06.861Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:06.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:06.876Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-09T06:35:07.505Z] Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [2020-12-09T06:35:07.779Z] Merge succeeded, producing 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [2020-12-09T06:35:07.780Z] Checking out Revision 22579d786105f3d46e95d11d8ec0d3a6dd748f3e (PR-591) [2020-12-09T06:35:07.531Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T06:35:07.550Z] > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # timeout=10 [2020-12-09T06:35:07.623Z] > git remote # timeout=10 [2020-12-09T06:35:07.640Z] > git config --get remote.origin.url # timeout=10 [2020-12-09T06:35:07.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:07.701Z] > git merge d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 [2020-12-09T06:35:07.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-09T06:35:07.786Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T06:35:07.815Z] > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # timeout=10 [2020-12-09T06:35:11.759Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-09T06:35:11.795Z] > git --version # timeout=10 [2020-12-09T06:35:11.810Z] > git --version # 'git version 2.24.3' [2020-12-09T06:35:11.835Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-09T06:35:13.970Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-09T06:35:14.388Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-09T06:35:14.901Z] + sudo service docker restart [2020-12-09T06:35:14.901Z] + true [2020-12-09T06:35:14.901Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-09T06:35:16.913Z] ========================================================= [2020-12-09T06:35:16.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-09T06:35:16.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:35:17.370Z] + 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-09T06:35:18.392Z] Sending build context to Docker daemon 19.16MB [2020-12-09T06:35:18.393Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-09T06:35:18.393Z] Step 2/8 : FROM ${BASE} [2020-12-09T06:35:18.662Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-09T06:35:18.662Z] 188c0c94c7c5: Pulling fs layer [2020-12-09T06:35:18.662Z] 0ef7d3d256c8: Pulling fs layer [2020-12-09T06:35:18.662Z] de9db76c5a1d: Pulling fs layer [2020-12-09T06:35:18.662Z] bca2f99d35d6: Pulling fs layer [2020-12-09T06:35:18.662Z] 93359f2a8cfa: Pulling fs layer [2020-12-09T06:35:18.662Z] 7c6f9722023f: Pulling fs layer [2020-12-09T06:35:18.662Z] a35cf1a2eb13: Pulling fs layer [2020-12-09T06:35:18.662Z] 93359f2a8cfa: Waiting [2020-12-09T06:35:18.662Z] 7c6f9722023f: Waiting [2020-12-09T06:35:18.662Z] a35cf1a2eb13: Waiting [2020-12-09T06:35:18.662Z] bca2f99d35d6: Waiting [2020-12-09T06:35:18.662Z] de9db76c5a1d: Verifying Checksum [2020-12-09T06:35:18.662Z] de9db76c5a1d: Download complete [2020-12-09T06:35:18.662Z] 0ef7d3d256c8: Verifying Checksum [2020-12-09T06:35:18.662Z] 0ef7d3d256c8: Download complete [2020-12-09T06:35:18.944Z] 93359f2a8cfa: Verifying Checksum [2020-12-09T06:35:18.944Z] 93359f2a8cfa: Download complete [2020-12-09T06:35:19.531Z] 7c6f9722023f: Verifying Checksum [2020-12-09T06:35:19.531Z] 7c6f9722023f: Download complete [2020-12-09T06:35:19.827Z] 188c0c94c7c5: Verifying Checksum [2020-12-09T06:35:19.827Z] 188c0c94c7c5: Download complete [2020-12-09T06:35:20.895Z] 188c0c94c7c5: Pull complete [2020-12-09T06:35:21.177Z] 0ef7d3d256c8: Pull complete [2020-12-09T06:35:21.462Z] de9db76c5a1d: Pull complete [2020-12-09T06:35:24.113Z] a35cf1a2eb13: Verifying Checksum [2020-12-09T06:35:24.113Z] a35cf1a2eb13: Download complete [2020-12-09T06:35:24.393Z] bca2f99d35d6: Verifying Checksum [2020-12-09T06:35:24.393Z] bca2f99d35d6: Download complete [2020-12-09T06:35:34.649Z] bca2f99d35d6: Pull complete [2020-12-09T06:35:34.649Z] 93359f2a8cfa: Pull complete [2020-12-09T06:35:34.649Z] 7c6f9722023f: Pull complete [2020-12-09T06:35:37.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15236 in /w/workspace/ndry_app-functions-sdk-go_PR-591 [Pipeline] { [Pipeline] ws [2020-12-09T06:35:37.591Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-09T06:35:38.941Z] a35cf1a2eb13: Pull complete [2020-12-09T06:35:39.207Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-09T06:35:39.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-09T06:35:39.207Z] ---> a62c8e92a672 [2020-12-09T06:35:39.207Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-09T06:35:39.483Z] latest: Pulling from library/docker [2020-12-09T06:35:39.758Z] 188c0c94c7c5: Already exists [2020-12-09T06:35:39.758Z] 0c7c675703d6: Pulling fs layer [2020-12-09T06:35:39.758Z] cc8c12a437cb: Pulling fs layer [2020-12-09T06:35:39.758Z] f092543453df: Pulling fs layer [2020-12-09T06:35:39.758Z] 65b6bc45957d: Pulling fs layer [2020-12-09T06:35:39.758Z] 4de832df471b: Pulling fs layer [2020-12-09T06:35:39.758Z] 79aa7fa92271: Pulling fs layer [2020-12-09T06:35:39.758Z] 65b6bc45957d: Waiting [2020-12-09T06:35:39.758Z] 4de832df471b: Waiting [2020-12-09T06:35:39.758Z] 79aa7fa92271: Waiting [2020-12-09T06:35:39.758Z] cc8c12a437cb: Verifying Checksum [2020-12-09T06:35:39.758Z] cc8c12a437cb: Download complete [2020-12-09T06:35:39.758Z] 0c7c675703d6: Verifying Checksum [2020-12-09T06:35:39.758Z] 0c7c675703d6: Download complete [2020-12-09T06:35:40.035Z] 4de832df471b: Verifying Checksum [2020-12-09T06:35:40.035Z] 4de832df471b: Download complete [2020-12-09T06:35:40.035Z] 65b6bc45957d: Verifying Checksum [2020-12-09T06:35:40.035Z] 65b6bc45957d: Download complete [2020-12-09T06:35:40.035Z] 79aa7fa92271: Verifying Checksum [2020-12-09T06:35:40.035Z] 79aa7fa92271: Download complete [2020-12-09T06:35:40.313Z] 0c7c675703d6: Pull complete [2020-12-09T06:35:40.313Z] cc8c12a437cb: Pull complete [2020-12-09T06:35:42.616Z] using credential edgex-jenkins-ssh [2020-12-09T06:35:42.707Z] Cloning the remote Git repository [2020-12-09T06:35:42.760Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:42.862Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-09T06:35:42.934Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:42.935Z] > git --version # timeout=10 [2020-12-09T06:35:42.959Z] > git --version # 'git version 2.17.1' [2020-12-09T06:35:42.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:43.041Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T06:35:44.586Z] f092543453df: Verifying Checksum [2020-12-09T06:35:44.586Z] f092543453df: Download complete [2020-12-09T06:35:49.105Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-09T06:35:49.126Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T06:35:49.155Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-09T06:35:49.190Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-09T06:35:49.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:49.205Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-09T06:35:49.739Z] Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [2020-12-09T06:35:49.979Z] Merge succeeded, producing 22579d786105f3d46e95d11d8ec0d3a6dd748f3e [2020-12-09T06:35:49.980Z] Checking out Revision 22579d786105f3d46e95d11d8ec0d3a6dd748f3e (PR-591) [2020-12-09T06:35:49.997Z] f092543453df: Pull complete [2020-12-09T06:35:49.997Z] 65b6bc45957d: Pull complete [2020-12-09T06:35:49.997Z] 4de832df471b: Pull complete [2020-12-09T06:35:49.997Z] 79aa7fa92271: Pull complete [2020-12-09T06:35:49.997Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-09T06:35:49.997Z] Status: Downloaded newer image for docker:latest [2020-12-09T06:35:49.759Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T06:35:49.789Z] > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # timeout=10 [2020-12-09T06:35:49.900Z] > git remote # timeout=10 [2020-12-09T06:35:49.918Z] > git config --get remote.origin.url # timeout=10 [2020-12-09T06:35:49.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T06:35:49.942Z] > git merge d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 [2020-12-09T06:35:49.967Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-09T06:35:49.986Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T06:35:49.995Z] > git checkout -f 22579d786105f3d46e95d11d8ec0d3a6dd748f3e # timeout=10 [2020-12-09T06:35:52.711Z] ---> 386c26ca34ff [2020-12-09T06:35:52.711Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-09T06:35:52.711Z] ---> Running in beeb5a1efd8b [2020-12-09T06:35:53.008Z] Removing intermediate container beeb5a1efd8b [2020-12-09T06:35:53.008Z] ---> 320766e14ed2 [2020-12-09T06:35:53.008Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-09T06:35:53.008Z] ---> Running in fe7cb5c226d3 [2020-12-09T06:35:54.367Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-09T06:35:54.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-09T06:35:54.424Z] > git --version # timeout=10 [2020-12-09T06:35:54.433Z] > git --version # 'git version 2.17.1' [2020-12-09T06:35:54.448Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-09T06:35:54.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-12-09T06:35:55.332Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-09T06:35:55.332Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-09T06:35:55.332Z] (3/5) Installing pkgconf (1.7.2-r0) [Pipeline] sh [2020-12-09T06:35:55.605Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-09T06:35:55.605Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-09T06:35:55.605Z] Executing busybox-1.31.1-r19.trigger [2020-12-09T06:35:55.881Z] OK: 167 MiB in 44 packages [2020-12-09T06:35:56.416Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2020-12-09T06:35:56.471Z] Removing intermediate container fe7cb5c226d3 [2020-12-09T06:35:56.471Z] ---> fe432e4d5ad9 [2020-12-09T06:35:56.471Z] Step 6/8 : WORKDIR /build [Pipeline] sh [2020-12-09T06:35:56.736Z] ---> Running in fdf29c49a3bb [2020-12-09T06:35:56.903Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-09T06:35:57.002Z] Removing intermediate container fdf29c49a3bb [2020-12-09T06:35:57.002Z] ---> 8330e5f9c4a6 [2020-12-09T06:35:57.002Z] Step 7/8 : COPY go.mod . [2020-12-09T06:35:57.276Z] ---> a65fff5818b3 [2020-12-09T06:35:57.276Z] Step 8/8 : RUN go mod download [2020-12-09T06:35:57.276Z] ---> Running in 42e454135832 [2020-12-09T06:35:57.280Z] + sudo service docker restart [2020-12-09T06:35:57.280Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-09T06:35:59.567Z] ========================================================= [2020-12-09T06:35:59.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-09T06:35:59.567Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:36:00.024Z] + 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-09T06:36:01.010Z] Sending build context to Docker daemon 19.16MB [2020-12-09T06:36:01.010Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-09T06:36:01.010Z] Step 2/8 : FROM ${BASE} [2020-12-09T06:36:01.283Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-09T06:36:01.283Z] 5f621e34cdf4: Pulling fs layer [2020-12-09T06:36:01.283Z] a4357932f1b6: Pulling fs layer [2020-12-09T06:36:01.283Z] 18c013af1878: Pulling fs layer [2020-12-09T06:36:01.283Z] 00ac8860ef70: Pulling fs layer [2020-12-09T06:36:01.283Z] 63d7cb157983: Pulling fs layer [2020-12-09T06:36:01.283Z] b116817d02f9: Pulling fs layer [2020-12-09T06:36:01.283Z] 745a02a5169b: Pulling fs layer [2020-12-09T06:36:01.283Z] b116817d02f9: Waiting [2020-12-09T06:36:01.283Z] 00ac8860ef70: Waiting [2020-12-09T06:36:01.283Z] 63d7cb157983: Waiting [2020-12-09T06:36:01.283Z] 745a02a5169b: Waiting [2020-12-09T06:36:01.558Z] 18c013af1878: Download complete [2020-12-09T06:36:01.558Z] a4357932f1b6: Verifying Checksum [2020-12-09T06:36:01.558Z] a4357932f1b6: Download complete [2020-12-09T06:36:01.558Z] 63d7cb157983: Verifying Checksum [2020-12-09T06:36:01.558Z] 63d7cb157983: Download complete [2020-12-09T06:36:01.558Z] b116817d02f9: Download complete [2020-12-09T06:36:01.558Z] 5f621e34cdf4: Verifying Checksum [2020-12-09T06:36:01.558Z] 5f621e34cdf4: Download complete [2020-12-09T06:36:02.164Z] 5f621e34cdf4: Pull complete [2020-12-09T06:36:02.785Z] a4357932f1b6: Pull complete [2020-12-09T06:36:03.388Z] 18c013af1878: Pull complete [2020-12-09T06:36:03.985Z] 745a02a5169b: Verifying Checksum [2020-12-09T06:36:03.985Z] 745a02a5169b: Download complete [2020-12-09T06:36:04.967Z] 00ac8860ef70: Verifying Checksum [2020-12-09T06:36:04.967Z] 00ac8860ef70: Download complete [2020-12-09T06:36:15.140Z] 00ac8860ef70: Pull complete [2020-12-09T06:36:15.414Z] 63d7cb157983: Pull complete [2020-12-09T06:36:15.687Z] b116817d02f9: Pull complete [2020-12-09T06:36:20.001Z] 745a02a5169b: Pull complete [2020-12-09T06:36:20.001Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-09T06:36:20.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-09T06:36:20.001Z] ---> b7e6874047d6 [2020-12-09T06:36:20.001Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-09T06:36:20.001Z] latest: Pulling from library/docker [2020-12-09T06:36:20.001Z] 5f621e34cdf4: Already exists [2020-12-09T06:36:20.001Z] 85db56a05063: Pulling fs layer [2020-12-09T06:36:20.001Z] ccb67d6aeaaa: Pulling fs layer [2020-12-09T06:36:20.001Z] de930078acea: Pulling fs layer [2020-12-09T06:36:20.001Z] d5a9d88a4785: Pulling fs layer [2020-12-09T06:36:20.001Z] e7f15c1544d5: Pulling fs layer [2020-12-09T06:36:20.001Z] 877c515997d3: Pulling fs layer [2020-12-09T06:36:20.001Z] d5a9d88a4785: Waiting [2020-12-09T06:36:20.001Z] 877c515997d3: Waiting [2020-12-09T06:36:20.001Z] e7f15c1544d5: Waiting [2020-12-09T06:36:20.001Z] ccb67d6aeaaa: Download complete [2020-12-09T06:36:20.001Z] 85db56a05063: Verifying Checksum [2020-12-09T06:36:20.001Z] 85db56a05063: Download complete [2020-12-09T06:36:20.001Z] e7f15c1544d5: Verifying Checksum [2020-12-09T06:36:20.001Z] e7f15c1544d5: Download complete [2020-12-09T06:36:20.001Z] d5a9d88a4785: Download complete [2020-12-09T06:36:20.277Z] 877c515997d3: Verifying Checksum [2020-12-09T06:36:20.277Z] 877c515997d3: Download complete [2020-12-09T06:36:20.553Z] 85db56a05063: Pull complete [2020-12-09T06:36:21.149Z] ccb67d6aeaaa: Pull complete [2020-12-09T06:36:24.148Z] Removing intermediate container 42e454135832 [2020-12-09T06:36:24.148Z] ---> 9a465674d874 [2020-12-09T06:36:24.148Z] Successfully built 9a465674d874 [2020-12-09T06:36:24.148Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:36:24.527Z] de930078acea: Verifying Checksum [2020-12-09T06:36:24.527Z] de930078acea: Download complete [2020-12-09T06:36:24.539Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-09T06:36:24.827Z] . [Pipeline] withDockerContainer [2020-12-09T06:36:25.046Z] prd-centos7-docker-4c-2g-15235 does not seem to be running inside a container [2020-12-09T06:36:25.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-09T06:36:26.268Z] $ docker top b12ac977c6d4565291bd248bfacffce800d4cd12fedf07df9dee081240cea152 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T06:36:26.943Z] + go version [2020-12-09T06:36:26.943Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-09T06:36:26.982Z] $ docker stop --time=1 b12ac977c6d4565291bd248bfacffce800d4cd12fedf07df9dee081240cea152 [2020-12-09T06:36:27.931Z] de930078acea: Pull complete [2020-12-09T06:36:27.931Z] d5a9d88a4785: Pull complete [2020-12-09T06:36:27.931Z] e7f15c1544d5: Pull complete [2020-12-09T06:36:28.202Z] 877c515997d3: Pull complete [2020-12-09T06:36:28.203Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-09T06:36:28.203Z] Status: Downloaded newer image for docker:latest [2020-12-09T06:36:28.485Z] $ docker rm -f b12ac977c6d4565291bd248bfacffce800d4cd12fedf07df9dee081240cea152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:36:29.677Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-09T06:36:29.677Z] . [Pipeline] withDockerContainer [2020-12-09T06:36:29.885Z] prd-centos7-docker-4c-2g-15235 does not seem to be running inside a container [2020-12-09T06:36:30.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-09T06:36:30.933Z] $ docker top 29dcf5fe15da7d96e4d3f3c1cea139e679d85e34991e0ec2f3ce4c5b1f6ee68c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T06:36:31.790Z] + make test [2020-12-09T06:36:31.790Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-09T06:36:34.627Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-09T06:36:34.914Z] ---> 128d2c980861 [2020-12-09T06:36:34.914Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-09T06:36:34.914Z] ---> Running in 453e409c0b82 [2020-12-09T06:36:34.914Z] Removing intermediate container 453e409c0b82 [2020-12-09T06:36:34.914Z] ---> 8a672279e794 [2020-12-09T06:36:34.914Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-09T06:36:34.914Z] ---> Running in bb625bfccc3b [2020-12-09T06:36:36.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-09T06:36:36.945Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-09T06:36:37.534Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-09T06:36:37.535Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-09T06:36:37.535Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-09T06:36:37.535Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-09T06:36:37.807Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-09T06:36:37.807Z] Executing busybox-1.31.1-r19.trigger [2020-12-09T06:36:37.807Z] OK: 144 MiB in 44 packages [2020-12-09T06:36:39.249Z] Removing intermediate container bb625bfccc3b [2020-12-09T06:36:39.249Z] ---> 75515a8e1223 [2020-12-09T06:36:39.249Z] Step 6/8 : WORKDIR /build [2020-12-09T06:36:39.520Z] ---> Running in 1155e8047284 [2020-12-09T06:36:39.793Z] Removing intermediate container 1155e8047284 [2020-12-09T06:36:39.793Z] ---> 9989a5014d22 [2020-12-09T06:36:39.793Z] Step 7/8 : COPY go.mod . [2020-12-09T06:36:40.773Z] ---> 541d482260d1 [2020-12-09T06:36:40.773Z] Step 8/8 : RUN go mod download [2020-12-09T06:36:40.773Z] ---> Running in e4bc372fdc53 [2020-12-09T06:36:47.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.091s coverage: 86.2% of statements [2020-12-09T06:37:06.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.035s coverage: 52.0% of statements [2020-12-09T06:37:06.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-09T06:37:06.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-09T06:37:06.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.097s coverage: 54.7% of statements [2020-12-09T06:37:06.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-09T06:37:06.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.064s coverage: 69.1% of statements [2020-12-09T06:37:07.576Z] Removing intermediate container e4bc372fdc53 [2020-12-09T06:37:07.576Z] ---> fa05a6c16deb [2020-12-09T06:37:07.576Z] Successfully built fa05a6c16deb [2020-12-09T06:37:07.576Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:37:07.953Z] + docker inspect -f . ci-base-image-arm64 [2020-12-09T06:37:07.953Z] . [Pipeline] withDockerContainer [2020-12-09T06:37:08.261Z] prd-ubuntu18.04-docker-arm64-4c-16g-15236 does not seem to be running inside a container [2020-12-09T06:37:08.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-09T06:37:09.888Z] $ docker top 139ef17b907bb56dd3c0c5d1a2d6883a9abc0908c02db899280104ca4d5c85f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T06:37:11.036Z] + go version [2020-12-09T06:37:11.037Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-09T06:37:11.076Z] $ docker stop --time=1 139ef17b907bb56dd3c0c5d1a2d6883a9abc0908c02db899280104ca4d5c85f3 [2020-12-09T06:37:13.036Z] $ docker rm -f 139ef17b907bb56dd3c0c5d1a2d6883a9abc0908c02db899280104ca4d5c85f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:37:14.365Z] + docker inspect -f . ci-base-image-arm64 [2020-12-09T06:37:14.365Z] . [Pipeline] withDockerContainer [2020-12-09T06:37:14.615Z] prd-ubuntu18.04-docker-arm64-4c-16g-15236 does not seem to be running inside a container [2020-12-09T06:37:14.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-09T06:37:16.122Z] $ docker top 0fad411b66066d0a72b7012ba25505aee0d83d8fb33c2c3402940f9bd7fb1353 -eo pid,comm [Pipeline] { [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.425s coverage: 61.6% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.038s coverage: 89.5% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.077s coverage: 100.0% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.019s coverage: 100.0% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.016s coverage: 100.0% of statements [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.935s coverage: 75.0% of statements [2020-12-09T06:37:16.471Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.017s coverage: 88.9% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.018s coverage: 80.5% of statements [2020-12-09T06:37:16.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.029s coverage: 71.7% of statements [Pipeline] sh [2020-12-09T06:37:17.187Z] + make test [2020-12-09T06:37:17.187Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-09T06:37:18.623Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-09T06:37:38.607Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.121s coverage: 71.0% of statements [2020-12-09T06:37:38.607Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.010s coverage: 94.4% of statements [2020-12-09T06:37:38.607Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-09T06:37:40.838Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.041s coverage: 86.2% of statements [2020-12-09T06:37:44.132Z] gofmt -l . [2020-12-09T06:37:44.401Z] [ "`gofmt -l .`" = "" ] [2020-12-09T06:37:44.401Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-09T06:37:45.478Z] $ docker stop --time=1 29dcf5fe15da7d96e4d3f3c1cea139e679d85e34991e0ec2f3ce4c5b1f6ee68c [2020-12-09T06:37:47.473Z] $ docker rm -f 29dcf5fe15da7d96e4d3f3c1cea139e679d85e34991e0ec2f3ce4c5b1f6ee68c [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-09T06:37:48.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-09T06:37:49.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-09T06:38:07.676Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.059s coverage: 52.0% of statements [2020-12-09T06:38:07.676Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-09T06:38:07.676Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-09T06:38:07.676Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 54.7% of statements [2020-12-09T06:38:07.676Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-09T06:38:07.676Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.055s coverage: 69.1% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.481s coverage: 61.6% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.034s coverage: 100.0% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-09T06:38:15.953Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-09T06:38:15.953Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 8.8% of statements [2020-12-09T06:38:17.391Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2020-12-09T06:38:17.391Z] messaging_test.go:255: [2020-12-09T06:38:17.391Z] Error Trace: messaging_test.go:255 [2020-12-09T06:38:17.391Z] Error: Should be true [2020-12-09T06:38:17.391Z] Test: TestInitializeAndProcessEventWithOutput [2020-12-09T06:38:17.391Z] Messages: Transform never called [2020-12-09T06:38:17.391Z] FAIL [2020-12-09T06:38:17.391Z] coverage: 66.7% of statements [2020-12-09T06:38:17.391Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.935s [2020-12-09T06:38:17.391Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-09T06:38:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.7% of statements [2020-12-09T06:38:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-12-09T06:38:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.038s coverage: 80.5% of statements [2020-12-09T06:38:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements [2020-12-09T06:38:44.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 71.0% of statements [2020-12-09T06:38:44.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-12-09T06:38:44.202Z] FAIL [2020-12-09T06:38:44.202Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-12-09T06:38:44.259Z] $ docker stop --time=1 0fad411b66066d0a72b7012ba25505aee0d83d8fb33c2c3402940f9bd7fb1353 [2020-12-09T06:38:46.391Z] $ docker rm -f 0fad411b66066d0a72b7012ba25505aee0d83d8fb33c2c3402940f9bd7fb1353 [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-09T06:38:49.164Z] 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-09T06:38:53.892Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:38:54.241Z] ---> package-listing.sh [2020-12-09T06:38:54.241Z] ++ facter osfamily [2020-12-09T06:38:54.241Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-09T06:38:54.241Z] + OS_FAMILY=redhat [2020-12-09T06:38:54.241Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-591 [2020-12-09T06:38:54.241Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-09T06:38:54.241Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-09T06:38:54.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-09T06:38:54.241Z] + PACKAGES=/tmp/packages_start.txt [2020-12-09T06:38:54.241Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-591 ']' [2020-12-09T06:38:54.241Z] + PACKAGES=/tmp/packages_end.txt [2020-12-09T06:38:54.241Z] + case "${OS_FAMILY}" in [2020-12-09T06:38:54.241Z] + rpm -qa [2020-12-09T06:38:54.241Z] + sort [2020-12-09T06:38:59.568Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-09T06:38:59.568Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-09T06:38:59.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-09T06:38:59.568Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-591 ']' [2020-12-09T06:38:59.568Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-591/archives/ [2020-12-09T06:38:59.568Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-591/archives/ [Pipeline] echo [2020-12-09T06:38:59.607Z] 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-591/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-09T06:38:59.927Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:39:00.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T06:39:00.267Z] [2020-12-09T06:39:00.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-09T06:39:00.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T06:39:00.667Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-09T06:39:00.667Z] df20fa9351a1: Pulling fs layer [2020-12-09T06:39:00.667Z] 36b3adc4ff6f: Pulling fs layer [2020-12-09T06:39:00.667Z] 8ad3a11d3b57: Pulling fs layer [2020-12-09T06:39:00.667Z] 46f8f816bc3b: Pulling fs layer [2020-12-09T06:39:00.667Z] 93b61091891f: Pulling fs layer [2020-12-09T06:39:00.667Z] 93b9cdb0e59b: Pulling fs layer [2020-12-09T06:39:00.667Z] 5e14af77c1be: Pulling fs layer [2020-12-09T06:39:00.667Z] 01666e4c0597: Pulling fs layer [2020-12-09T06:39:00.667Z] aa168da1d23b: Pulling fs layer [2020-12-09T06:39:00.667Z] 5e14af77c1be: Waiting [2020-12-09T06:39:00.667Z] 01666e4c0597: Waiting [2020-12-09T06:39:00.667Z] 93b61091891f: Waiting [2020-12-09T06:39:00.667Z] 93b9cdb0e59b: Waiting [2020-12-09T06:39:00.667Z] aa168da1d23b: Waiting [2020-12-09T06:39:00.667Z] 36b3adc4ff6f: Download complete [2020-12-09T06:39:00.667Z] 46f8f816bc3b: Download complete [2020-12-09T06:39:00.933Z] df20fa9351a1: Download complete [2020-12-09T06:39:00.933Z] 93b9cdb0e59b: Verifying Checksum [2020-12-09T06:39:00.933Z] 93b9cdb0e59b: Download complete [2020-12-09T06:39:00.933Z] 5e14af77c1be: Verifying Checksum [2020-12-09T06:39:00.933Z] 5e14af77c1be: Download complete [2020-12-09T06:39:00.933Z] 01666e4c0597: Download complete [2020-12-09T06:39:00.933Z] 93b61091891f: Verifying Checksum [2020-12-09T06:39:00.933Z] 93b61091891f: Download complete [2020-12-09T06:39:00.933Z] 8ad3a11d3b57: Verifying Checksum [2020-12-09T06:39:00.933Z] 8ad3a11d3b57: Download complete [2020-12-09T06:39:01.208Z] df20fa9351a1: Pull complete [2020-12-09T06:39:01.487Z] 36b3adc4ff6f: Pull complete [2020-12-09T06:39:02.448Z] 8ad3a11d3b57: Pull complete [2020-12-09T06:39:03.028Z] aa168da1d23b: Verifying Checksum [2020-12-09T06:39:03.028Z] aa168da1d23b: Download complete [2020-12-09T06:39:03.028Z] 46f8f816bc3b: Pull complete [2020-12-09T06:39:03.293Z] 93b61091891f: Pull complete [2020-12-09T06:39:03.557Z] 93b9cdb0e59b: Pull complete [2020-12-09T06:39:03.557Z] 5e14af77c1be: Pull complete [2020-12-09T06:39:03.825Z] 01666e4c0597: Pull complete [2020-12-09T06:39:10.453Z] aa168da1d23b: Pull complete [2020-12-09T06:39:10.453Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-09T06:39:10.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T06:39:10.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-09T06:39:10.636Z] prd-centos7-docker-4c-2g-15234 does not seem to be running inside a container [2020-12-09T06:39:10.690Z] $ 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-591/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-591 -v /w/workspace/ndry_app-functions-sdk-go_PR-591:/w/workspace/ndry_app-functions-sdk-go_PR-591:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-591@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-09T06:39:14.291Z] $ docker top a25b51e665f4796f2d6f58398095a95fe6058aaa7637429dd1a2aa5d08c90b92 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T06:39:14.946Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-09T06:39:15.270Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-09T06:39:15.594Z] + ls /var/log/sa-host [2020-12-09T06:39:15.594Z] + sadf -c /var/log/sa-host/sa09 [2020-12-09T06:39:15.594Z] file_magic: OK [2020-12-09T06:39:15.594Z] HZ: Using current value: 100 [2020-12-09T06:39:15.594Z] file_header: OK [2020-12-09T06:39:15.594Z] 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-09T06:39:15.594Z] Statistics: [2020-12-09T06:39:15.594Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-09T06:39:15.594Z] File successfully converted to sysstat format version 12.2.1 [2020-12-09T06:39:15.594Z] + sadf -c /var/log/sa-host/sa23 [2020-12-09T06:39:15.594Z] file_magic: OK [2020-12-09T06:39:15.594Z] HZ: Using current value: 100 [2020-12-09T06:39:15.594Z] file_header: OK [2020-12-09T06:39:15.594Z] 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-09T06:39:15.594Z] Statistics: [2020-12-09T06:39:15.594Z] Hnuu...uuuununununu... [2020-12-09T06:39:15.594Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-09T06:39:15.872Z] provisioning config files... [2020-12-09T06:39:15.896Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-591@tmp/config3345465608284908620tmp [Pipeline] { [Pipeline] echo [2020-12-09T06:39:16.026Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:39:16.371Z] ---> create-netrc.sh [Pipeline] } [2020-12-09T06:39:16.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-09T06:39:16.567Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:39:16.909Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-09T06:39:16.943Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:39:17.292Z] ---> sudo-logs.sh [2020-12-09T06:39:17.292Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-09T06:39:17.337Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:39:17.684Z] ---> job-cost.sh [2020-12-09T06:39:17.684Z] lf-activate-venv: SKIPPING [2020-12-09T06:39:17.684Z] INFO: No Stack... [2020-12-09T06:39:19.077Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-09T06:39:19.340Z] INFO: Archiving Costs [Pipeline] echo [2020-12-09T06:39:19.378Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T06:39:19.721Z] ---> logs-deploy.sh [2020-12-09T06:39:19.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-591/1 [2020-12-09T06:39:19.722Z] INFO: archiving workspace using pattern(s): [2020-12-09T06:39:21.645Z] Archives upload complete. [2020-12-09T06:39:21.645Z] INFO: archiving logs to Nexus