Pull request #493 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b1a2da33b98cde542a93111aae126adecdce6db1+fad33aabfdf809cde5ac805c7b011a40b9f9cebc (caadf18b4248f2f28924ac67a72aeea7b445e3ed) Running in Durability level: PERFORMANCE_OPTIMIZED 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-293 in /w/workspace/ndry_app-functions-sdk-go_PR-493 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-493 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fad33aabfdf809cde5ac805c7b011a40b9f9cebc into PR head commit b1a2da33b98cde542a93111aae126adecdce6db1 Merge succeeded, producing b1a2da33b98cde542a93111aae126adecdce6db1 Checking out Revision b1a2da33b98cde542a93111aae126adecdce6db1 (PR-493) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/493/head:refs/remotes/origin/PR-493 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # 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 fad33aabfdf809cde5ac805c7b011a40b9f9cebc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk a695f39fa95b3c5f764aaa7eb78d8ef9b807c878 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T19:05:09.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T19:05:09.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T19:05:09.601Z] ========================================================= [2020-09-17T19:05:09.601Z] EdgeX Global Pipelines Version Info [2020-09-17T19:05:09.601Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:05:11.052Z] ------------------- [2020-09-17T19:05:11.052Z] stable info: [2020-09-17T19:05:11.052Z] ------------------- [2020-09-17T19:05:11.052Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T19:05:11.052Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T19:05:11.052Z] Message: update stable to v1.0.122 [2020-09-17T19:05:11.627Z] ------------------- [2020-09-17T19:05:11.627Z] experimental info: [2020-09-17T19:05:11.627Z] ------------------- [2020-09-17T19:05:11.627Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T19:05:11.627Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-17T19:05:11.627Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T19:05:11.980Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-17T19:05:12.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-17T19:05:12.215Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T19:05:12.324Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T19:05:12.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T19:05:12.511Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T19:05:12.608Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T19:05:12.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T19:05:12.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T19:05:12.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T19:05:12.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T19:05:13.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-17T19:05:13.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T19:05:13.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T19:05:13.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T19:05:13.569Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T19:05:13.666Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T19:05:13.762Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T19:05:13.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T19:05:13.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T19:05:14.090Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-17T19:05:14.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-17T19:05:14.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-493 [Pipeline] echo [2020-09-17T19:05:14.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-493 [Pipeline] echo [2020-09-17T19:05:14.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-493 [Pipeline] echo [2020-09-17T19:05:14.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1a2da33b98cde542a93111aae126adecdce6db1 [Pipeline] echo [2020-09-17T19:05:14.652Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1a2da3 [Pipeline] echo [2020-09-17T19:05:14.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T19:05:15.348Z] + git log --format=format:%s -1 b1a2da33b98cde542a93111aae126adecdce6db1 [Pipeline] echo [2020-09-17T19:05:15.406Z] GIT_COMMIT: b1a2da33b98cde542a93111aae126adecdce6db1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-09-17T19:05:15.455Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:05:16.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T19:05:16.000Z] [2020-09-17T19:05:16.000Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:05:16.347Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T19:05:16.347Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T19:05:16.347Z] 31603596830f: Pulling fs layer [2020-09-17T19:05:16.347Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T19:05:16.347Z] 6ca5941a6612: Pulling fs layer [2020-09-17T19:05:16.347Z] ecc8261a40a4: Pulling fs layer [2020-09-17T19:05:16.347Z] ecc8261a40a4: Waiting [2020-09-17T19:05:16.347Z] 2a8b12db71e7: Download complete [2020-09-17T19:05:16.615Z] 31603596830f: Verifying Checksum [2020-09-17T19:05:16.615Z] 31603596830f: Download complete [2020-09-17T19:05:16.615Z] ecc8261a40a4: Verifying Checksum [2020-09-17T19:05:16.615Z] ecc8261a40a4: Download complete [2020-09-17T19:05:16.615Z] 6ca5941a6612: Verifying Checksum [2020-09-17T19:05:16.615Z] 6ca5941a6612: Download complete [2020-09-17T19:05:16.615Z] 31603596830f: Pull complete [2020-09-17T19:05:16.878Z] 2a8b12db71e7: Pull complete [2020-09-17T19:05:17.464Z] 6ca5941a6612: Pull complete [2020-09-17T19:05:17.726Z] ecc8261a40a4: Pull complete [2020-09-17T19:05:17.726Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T19:05:17.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T19:05:17.726Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T19:05:17.833Z] prd-centos7-docker-4c-2g-293 does not seem to be running inside a container [2020-09-17T19:05:17.881Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-493 -v /w/workspace/ndry_app-functions-sdk-go_PR-493:/w/workspace/ndry_app-functions-sdk-go_PR-493:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-493@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-493@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T19:05:20.199Z] $ docker top 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T19:05:20.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T19:05:20.689Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T19:05:20.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T19:05:20.879Z] $ docker exec 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b ssh-agent [2020-09-17T19:05:21.020Z] SSH_AUTH_SOCK=/tmp/ssh-yGzVwiIbIgwF/agent.12 [2020-09-17T19:05:21.020Z] SSH_AGENT_PID=17 [2020-09-17T19:05:21.029Z] Running ssh-add (command line suppressed) [2020-09-17T19:05:21.137Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/private_key_4274011045706172996.key (/w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/private_key_4274011045706172996.key) [2020-09-17T19:05:21.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T19:05:21.520Z] + git describe --exact-match --tags HEAD [2020-09-17T19:05:21.520Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T19:05:21.541Z] $ docker exec --env ******** --env ******** 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b ssh-agent -k [2020-09-17T19:05:21.647Z] unset SSH_AUTH_SOCK; [2020-09-17T19:05:21.648Z] unset SSH_AGENT_PID; [2020-09-17T19:05:21.648Z] echo Agent pid 17 killed; [2020-09-17T19:05:21.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T19:05:21.780Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T19:05:21.780Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T19:05:21.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T19:05:21.884Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T19:05:22.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T19:05:22.038Z] $ docker exec 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b ssh-agent [2020-09-17T19:05:22.179Z] SSH_AUTH_SOCK=/tmp/ssh-eVvxu3mD74zP/agent.45 [2020-09-17T19:05:22.179Z] SSH_AGENT_PID=50 [2020-09-17T19:05:22.185Z] Running ssh-add (command line suppressed) [2020-09-17T19:05:22.296Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/private_key_4470425014123873981.key (/w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/private_key_4470425014123873981.key) [2020-09-17T19:05:22.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T19:05:22.679Z] + git semver init [2020-09-17T19:05:22.679Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T19:05:22.679Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-493/.git [2020-09-17T19:05:22.679Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-493 [2020-09-17T19:05:22.679Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T19:05:22.679Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T19:05:22.679Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T19:05:22.679Z] # $SEMVER_BRANCH = PR-493 [2020-09-17T19:05:22.679Z] # $SEMVER_TEMP = /tmp/semver-649611287 [2020-09-17T19:05:22.679Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-17T19:05:25.253Z] # '/tmp/semver-649611287' -> '/w/workspace/ndry_app-functions-sdk-go_PR-493/.semver' [2020-09-17T19:05:25.253Z] # -> Force: false [2020-09-17T19:05:25.253Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-493/.semver [Pipeline] } [2020-09-17T19:05:25.269Z] $ docker exec --env ******** --env ******** 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b ssh-agent -k [2020-09-17T19:05:25.379Z] unset SSH_AUTH_SOCK; [2020-09-17T19:05:25.379Z] unset SSH_AGENT_PID; [2020-09-17T19:05:25.379Z] echo Agent pid 50 killed; [2020-09-17T19:05:25.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T19:05:25.951Z] + git semver [Pipeline] } [2020-09-17T19:05:25.977Z] $ docker stop --time=1 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b [2020-09-17T19:05:27.483Z] $ docker rm -f 12b46af38193a220c588d4a99fa1cf38ae460549d330131d6c8bb5586a53990b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T19:05:29.614Z] Stashed 46 file(s) [Pipeline] echo [2020-09-17T19:05:29.616Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T19:05:29.707Z] Archived original 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-09-17T19:05:45.151Z] Still waiting to schedule task [2020-09-17T19:05:45.151Z] ‘prd-centos7-docker-4c-2g-290’ is offline; ‘prd-centos7-docker-4c-2g-294’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-289’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-17T19:05:45.153Z] Still waiting to schedule task [2020-09-17T19:05:45.153Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-289’ is offline [2020-09-17T19:09:19.654Z] Running on prd-centos7-docker-4c-2g-297 in /w/workspace/ndry_app-functions-sdk-go_PR-493 [Pipeline] { [Pipeline] ws [2020-09-17T19:09:19.722Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-17T19:09:22.384Z] using credential edgex-jenkins-ssh [2020-09-17T19:09:22.433Z] Cloning the remote Git repository [2020-09-17T19:09:22.433Z] Cloning with configured refspecs honoured and without tags [2020-09-17T19:09:22.372Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:09:22.467Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-17T19:09:22.524Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:09:22.524Z] > git --version # timeout=10 [2020-09-17T19:09:22.531Z] > git --version # 'git version 2.16.5' [2020-09-17T19:09:22.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:09:22.575Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:09:23.910Z] Fetching without tags [2020-09-17T19:09:24.284Z] Merging remotes/origin/master commit fad33aabfdf809cde5ac805c7b011a40b9f9cebc into PR head commit b1a2da33b98cde542a93111aae126adecdce6db1 [2020-09-17T19:09:23.884Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T19:09:23.890Z] > git config --add remote.origin.fetch +refs/pull/493/head:refs/remotes/origin/PR-493 # timeout=10 [2020-09-17T19:09:23.897Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:09:23.907Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T19:09:23.916Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:09:23.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:09:23.920Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:09:24.295Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T19:09:24.299Z] > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # timeout=10 [2020-09-17T19:09:24.375Z] Merge succeeded, producing b1a2da33b98cde542a93111aae126adecdce6db1 [2020-09-17T19:09:24.376Z] Checking out Revision b1a2da33b98cde542a93111aae126adecdce6db1 (PR-493) [2020-09-17T19:09:24.346Z] > git remote # timeout=10 [2020-09-17T19:09:24.353Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T19:09:24.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:09:24.363Z] > git merge fad33aabfdf809cde5ac805c7b011a40b9f9cebc # timeout=10 [2020-09-17T19:09:24.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T19:09:24.381Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T19:09:24.386Z] > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # timeout=10 [2020-09-17T19:09:27.962Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T19:09:30.163Z] ========================================================= [2020-09-17T19:09:30.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T19:09:30.163Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:09:31.003Z] + 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-09-17T19:09:31.580Z] Sending build context to Docker daemon 37.18MB [2020-09-17T19:09:31.580Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T19:09:31.580Z] Step 2/8 : FROM ${BASE} [2020-09-17T19:09:31.580Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T19:09:31.580Z] df20fa9351a1: Pulling fs layer [2020-09-17T19:09:31.580Z] ed8968b2872e: Pulling fs layer [2020-09-17T19:09:31.580Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T19:09:31.580Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T19:09:31.580Z] e73272ec9a57: Pulling fs layer [2020-09-17T19:09:31.580Z] 1e910a182e73: Pulling fs layer [2020-09-17T19:09:31.580Z] 4e634b169226: Pulling fs layer [2020-09-17T19:09:31.580Z] e871e8e8d7a9: Waiting [2020-09-17T19:09:31.580Z] e73272ec9a57: Waiting [2020-09-17T19:09:31.580Z] 1e910a182e73: Waiting [2020-09-17T19:09:31.580Z] 4e634b169226: Waiting [2020-09-17T19:09:31.580Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T19:09:31.580Z] a92cc7c5fd73: Download complete [2020-09-17T19:09:31.580Z] ed8968b2872e: Verifying Checksum [2020-09-17T19:09:31.580Z] ed8968b2872e: Download complete [2020-09-17T19:09:31.843Z] e73272ec9a57: Verifying Checksum [2020-09-17T19:09:31.843Z] e73272ec9a57: Download complete [2020-09-17T19:09:31.843Z] 1e910a182e73: Verifying Checksum [2020-09-17T19:09:31.843Z] 1e910a182e73: Download complete [2020-09-17T19:09:31.843Z] df20fa9351a1: Verifying Checksum [2020-09-17T19:09:31.843Z] df20fa9351a1: Download complete [2020-09-17T19:09:32.107Z] df20fa9351a1: Pull complete [2020-09-17T19:09:32.107Z] ed8968b2872e: Pull complete [2020-09-17T19:09:32.368Z] a92cc7c5fd73: Pull complete [2020-09-17T19:09:33.322Z] 4e634b169226: Verifying Checksum [2020-09-17T19:09:33.322Z] 4e634b169226: Download complete [2020-09-17T19:09:34.268Z] e871e8e8d7a9: Download complete [2020-09-17T19:09:38.504Z] e871e8e8d7a9: Pull complete [2020-09-17T19:09:38.504Z] e73272ec9a57: Pull complete [2020-09-17T19:09:38.504Z] 1e910a182e73: Pull complete [2020-09-17T19:09:46.667Z] 4e634b169226: Pull complete [2020-09-17T19:09:46.667Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T19:09:46.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T19:09:46.667Z] ---> f7629b54cfaa [2020-09-17T19:09:46.667Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-17T19:09:46.667Z] latest: Pulling from library/docker [2020-09-17T19:09:46.667Z] df20fa9351a1: Already exists [2020-09-17T19:09:46.667Z] 25ad7478873d: Pulling fs layer [2020-09-17T19:09:46.667Z] 4684f6177b5d: Pulling fs layer [2020-09-17T19:09:46.667Z] 46e300cec669: Pulling fs layer [2020-09-17T19:09:46.667Z] 63038576ad94: Pulling fs layer [2020-09-17T19:09:46.667Z] 0fdb76c4706c: Pulling fs layer [2020-09-17T19:09:46.667Z] cb7edeffdfd5: Pulling fs layer [2020-09-17T19:09:46.667Z] 63038576ad94: Waiting [2020-09-17T19:09:46.667Z] 0fdb76c4706c: Waiting [2020-09-17T19:09:46.667Z] cb7edeffdfd5: Waiting [2020-09-17T19:09:46.667Z] 25ad7478873d: Verifying Checksum [2020-09-17T19:09:46.667Z] 25ad7478873d: Download complete [2020-09-17T19:09:46.930Z] 63038576ad94: Verifying Checksum [2020-09-17T19:09:46.930Z] 63038576ad94: Download complete [2020-09-17T19:09:46.930Z] 0fdb76c4706c: Verifying Checksum [2020-09-17T19:09:46.930Z] 0fdb76c4706c: Download complete [2020-09-17T19:09:46.930Z] cb7edeffdfd5: Verifying Checksum [2020-09-17T19:09:46.930Z] cb7edeffdfd5: Download complete [2020-09-17T19:09:47.195Z] 25ad7478873d: Pull complete [2020-09-17T19:09:47.195Z] 4684f6177b5d: Pull complete [2020-09-17T19:09:47.772Z] 46e300cec669: Verifying Checksum [2020-09-17T19:09:47.772Z] 46e300cec669: Download complete [2020-09-17T19:09:49.700Z] 46e300cec669: Pull complete [2020-09-17T19:09:49.700Z] 63038576ad94: Pull complete [2020-09-17T19:09:49.700Z] 0fdb76c4706c: Pull complete [2020-09-17T19:09:49.979Z] cb7edeffdfd5: Pull complete [2020-09-17T19:09:49.979Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T19:09:49.979Z] Status: Downloaded newer image for docker:latest [2020-09-17T19:09:51.399Z] ---> 492cdba1e423 [2020-09-17T19:09:51.399Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T19:09:51.399Z] ---> Running in 105b24d49e9f [2020-09-17T19:09:51.661Z] Removing intermediate container 105b24d49e9f [2020-09-17T19:09:51.661Z] ---> f86bd4d3b02e [2020-09-17T19:09:51.661Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T19:09:51.661Z] ---> Running in 250734b35044 [2020-09-17T19:09:52.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T19:09:53.626Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T19:09:54.572Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T19:09:54.835Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T19:09:54.835Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T19:09:55.097Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T19:09:55.097Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T19:09:55.361Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T19:09:55.361Z] OK: 167 MiB in 44 packages [2020-09-17T19:09:55.934Z] Removing intermediate container 250734b35044 [2020-09-17T19:09:55.934Z] ---> d3805b4646a7 [2020-09-17T19:09:55.934Z] Step 6/8 : WORKDIR /build [2020-09-17T19:09:55.934Z] ---> Running in f5185d4953cf [2020-09-17T19:09:56.195Z] Removing intermediate container f5185d4953cf [2020-09-17T19:09:56.195Z] ---> 4baf2d74701d [2020-09-17T19:09:56.195Z] Step 7/8 : COPY go.mod . [2020-09-17T19:09:56.460Z] ---> e73c8b83fd2a [2020-09-17T19:09:56.461Z] Step 8/8 : RUN go mod download [2020-09-17T19:09:56.461Z] ---> Running in f56c647bae80 [2020-09-17T19:10:23.070Z] Removing intermediate container f56c647bae80 [2020-09-17T19:10:23.070Z] ---> 5c48ab0bad48 [2020-09-17T19:10:23.070Z] Successfully built 5c48ab0bad48 [2020-09-17T19:10:23.070Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:10:23.437Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T19:10:23.437Z] . [Pipeline] withDockerContainer [2020-09-17T19:10:23.616Z] prd-centos7-docker-4c-2g-297 does not seem to be running inside a container [2020-09-17T19:10:23.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-09-17T19:10:24.422Z] $ docker top 55509a5f91d82bcc1806fbd289b21a6c4feb6f284d76040817fc33a765f47c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:10:24.915Z] + go version [2020-09-17T19:10:24.915Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T19:10:24.932Z] $ docker stop --time=1 55509a5f91d82bcc1806fbd289b21a6c4feb6f284d76040817fc33a765f47c40 [2020-09-17T19:10:26.265Z] $ docker rm -f 55509a5f91d82bcc1806fbd289b21a6c4feb6f284d76040817fc33a765f47c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:10:27.170Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T19:10:27.170Z] . [Pipeline] withDockerContainer [2020-09-17T19:10:27.268Z] prd-centos7-docker-4c-2g-297 does not seem to be running inside a container [2020-09-17T19:10:27.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-09-17T19:10:27.882Z] $ docker top 07a71cffa089577ecfd734ab60d2a8016cc6bf2d57ea5714589fe4df7de64731 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:10:28.378Z] + make test [2020-09-17T19:10:28.378Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T19:10:30.309Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T19:10:36.952Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.090s coverage: 86.2% of statements [2020-09-17T19:10:51.957Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.053s coverage: 56.1% of statements [2020-09-17T19:10:51.957Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T19:10:51.957Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T19:10:51.957Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.026s coverage: 53.5% of statements [2020-09-17T19:10:51.957Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T19:10:51.957Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.253s coverage: 69.1% of statements [2020-09-17T19:11:04.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.479s coverage: 61.6% of statements [2020-09-17T19:11:04.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-17T19:11:04.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.074s coverage: 100.0% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.004s coverage: 100.0% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T19:11:04.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.014s coverage: 75.0% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-17T19:11:04.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.088s coverage: 80.0% of statements [2020-09-17T19:11:22.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 27.430s coverage: 71.6% of statements [2020-09-17T19:11:22.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.004s coverage: 94.4% of statements [2020-09-17T19:11:22.323Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T19:11:25.666Z] gofmt -l . [2020-09-17T19:11:25.666Z] [ "`gofmt -l .`" = "" ] [2020-09-17T19:11:25.666Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T19:11:26.587Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T19:11:26.594Z] $ docker stop --time=1 07a71cffa089577ecfd734ab60d2a8016cc6bf2d57ea5714589fe4df7de64731 [2020-09-17T19:11:28.165Z] $ docker rm -f 07a71cffa089577ecfd734ab60d2a8016cc6bf2d57ea5714589fe4df7de64731 [Pipeline] // withDockerContainer [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-09-17T19:14:54.642Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-298 in /w/workspace/ndry_app-functions-sdk-go_PR-493 [Pipeline] { [Pipeline] ws [2020-09-17T19:14:54.704Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-17T19:15:00.033Z] using credential edgex-jenkins-ssh [2020-09-17T19:15:00.133Z] Cloning the remote Git repository [2020-09-17T19:15:00.134Z] Cloning with configured refspecs honoured and without tags [2020-09-17T19:15:00.188Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:15:00.305Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-17T19:15:00.390Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:15:00.392Z] > git --version # timeout=10 [2020-09-17T19:15:00.414Z] > git --version # 'git version 2.17.1' [2020-09-17T19:15:00.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:15:00.485Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:15:03.501Z] Fetching without tags [2020-09-17T19:15:03.402Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T19:15:03.421Z] > git config --add remote.origin.fetch +refs/pull/493/head:refs/remotes/origin/PR-493 # timeout=10 [2020-09-17T19:15:03.433Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:15:03.480Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T19:15:03.513Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T19:15:03.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:15:03.530Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T19:15:04.002Z] Merging remotes/origin/master commit fad33aabfdf809cde5ac805c7b011a40b9f9cebc into PR head commit b1a2da33b98cde542a93111aae126adecdce6db1 [2020-09-17T19:15:04.238Z] Merge succeeded, producing b1a2da33b98cde542a93111aae126adecdce6db1 [2020-09-17T19:15:04.239Z] Checking out Revision b1a2da33b98cde542a93111aae126adecdce6db1 (PR-493) [2020-09-17T19:15:04.027Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T19:15:04.045Z] > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # timeout=10 [2020-09-17T19:15:04.152Z] > git remote # timeout=10 [2020-09-17T19:15:04.170Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T19:15:04.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T19:15:04.196Z] > git merge fad33aabfdf809cde5ac805c7b011a40b9f9cebc # timeout=10 [2020-09-17T19:15:04.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T19:15:04.244Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T19:15:04.270Z] > git checkout -f b1a2da33b98cde542a93111aae126adecdce6db1 # timeout=10 [2020-09-17T19:15:08.584Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T19:15:12.259Z] ========================================================= [2020-09-17T19:15:12.259Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T19:15:12.259Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:15:13.412Z] + 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-09-17T19:15:14.862Z] Sending build context to Docker daemon 37.18MB [2020-09-17T19:15:14.862Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T19:15:14.862Z] Step 2/8 : FROM ${BASE} [2020-09-17T19:15:14.862Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T19:15:14.862Z] b538f80385f9: Pulling fs layer [2020-09-17T19:15:14.862Z] 74f711af9a0d: Pulling fs layer [2020-09-17T19:15:14.862Z] 99f96fe45779: Pulling fs layer [2020-09-17T19:15:14.862Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T19:15:14.862Z] 45590311c82a: Pulling fs layer [2020-09-17T19:15:14.862Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T19:15:14.862Z] 209524e5b208: Pulling fs layer [2020-09-17T19:15:14.862Z] 45590311c82a: Waiting [2020-09-17T19:15:14.862Z] 69ca0ff8b7b3: Waiting [2020-09-17T19:15:14.862Z] 209524e5b208: Waiting [2020-09-17T19:15:14.862Z] 8529a6b9a6be: Waiting [2020-09-17T19:15:15.137Z] 74f711af9a0d: Verifying Checksum [2020-09-17T19:15:15.137Z] 99f96fe45779: Verifying Checksum [2020-09-17T19:15:15.137Z] 74f711af9a0d: Download complete [2020-09-17T19:15:15.137Z] 99f96fe45779: Download complete [2020-09-17T19:15:15.137Z] 45590311c82a: Download complete [2020-09-17T19:15:15.137Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T19:15:15.137Z] 69ca0ff8b7b3: Download complete [2020-09-17T19:15:15.137Z] b538f80385f9: Verifying Checksum [2020-09-17T19:15:15.137Z] b538f80385f9: Download complete [2020-09-17T19:15:15.739Z] b538f80385f9: Pull complete [2020-09-17T19:15:16.339Z] 74f711af9a0d: Pull complete [2020-09-17T19:15:16.614Z] 99f96fe45779: Pull complete [2020-09-17T19:15:18.045Z] 209524e5b208: Verifying Checksum [2020-09-17T19:15:18.045Z] 209524e5b208: Download complete [2020-09-17T19:15:19.030Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T19:15:19.030Z] 8529a6b9a6be: Download complete [2020-09-17T19:15:31.434Z] 8529a6b9a6be: Pull complete [2020-09-17T19:15:31.434Z] 45590311c82a: Pull complete [2020-09-17T19:15:31.434Z] 69ca0ff8b7b3: Pull complete [2020-09-17T19:15:34.065Z] 209524e5b208: Pull complete [2020-09-17T19:15:34.065Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T19:15:34.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T19:15:34.065Z] ---> 5bddaf1c2fca [2020-09-17T19:15:34.065Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-17T19:15:34.340Z] latest: Pulling from library/docker [2020-09-17T19:15:34.340Z] b538f80385f9: Already exists [2020-09-17T19:15:34.340Z] 259a493cd78d: Pulling fs layer [2020-09-17T19:15:34.340Z] b8e66b5100f5: Pulling fs layer [2020-09-17T19:15:34.340Z] 39dc9c94d07c: Pulling fs layer [2020-09-17T19:15:34.340Z] 551b823b3b82: Pulling fs layer [2020-09-17T19:15:34.340Z] 3c52a74df98c: Pulling fs layer [2020-09-17T19:15:34.340Z] 6c9b121b6998: Pulling fs layer [2020-09-17T19:15:34.340Z] 551b823b3b82: Waiting [2020-09-17T19:15:34.340Z] 6c9b121b6998: Waiting [2020-09-17T19:15:34.340Z] 3c52a74df98c: Waiting [2020-09-17T19:15:34.615Z] b8e66b5100f5: Verifying Checksum [2020-09-17T19:15:34.615Z] b8e66b5100f5: Download complete [2020-09-17T19:15:34.615Z] 259a493cd78d: Verifying Checksum [2020-09-17T19:15:34.615Z] 259a493cd78d: Download complete [2020-09-17T19:15:34.615Z] 551b823b3b82: Download complete [2020-09-17T19:15:34.892Z] 3c52a74df98c: Verifying Checksum [2020-09-17T19:15:34.892Z] 3c52a74df98c: Download complete [2020-09-17T19:15:34.892Z] 6c9b121b6998: Verifying Checksum [2020-09-17T19:15:34.892Z] 6c9b121b6998: Download complete [2020-09-17T19:15:35.494Z] 259a493cd78d: Pull complete [2020-09-17T19:15:35.772Z] 39dc9c94d07c: Verifying Checksum [2020-09-17T19:15:35.772Z] 39dc9c94d07c: Download complete [2020-09-17T19:15:35.772Z] b8e66b5100f5: Pull complete [2020-09-17T19:15:39.174Z] 39dc9c94d07c: Pull complete [2020-09-17T19:15:39.459Z] 551b823b3b82: Pull complete [2020-09-17T19:15:39.736Z] 3c52a74df98c: Pull complete [2020-09-17T19:15:40.336Z] 6c9b121b6998: Pull complete [2020-09-17T19:15:40.336Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T19:15:40.336Z] Status: Downloaded newer image for docker:latest [2020-09-17T19:15:47.042Z] ---> 60768481a8c7 [2020-09-17T19:15:47.042Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T19:15:47.042Z] ---> Running in ec5cabc5b600 [2020-09-17T19:15:47.042Z] Removing intermediate container ec5cabc5b600 [2020-09-17T19:15:47.042Z] ---> c6c07c3514de [2020-09-17T19:15:47.042Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T19:15:47.042Z] ---> Running in 262874d7139e [2020-09-17T19:15:48.015Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T19:15:48.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T19:15:49.952Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T19:15:49.952Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T19:15:49.952Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T19:15:49.952Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T19:15:50.222Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T19:15:50.222Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T19:15:50.222Z] OK: 144 MiB in 44 packages [2020-09-17T19:15:51.647Z] Removing intermediate container 262874d7139e [2020-09-17T19:15:51.647Z] ---> 41ace171bfb3 [2020-09-17T19:15:51.647Z] Step 6/8 : WORKDIR /build [2020-09-17T19:15:51.647Z] ---> Running in 3e0f9ddbe920 [2020-09-17T19:15:52.241Z] Removing intermediate container 3e0f9ddbe920 [2020-09-17T19:15:52.241Z] ---> 990e506683b7 [2020-09-17T19:15:52.241Z] Step 7/8 : COPY go.mod . [2020-09-17T19:15:52.838Z] ---> cb1d2f57582f [2020-09-17T19:15:52.838Z] Step 8/8 : RUN go mod download [2020-09-17T19:15:53.120Z] ---> Running in 7f0ca9f733dd [2020-09-17T19:16:25.461Z] Removing intermediate container 7f0ca9f733dd [2020-09-17T19:16:25.461Z] ---> e28fa19ac86e [2020-09-17T19:16:25.461Z] Successfully built e28fa19ac86e [2020-09-17T19:16:25.461Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:16:25.860Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T19:16:25.860Z] . [Pipeline] withDockerContainer [2020-09-17T19:16:26.097Z] prd-ubuntu18.04-docker-arm64-4c-16g-298 does not seem to be running inside a container [2020-09-17T19:16:26.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-09-17T19:16:27.978Z] $ docker top f07704c816855c6cf9fcd211e0494bb3a0bb4961ff994bf71dbe2ca263222f3a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:16:29.361Z] + go version [2020-09-17T19:16:29.361Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T19:16:29.385Z] $ docker stop --time=1 f07704c816855c6cf9fcd211e0494bb3a0bb4961ff994bf71dbe2ca263222f3a [2020-09-17T19:16:31.356Z] $ docker rm -f f07704c816855c6cf9fcd211e0494bb3a0bb4961ff994bf71dbe2ca263222f3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:16:32.534Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T19:16:32.534Z] . [Pipeline] withDockerContainer [2020-09-17T19:16:32.765Z] prd-ubuntu18.04-docker-arm64-4c-16g-298 does not seem to be running inside a container [2020-09-17T19:16:32.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-09-17T19:16:34.809Z] $ docker top d82c938c51e905da33eb1696700dcf65503ee6dae97b096d95ccffaa098b4484 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:16:36.236Z] + make test [2020-09-17T19:16:36.236Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T19:16:37.677Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T19:17:04.644Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.087s coverage: 86.2% of statements [2020-09-17T19:17:43.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.066s coverage: 56.1% of statements [2020-09-17T19:17:43.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T19:17:43.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T19:17:43.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.095s coverage: 53.5% of statements [2020-09-17T19:17:43.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T19:17:43.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.399s coverage: 69.1% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.555s coverage: 61.6% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.140s coverage: 100.0% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.010s coverage: 96.6% of statements [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T19:17:50.375Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T19:17:50.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-17T19:17:51.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.242s coverage: 75.0% of statements [2020-09-17T19:17:51.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.049s coverage: 89.7% of statements [2020-09-17T19:17:51.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-09-17T19:17:51.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.168s coverage: 80.0% of statements [2020-09-17T19:18:18.559Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.764s coverage: 71.6% of statements [2020-09-17T19:18:18.559Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-17T19:18:18.559Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T19:18:28.748Z] gofmt -l . [2020-09-17T19:18:29.022Z] [ "`gofmt -l .`" = "" ] [2020-09-17T19:18:29.299Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T19:18:29.919Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T19:18:30.737Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T19:18:30.749Z] $ docker stop --time=1 d82c938c51e905da33eb1696700dcf65503ee6dae97b096d95ccffaa098b4484 [2020-09-17T19:18:32.896Z] $ docker rm -f d82c938c51e905da33eb1696700dcf65503ee6dae97b096d95ccffaa098b4484 [Pipeline] // withDockerContainer [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-17T19:18:36.317Z] provisioning config files... [2020-09-17T19:18:36.327Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/config7284227758286028257tmp [Pipeline] { [Pipeline] sh [2020-09-17T19:18:36.714Z] + curl -s https://codecov.io/bash [2020-09-17T19:18:36.714Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/config7284227758286028257tmp [Pipeline] } [2020-09-17T19:18:36.985Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:18:39.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:18:39.929Z] ---> package-listing.sh [2020-09-17T19:18:39.929Z] ++ facter osfamily [2020-09-17T19:18:39.929Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T19:18:39.929Z] + OS_FAMILY=redhat [2020-09-17T19:18:39.929Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-493 [2020-09-17T19:18:39.929Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T19:18:39.929Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T19:18:39.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T19:18:39.929Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T19:18:39.929Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-493 ']' [2020-09-17T19:18:39.929Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T19:18:39.929Z] + case "${OS_FAMILY}" in [2020-09-17T19:18:39.929Z] + rpm -qa [2020-09-17T19:18:39.929Z] + sort [2020-09-17T19:18:44.138Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T19:18:44.138Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T19:18:44.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T19:18:44.138Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-493 ']' [2020-09-17T19:18:44.138Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-493/archives/ [2020-09-17T19:18:44.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-493/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:18:44.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:18:44.951Z] [2020-09-17T19:18:44.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T19:18:45.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:18:45.301Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T19:18:45.301Z] df20fa9351a1: Pulling fs layer [2020-09-17T19:18:45.302Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T19:18:45.302Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T19:18:45.302Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T19:18:45.302Z] 0dadc02b9964: Pulling fs layer [2020-09-17T19:18:45.302Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T19:18:45.302Z] 7a184a31f384: Pulling fs layer [2020-09-17T19:18:45.302Z] 0879bd2ef858: Pulling fs layer [2020-09-17T19:18:45.302Z] 46f8f816bc3b: Waiting [2020-09-17T19:18:45.302Z] 0dadc02b9964: Waiting [2020-09-17T19:18:45.302Z] ce6a7cf60c04: Waiting [2020-09-17T19:18:45.302Z] 0879bd2ef858: Waiting [2020-09-17T19:18:45.302Z] 7a184a31f384: Waiting [2020-09-17T19:18:45.302Z] 36b3adc4ff6f: Download complete [2020-09-17T19:18:45.302Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T19:18:45.302Z] 46f8f816bc3b: Download complete [2020-09-17T19:18:45.302Z] df20fa9351a1: Verifying Checksum [2020-09-17T19:18:45.302Z] df20fa9351a1: Download complete [2020-09-17T19:18:45.564Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T19:18:45.564Z] ce6a7cf60c04: Download complete [2020-09-17T19:18:45.564Z] 7a184a31f384: Verifying Checksum [2020-09-17T19:18:45.564Z] 7a184a31f384: Download complete [2020-09-17T19:18:45.564Z] 0dadc02b9964: Verifying Checksum [2020-09-17T19:18:45.564Z] 0dadc02b9964: Download complete [2020-09-17T19:18:45.564Z] df20fa9351a1: Pull complete [2020-09-17T19:18:45.824Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T19:18:45.824Z] 8ad3a11d3b57: Download complete [2020-09-17T19:18:45.824Z] 36b3adc4ff6f: Pull complete [2020-09-17T19:18:46.089Z] 0879bd2ef858: Verifying Checksum [2020-09-17T19:18:46.089Z] 0879bd2ef858: Download complete [2020-09-17T19:18:46.352Z] 8ad3a11d3b57: Pull complete [2020-09-17T19:18:46.612Z] 46f8f816bc3b: Pull complete [2020-09-17T19:18:46.872Z] 0dadc02b9964: Pull complete [2020-09-17T19:18:46.872Z] ce6a7cf60c04: Pull complete [2020-09-17T19:18:47.131Z] 7a184a31f384: Pull complete [2020-09-17T19:18:49.048Z] 0879bd2ef858: Pull complete [2020-09-17T19:18:49.048Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T19:18:49.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T19:18:49.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T19:18:49.169Z] prd-centos7-docker-4c-2g-293 does not seem to be running inside a container [2020-09-17T19:18:49.209Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-493 -v /w/workspace/ndry_app-functions-sdk-go_PR-493:/w/workspace/ndry_app-functions-sdk-go_PR-493:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-493@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-493@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T19:18:54.156Z] $ docker top c8a652a5012b885cf1b03568ff654c410a75b2663d3b58f1fe68fcc79e01fd42 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T19:18:54.635Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T19:18:54.934Z] + ls /var/log/sa-host [2020-09-17T19:18:54.934Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T19:18:54.934Z] file_magic: OK [2020-09-17T19:18:54.934Z] HZ: Using current value: 100 [2020-09-17T19:18:54.934Z] file_header: OK [2020-09-17T19:18:54.934Z] 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-09-17T19:18:54.934Z] Statistics: [2020-09-17T19:18:54.934Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T19:18:54.934Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T19:18:54.934Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T19:18:54.934Z] file_magic: OK [2020-09-17T19:18:54.934Z] HZ: Using current value: 100 [2020-09-17T19:18:54.934Z] file_header: OK [2020-09-17T19:18:54.934Z] 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-09-17T19:18:54.934Z] Statistics: [2020-09-17T19:18:54.934Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T19:18:54.934Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T19:18:54.997Z] provisioning config files... [2020-09-17T19:18:55.025Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-493@tmp/config5261728073301515846tmp [Pipeline] { [Pipeline] echo [2020-09-17T19:18:55.110Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:18:55.404Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T19:18:55.414Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T19:18:55.705Z] ---> logs-deploy.sh [2020-09-17T19:18:55.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-493/4 [2020-09-17T19:18:55.705Z] INFO: archiving workspace using pattern(s): [2020-09-17T19:18:56.649Z] Archives upload complete. [2020-09-17T19:18:56.912Z] INFO: archiving logs to Nexus