Pull request #482 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 63f98b0b529679762573dc0697f6fa7a41d234f4+6f19a0cc372da972f896d81446be19c81c22f58c (3ee9c35fe4f50c3e4c1452bd8edb7951b93cd8d6) 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-38 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [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-482 # 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/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 63f98b0b529679762573dc0697f6fa7a41d234f4 Merge succeeded, producing 63f98b0b529679762573dc0697f6fa7a41d234f4 Checking out Revision 63f98b0b529679762573dc0697f6fa7a41d234f4 (PR-482) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # 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/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # 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 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T22:36:06.039Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 2ce163c7f1594ab6711de5e82742c552de07064e # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T22:36:06.446Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T22:36:06.544Z] ========================================================= [2020-09-16T22:36:06.544Z] EdgeX Global Pipelines Version Info [2020-09-16T22:36:06.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:36:08.627Z] ------------------- [2020-09-16T22:36:08.627Z] stable info: [2020-09-16T22:36:08.627Z] ------------------- [2020-09-16T22:36:08.627Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T22:36:08.627Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:36:08.627Z] Message: update stable to v1.0.122 [2020-09-16T22:36:10.633Z] ------------------- [2020-09-16T22:36:10.633Z] experimental info: [2020-09-16T22:36:10.633Z] ------------------- [2020-09-16T22:36:10.633Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T22:36:10.633Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:36:10.633Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T22:36:11.192Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T22:36:11.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T22:36:11.389Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T22:36:11.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T22:36:11.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T22:36:11.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T22:36:11.767Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T22:36:11.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T22:36:11.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T22:36:12.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T22:36:12.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T22:36:12.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T22:36:12.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T22:36:12.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T22:36:12.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:36:12.585Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:36:12.699Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:36:12.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:36:12.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T22:36:12.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T22:36:13.082Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T22:36:13.169Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T22:36:13.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-482 [Pipeline] echo [2020-09-16T22:36:13.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-482 [Pipeline] echo [2020-09-16T22:36:13.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-482 [Pipeline] echo [2020-09-16T22:36:13.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63f98b0b529679762573dc0697f6fa7a41d234f4 [Pipeline] echo [2020-09-16T22:36:13.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63f98b0 [Pipeline] echo [2020-09-16T22:36:13.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T22:36:14.440Z] + git log --format=format:%s -1 63f98b0b529679762573dc0697f6fa7a41d234f4 [Pipeline] echo [2020-09-16T22:36:14.547Z] GIT_COMMIT: 63f98b0b529679762573dc0697f6fa7a41d234f4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-09-16T22:36:14.607Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:36:15.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:15.849Z] [2020-09-16T22:36:15.849Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:36:16.284Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:16.284Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T22:36:16.284Z] 31603596830f: Pulling fs layer [2020-09-16T22:36:16.284Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T22:36:16.284Z] 6ca5941a6612: Pulling fs layer [2020-09-16T22:36:16.284Z] ecc8261a40a4: Pulling fs layer [2020-09-16T22:36:16.284Z] ecc8261a40a4: Waiting [2020-09-16T22:36:16.284Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T22:36:16.284Z] 2a8b12db71e7: Download complete [2020-09-16T22:36:16.581Z] 31603596830f: Download complete [2020-09-16T22:36:16.875Z] ecc8261a40a4: Verifying Checksum [2020-09-16T22:36:16.875Z] ecc8261a40a4: Download complete [2020-09-16T22:36:17.146Z] 6ca5941a6612: Verifying Checksum [2020-09-16T22:36:17.146Z] 6ca5941a6612: Download complete [2020-09-16T22:36:17.146Z] 31603596830f: Pull complete [2020-09-16T22:36:17.425Z] 2a8b12db71e7: Pull complete [2020-09-16T22:36:18.979Z] 6ca5941a6612: Pull complete [2020-09-16T22:36:19.352Z] ecc8261a40a4: Pull complete [2020-09-16T22:36:19.352Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T22:36:19.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:36:19.352Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T22:36:19.507Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2020-09-16T22:36:19.690Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@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-16T22:36:21.883Z] $ docker top f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T22:36:22.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:36:22.235Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:36:22.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:36:22.557Z] $ docker exec f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 ssh-agent [2020-09-16T22:36:22.790Z] SSH_AUTH_SOCK=/tmp/ssh-3Q3tDZ7WgbpZ/agent.11 [2020-09-16T22:36:22.790Z] SSH_AGENT_PID=17 [2020-09-16T22:36:22.807Z] Running ssh-add (command line suppressed) [2020-09-16T22:36:22.990Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_2517465150224064711.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_2517465150224064711.key) [2020-09-16T22:36:23.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:36:23.497Z] + git describe --exact-match --tags HEAD [2020-09-16T22:36:23.497Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T22:36:23.531Z] $ docker exec --env ******** --env ******** f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 ssh-agent -k [2020-09-16T22:36:23.697Z] unset SSH_AUTH_SOCK; [2020-09-16T22:36:23.698Z] unset SSH_AGENT_PID; [2020-09-16T22:36:23.699Z] echo Agent pid 17 killed; [2020-09-16T22:36:23.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T22:36:23.869Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T22:36:23.869Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T22:36:23.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:36:23.974Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:36:24.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:36:24.492Z] $ docker exec f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 ssh-agent [2020-09-16T22:36:24.901Z] SSH_AUTH_SOCK=/tmp/ssh-uHbAw2ggiBTY/agent.47 [2020-09-16T22:36:24.901Z] SSH_AGENT_PID=53 [2020-09-16T22:36:24.920Z] Running ssh-add (command line suppressed) [2020-09-16T22:36:25.159Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_8897215732803474495.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_8897215732803474495.key) [2020-09-16T22:36:25.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:36:25.661Z] + git semver init [2020-09-16T22:36:25.661Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T22:36:25.661Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.git [2020-09-16T22:36:25.661Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-16T22:36:25.661Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T22:36:25.661Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T22:36:25.661Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T22:36:25.661Z] # $SEMVER_BRANCH = PR-482 [2020-09-16T22:36:25.661Z] # $SEMVER_TEMP = /tmp/semver-499340149 [2020-09-16T22:36:25.661Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T22:36:31.153Z] # '/tmp/semver-499340149' -> '/w/workspace/ndry_app-functions-sdk-go_PR-482/.semver' [2020-09-16T22:36:31.153Z] # -> Force: false [2020-09-16T22:36:31.153Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.semver [Pipeline] } [2020-09-16T22:36:31.173Z] $ docker exec --env ******** --env ******** f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 ssh-agent -k [2020-09-16T22:36:31.354Z] unset SSH_AUTH_SOCK; [2020-09-16T22:36:31.355Z] unset SSH_AGENT_PID; [2020-09-16T22:36:31.355Z] echo Agent pid 53 killed; [2020-09-16T22:36:31.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T22:36:31.953Z] + git semver [Pipeline] } [2020-09-16T22:36:31.984Z] $ docker stop --time=1 f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 [2020-09-16T22:36:33.559Z] $ docker rm -f f6eee62ef783b9ace0188e9f947e2ee26393d2470387227a85e60f9c312b70f4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T22:36:38.936Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T22:36:38.939Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T22:36:39.039Z] 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-16T22:36:54.571Z] Still waiting to schedule task [2020-09-16T22:36:54.571Z] ‘prd-centos7-docker-4c-2g-31’ is offline; ‘prd-centos7-docker-4c-2g-33’ is offline; ‘prd-centos7-docker-4c-2g-34’ is offline; ‘prd-centos7-docker-4c-2g-36’ is offline; ‘prd-centos7-docker-4c-2g-37’ is offline; ‘prd-centos7-docker-4c-2g-41’ is offline; ‘prd-centos7-docker-4c-2g-43’ is offline; ‘prd-centos7-docker-4c-2g-45’ is offline; ‘prd-centos7-docker-4c-2g-47’ is offline [2020-09-16T22:36:54.574Z] Still waiting to schedule task [2020-09-16T22:36:54.574Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-35’ [2020-09-16T22:37:06.069Z] Running on prd-centos7-docker-4c-2g-47 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-16T22:37:06.119Z] Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-09-16T22:37:08.484Z] using credential edgex-jenkins-ssh [2020-09-16T22:37:08.573Z] Cloning the remote Git repository [2020-09-16T22:37:08.573Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:37:08.610Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:37:08.679Z] > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 [2020-09-16T22:37:08.724Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:37:08.724Z] > git --version # timeout=10 [2020-09-16T22:37:08.735Z] > git --version # 'git version 2.16.5' [2020-09-16T22:37:08.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:37:08.766Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:37:16.059Z] Fetching without tags [2020-09-16T22:37:16.030Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:37:16.037Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-16T22:37:16.043Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:37:16.053Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:37:16.065Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:37:16.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:37:16.069Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:37:16.430Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 63f98b0b529679762573dc0697f6fa7a41d234f4 [2020-09-16T22:37:16.563Z] Merge succeeded, producing 63f98b0b529679762573dc0697f6fa7a41d234f4 [2020-09-16T22:37:16.564Z] Checking out Revision 63f98b0b529679762573dc0697f6fa7a41d234f4 (PR-482) [2020-09-16T22:37:16.440Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:37:16.444Z] > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 [2020-09-16T22:37:16.513Z] > git remote # timeout=10 [2020-09-16T22:37:16.534Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:37:16.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:37:16.550Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:37:16.560Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:37:16.569Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:37:16.573Z] > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 [2020-09-16T22:37:20.112Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:37:22.244Z] ========================================================= [2020-09-16T22:37:22.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T22:37:22.244Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:37:22.988Z] + 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-16T22:37:23.565Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:37:23.565Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:37:23.565Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:37:23.565Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T22:37:23.565Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:37:23.565Z] ed8968b2872e: Pulling fs layer [2020-09-16T22:37:23.565Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T22:37:23.565Z] e871e8e8d7a9: Pulling fs layer [2020-09-16T22:37:23.565Z] e73272ec9a57: Pulling fs layer [2020-09-16T22:37:23.565Z] 1e910a182e73: Pulling fs layer [2020-09-16T22:37:23.565Z] 4e634b169226: Pulling fs layer [2020-09-16T22:37:23.565Z] e73272ec9a57: Waiting [2020-09-16T22:37:23.565Z] 4e634b169226: Waiting [2020-09-16T22:37:23.565Z] 1e910a182e73: Waiting [2020-09-16T22:37:23.565Z] e871e8e8d7a9: Waiting [2020-09-16T22:37:23.565Z] a92cc7c5fd73: Verifying Checksum [2020-09-16T22:37:23.565Z] a92cc7c5fd73: Download complete [2020-09-16T22:37:23.565Z] ed8968b2872e: Download complete [2020-09-16T22:37:23.565Z] e73272ec9a57: Verifying Checksum [2020-09-16T22:37:23.565Z] e73272ec9a57: Download complete [2020-09-16T22:37:23.830Z] 1e910a182e73: Download complete [2020-09-16T22:37:24.106Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:37:24.106Z] df20fa9351a1: Download complete [2020-09-16T22:37:24.371Z] df20fa9351a1: Pull complete [2020-09-16T22:37:25.322Z] ed8968b2872e: Pull complete [2020-09-16T22:37:25.322Z] a92cc7c5fd73: Pull complete [2020-09-16T22:37:25.898Z] 4e634b169226: Verifying Checksum [2020-09-16T22:37:25.898Z] 4e634b169226: Download complete [2020-09-16T22:37:26.162Z] e871e8e8d7a9: Verifying Checksum [2020-09-16T22:37:26.162Z] e871e8e8d7a9: Download complete [2020-09-16T22:37:31.475Z] e871e8e8d7a9: Pull complete [2020-09-16T22:37:31.475Z] e73272ec9a57: Pull complete [2020-09-16T22:37:31.738Z] 1e910a182e73: Pull complete [2020-09-16T22:37:37.047Z] 4e634b169226: Pull complete [2020-09-16T22:37:37.047Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-16T22:37:37.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-16T22:37:37.047Z] ---> f7629b54cfaa [2020-09-16T22:37:37.047Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:37:37.047Z] latest: Pulling from library/docker [2020-09-16T22:37:37.047Z] df20fa9351a1: Already exists [2020-09-16T22:37:37.047Z] 25ad7478873d: Pulling fs layer [2020-09-16T22:37:37.047Z] 4684f6177b5d: Pulling fs layer [2020-09-16T22:37:37.047Z] 46e300cec669: Pulling fs layer [2020-09-16T22:37:37.047Z] 63038576ad94: Pulling fs layer [2020-09-16T22:37:37.047Z] 0fdb76c4706c: Pulling fs layer [2020-09-16T22:37:37.047Z] cb7edeffdfd5: Pulling fs layer [2020-09-16T22:37:37.047Z] 63038576ad94: Waiting [2020-09-16T22:37:37.047Z] 0fdb76c4706c: Waiting [2020-09-16T22:37:37.047Z] cb7edeffdfd5: Waiting [2020-09-16T22:37:37.047Z] 4684f6177b5d: Verifying Checksum [2020-09-16T22:37:37.047Z] 4684f6177b5d: Download complete [2020-09-16T22:37:37.047Z] 25ad7478873d: Verifying Checksum [2020-09-16T22:37:37.047Z] 25ad7478873d: Download complete [2020-09-16T22:37:37.047Z] 63038576ad94: Download complete [2020-09-16T22:37:37.318Z] cb7edeffdfd5: Verifying Checksum [2020-09-16T22:37:37.318Z] cb7edeffdfd5: Download complete [2020-09-16T22:37:37.318Z] 25ad7478873d: Pull complete [2020-09-16T22:37:37.599Z] 4684f6177b5d: Pull complete [2020-09-16T22:37:37.866Z] 46e300cec669: Verifying Checksum [2020-09-16T22:37:37.866Z] 46e300cec669: Download complete [2020-09-16T22:37:38.129Z] 0fdb76c4706c: Verifying Checksum [2020-09-16T22:37:38.129Z] 0fdb76c4706c: Download complete [2020-09-16T22:37:40.060Z] 46e300cec669: Pull complete [2020-09-16T22:37:40.321Z] 63038576ad94: Pull complete [2020-09-16T22:37:40.321Z] 0fdb76c4706c: Pull complete [2020-09-16T22:37:40.584Z] cb7edeffdfd5: Pull complete [2020-09-16T22:37:40.584Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:37:40.584Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:37:41.994Z] ---> e352648c50fe [2020-09-16T22:37:41.994Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:37:41.994Z] ---> Running in 22775c6c9466 [2020-09-16T22:37:42.255Z] Removing intermediate container 22775c6c9466 [2020-09-16T22:37:42.255Z] ---> 35ade382372c [2020-09-16T22:37:42.255Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:37:42.255Z] ---> Running in 42e4f2e9c70f [2020-09-16T22:37:42.839Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T22:37:43.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T22:37:44.402Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:37:44.664Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:37:44.925Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:37:44.925Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:37:45.190Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:37:45.190Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:37:45.190Z] OK: 167 MiB in 44 packages [2020-09-16T22:37:45.772Z] Removing intermediate container 42e4f2e9c70f [2020-09-16T22:37:45.772Z] ---> 150b0dd2edc3 [2020-09-16T22:37:45.772Z] Step 6/8 : WORKDIR /build [2020-09-16T22:37:45.772Z] ---> Running in 2b3e1fc07e58 [2020-09-16T22:37:46.034Z] Removing intermediate container 2b3e1fc07e58 [2020-09-16T22:37:46.034Z] ---> d7efedd3cc37 [2020-09-16T22:37:46.034Z] Step 7/8 : COPY go.mod . [2020-09-16T22:37:46.034Z] ---> 4a97698777e4 [2020-09-16T22:37:46.034Z] Step 8/8 : RUN go mod download [2020-09-16T22:37:46.299Z] ---> Running in d90bb72bba52 [2020-09-16T22:38:12.985Z] Removing intermediate container d90bb72bba52 [2020-09-16T22:38:12.986Z] ---> 1fdceb1f1053 [2020-09-16T22:38:12.986Z] Successfully built 1fdceb1f1053 [2020-09-16T22:38:12.986Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:38:13.369Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:38:13.369Z] . [Pipeline] withDockerContainer [2020-09-16T22:38:13.622Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2020-09-16T22:38:13.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-16T22:38:14.407Z] $ docker top cb6db5c2a21ab108166af9b31af68c75f2a3c7a1bf706efb720207b87bc05002 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:38:14.906Z] + go version [2020-09-16T22:38:14.907Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-16T22:38:14.921Z] $ docker stop --time=1 cb6db5c2a21ab108166af9b31af68c75f2a3c7a1bf706efb720207b87bc05002 [2020-09-16T22:38:16.258Z] $ docker rm -f cb6db5c2a21ab108166af9b31af68c75f2a3c7a1bf706efb720207b87bc05002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:38:17.038Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:38:17.038Z] . [Pipeline] withDockerContainer [2020-09-16T22:38:17.138Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2020-09-16T22:38:17.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-16T22:38:17.754Z] $ docker top c669ef0e0e56f83dda068f087fbf877c921e1ff6a783d3c995cf8f6d4d8a7f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:38:18.223Z] + make test [2020-09-16T22:38:18.223Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:38:19.634Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:38:26.368Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.084s coverage: 86.2% of statements [2020-09-16T22:38:41.470Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.028s coverage: 56.1% of statements [2020-09-16T22:38:41.470Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:38:41.470Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T22:38:41.470Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.047s coverage: 53.5% of statements [2020-09-16T22:38:41.470Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:38:41.470Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.235s coverage: 69.1% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.462s coverage: 61.6% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.057s coverage: 100.0% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.004s coverage: 100.0% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.004s coverage: 100.0% of statements [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:38:53.807Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.007s coverage: 9.4% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.020s coverage: 75.0% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.3% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.007s coverage: 88.9% of statements [2020-09-16T22:38:53.807Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.073s coverage: 80.0% of statements [2020-09-16T22:38:57.443Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-49 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-16T22:38:57.505Z] Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-09-16T22:39:03.176Z] using credential edgex-jenkins-ssh [2020-09-16T22:39:03.237Z] Cloning the remote Git repository [2020-09-16T22:39:03.237Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:39:03.312Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:39:03.436Z] > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 [2020-09-16T22:39:03.509Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:39:03.510Z] > git --version # timeout=10 [2020-09-16T22:39:03.527Z] > git --version # 'git version 2.17.1' [2020-09-16T22:39:03.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:39:03.600Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:39:06.511Z] Fetching without tags [2020-09-16T22:39:06.407Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:39:06.428Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-16T22:39:06.448Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:39:06.481Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:39:06.523Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:39:06.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:39:06.541Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:39:07.001Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 63f98b0b529679762573dc0697f6fa7a41d234f4 [2020-09-16T22:39:07.369Z] Merge succeeded, producing 63f98b0b529679762573dc0697f6fa7a41d234f4 [2020-09-16T22:39:07.370Z] Checking out Revision 63f98b0b529679762573dc0697f6fa7a41d234f4 (PR-482) [2020-09-16T22:39:07.023Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:39:07.048Z] > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 [2020-09-16T22:39:07.160Z] > git remote # timeout=10 [2020-09-16T22:39:07.236Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:39:07.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:39:07.285Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:39:07.311Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:39:07.380Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:39:07.428Z] > git checkout -f 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 [2020-09-16T22:39:08.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.387s coverage: 71.6% of statements [2020-09-16T22:39:08.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.004s coverage: 94.4% of statements [2020-09-16T22:39:09.101Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-16T22:39:11.691Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-16T22:39:13.336Z] gofmt -l . [2020-09-16T22:39:13.336Z] [ "`gofmt -l .`" = "" ] [2020-09-16T22:39:13.336Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-16T22:39:14.302Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T22:39:14.312Z] $ docker stop --time=1 c669ef0e0e56f83dda068f087fbf877c921e1ff6a783d3c995cf8f6d4d8a7f5e [2020-09-16T22:39:15.967Z] $ docker rm -f c669ef0e0e56f83dda068f087fbf877c921e1ff6a783d3c995cf8f6d4d8a7f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2020-09-16T22:39:16.302Z] ========================================================= [2020-09-16T22:39:16.302Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T22:39:16.302Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-09-16T22:39:17.340Z] + 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 . [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-16T22:39:18.795Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:39:18.795Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:39:18.795Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:39:19.068Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T22:39:19.069Z] b538f80385f9: Pulling fs layer [2020-09-16T22:39:19.069Z] 74f711af9a0d: Pulling fs layer [2020-09-16T22:39:19.069Z] 99f96fe45779: Pulling fs layer [2020-09-16T22:39:19.069Z] 8529a6b9a6be: Pulling fs layer [2020-09-16T22:39:19.069Z] 45590311c82a: Pulling fs layer [2020-09-16T22:39:19.069Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-16T22:39:19.069Z] 209524e5b208: Pulling fs layer [2020-09-16T22:39:19.069Z] 8529a6b9a6be: Waiting [2020-09-16T22:39:19.069Z] 45590311c82a: Waiting [2020-09-16T22:39:19.069Z] 69ca0ff8b7b3: Waiting [2020-09-16T22:39:19.069Z] 209524e5b208: Waiting [2020-09-16T22:39:19.069Z] 99f96fe45779: Verifying Checksum [2020-09-16T22:39:19.069Z] 99f96fe45779: Download complete [2020-09-16T22:39:19.069Z] 74f711af9a0d: Verifying Checksum [2020-09-16T22:39:19.069Z] 74f711af9a0d: Download complete [2020-09-16T22:39:19.069Z] 45590311c82a: Verifying Checksum [2020-09-16T22:39:19.069Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-16T22:39:19.069Z] 69ca0ff8b7b3: Download complete [2020-09-16T22:39:19.069Z] b538f80385f9: Verifying Checksum [2020-09-16T22:39:19.069Z] b538f80385f9: Download complete [2020-09-16T22:39:19.678Z] b538f80385f9: Pull complete [2020-09-16T22:39:20.285Z] 74f711af9a0d: Pull complete [2020-09-16T22:39:20.557Z] 99f96fe45779: Pull complete [2020-09-16T22:39:21.553Z] 209524e5b208: Verifying Checksum [2020-09-16T22:39:21.553Z] 209524e5b208: Download complete [2020-09-16T22:39:22.985Z] 8529a6b9a6be: Verifying Checksum [2020-09-16T22:39:22.985Z] 8529a6b9a6be: Download complete [2020-09-16T22:39:33.148Z] 8529a6b9a6be: Pull complete [2020-09-16T22:39:33.419Z] 45590311c82a: Pull complete [2020-09-16T22:39:33.692Z] 69ca0ff8b7b3: Pull complete [2020-09-16T22:39:38.075Z] 209524e5b208: Pull complete [2020-09-16T22:39:38.075Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-16T22:39:38.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-16T22:39:38.075Z] ---> 5bddaf1c2fca [2020-09-16T22:39:38.075Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:39:38.075Z] latest: Pulling from library/docker [2020-09-16T22:39:38.075Z] b538f80385f9: Already exists [2020-09-16T22:39:38.075Z] 259a493cd78d: Pulling fs layer [2020-09-16T22:39:38.075Z] b8e66b5100f5: Pulling fs layer [2020-09-16T22:39:38.075Z] 39dc9c94d07c: Pulling fs layer [2020-09-16T22:39:38.075Z] 551b823b3b82: Pulling fs layer [2020-09-16T22:39:38.075Z] 3c52a74df98c: Pulling fs layer [2020-09-16T22:39:38.075Z] 6c9b121b6998: Pulling fs layer [2020-09-16T22:39:38.075Z] 551b823b3b82: Waiting [2020-09-16T22:39:38.075Z] 3c52a74df98c: Waiting [2020-09-16T22:39:38.075Z] 6c9b121b6998: Waiting [2020-09-16T22:39:38.075Z] b8e66b5100f5: Verifying Checksum [2020-09-16T22:39:38.075Z] b8e66b5100f5: Download complete [2020-09-16T22:39:38.356Z] 259a493cd78d: Verifying Checksum [2020-09-16T22:39:38.356Z] 259a493cd78d: Download complete [2020-09-16T22:39:38.356Z] 3c52a74df98c: Verifying Checksum [2020-09-16T22:39:38.356Z] 3c52a74df98c: Download complete [2020-09-16T22:39:38.356Z] 551b823b3b82: Verifying Checksum [2020-09-16T22:39:38.356Z] 551b823b3b82: Download complete [2020-09-16T22:39:38.632Z] 6c9b121b6998: Download complete [2020-09-16T22:39:38.906Z] 259a493cd78d: Pull complete [2020-09-16T22:39:39.510Z] b8e66b5100f5: Pull complete [2020-09-16T22:39:39.791Z] 39dc9c94d07c: Verifying Checksum [2020-09-16T22:39:39.791Z] 39dc9c94d07c: Download complete [2020-09-16T22:39:43.188Z] 39dc9c94d07c: Pull complete [2020-09-16T22:39:43.459Z] 551b823b3b82: Pull complete [2020-09-16T22:39:43.734Z] 3c52a74df98c: Pull complete [2020-09-16T22:39:44.010Z] 6c9b121b6998: Pull complete [2020-09-16T22:39:44.010Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:39:44.010Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:39:50.743Z] ---> 66808c79677a [2020-09-16T22:39:50.743Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:39:50.743Z] ---> Running in 3778c71f969b [2020-09-16T22:39:50.743Z] Removing intermediate container 3778c71f969b [2020-09-16T22:39:50.743Z] ---> 213c6d582f42 [2020-09-16T22:39:50.743Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:39:50.743Z] ---> Running in 006d606d11cb [2020-09-16T22:39:52.181Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T22:39:53.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T22:39:53.756Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:39:54.032Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:39:54.032Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:39:54.303Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:39:54.303Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:39:54.579Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:39:54.579Z] OK: 144 MiB in 44 packages [2020-09-16T22:39:56.029Z] Removing intermediate container 006d606d11cb [2020-09-16T22:39:56.029Z] ---> 9d34b2295eb6 [2020-09-16T22:39:56.029Z] Step 6/8 : WORKDIR /build [2020-09-16T22:39:56.029Z] ---> Running in c716a6b538d3 [2020-09-16T22:39:56.307Z] Removing intermediate container c716a6b538d3 [2020-09-16T22:39:56.307Z] ---> 49b5849e22e7 [2020-09-16T22:39:56.307Z] Step 7/8 : COPY go.mod . [2020-09-16T22:39:57.287Z] ---> 5f0c5fcc33db [2020-09-16T22:39:57.287Z] Step 8/8 : RUN go mod download [2020-09-16T22:39:57.287Z] ---> Running in adf5c28e7ae0 [2020-09-16T22:40:29.634Z] Removing intermediate container adf5c28e7ae0 [2020-09-16T22:40:29.634Z] ---> d8c53923a292 [2020-09-16T22:40:29.634Z] Successfully built d8c53923a292 [2020-09-16T22:40:29.634Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:40:30.042Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:40:30.042Z] . [Pipeline] withDockerContainer [2020-09-16T22:40:30.320Z] prd-ubuntu18.04-docker-arm64-4c-16g-49 does not seem to be running inside a container [2020-09-16T22:40:30.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-16T22:40:32.329Z] $ docker top 0b0ba79adfe7ccee1438919aac662249c1d1839a7e82d0bbec1d6e8185322cde -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:40:33.773Z] + go version [2020-09-16T22:40:33.773Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-16T22:40:33.796Z] $ docker stop --time=1 0b0ba79adfe7ccee1438919aac662249c1d1839a7e82d0bbec1d6e8185322cde [2020-09-16T22:40:35.764Z] $ docker rm -f 0b0ba79adfe7ccee1438919aac662249c1d1839a7e82d0bbec1d6e8185322cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:40:37.079Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:40:37.079Z] . [Pipeline] withDockerContainer [2020-09-16T22:40:37.333Z] prd-ubuntu18.04-docker-arm64-4c-16g-49 does not seem to be running inside a container [2020-09-16T22:40:37.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-16T22:40:39.265Z] $ docker top 4183a3c95b306b1abd5f75c5fd801398db6579fc0d7f47966d2990b72ccf6b07 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:40:40.870Z] + make test [2020-09-16T22:40:40.870Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:40:42.872Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:41:05.102Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.115s coverage: 86.2% of statements [2020-09-16T22:41:44.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.069s coverage: 56.1% of statements [2020-09-16T22:41:44.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:41:44.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T22:41:44.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.116s coverage: 53.5% of statements [2020-09-16T22:41:44.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:41:44.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.423s coverage: 69.1% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.522s coverage: 61.6% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.014s coverage: 89.5% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.200s coverage: 100.0% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-16T22:41:54.327Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:41:54.327Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:41:54.328Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-16T22:41:54.328Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.7% of statements [2020-09-16T22:41:54.328Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:41:54.328Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 9.4% of statements [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.035s coverage: 75.0% of statements [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.3% of statements [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements [2020-09-16T22:41:54.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.252s coverage: 80.0% of statements [2020-09-16T22:42:21.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.705s coverage: 71.6% of statements [2020-09-16T22:42:21.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements [2020-09-16T22:42:21.141Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-16T22:42:31.400Z] gofmt -l . [2020-09-16T22:42:31.674Z] [ "`gofmt -l .`" = "" ] [2020-09-16T22:42:31.949Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-16T22:42:32.621Z] Warning: overwriting stash ‘coverage-report’ [2020-09-16T22:42:33.527Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T22:42:33.533Z] $ docker stop --time=1 4183a3c95b306b1abd5f75c5fd801398db6579fc0d7f47966d2990b72ccf6b07 [2020-09-16T22:42:35.766Z] $ docker rm -f 4183a3c95b306b1abd5f75c5fd801398db6579fc0d7f47966d2990b72ccf6b07 [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-16T22:42:38.444Z] provisioning config files... [2020-09-16T22:42:38.470Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config6138703617186047965tmp [Pipeline] { [Pipeline] sh [2020-09-16T22:42:38.859Z] + curl -s https://codecov.io/bash [2020-09-16T22:42:38.859Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config6138703617186047965tmp [Pipeline] } [2020-09-16T22:42:39.138Z] 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-16T22:42:41.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:42:42.181Z] ---> package-listing.sh [2020-09-16T22:42:42.181Z] ++ facter osfamily [2020-09-16T22:42:42.181Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T22:42:42.472Z] + OS_FAMILY=redhat [2020-09-16T22:42:42.472Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-16T22:42:42.472Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T22:42:42.472Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T22:42:42.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T22:42:42.472Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T22:42:42.472Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-16T22:42:42.472Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T22:42:42.472Z] + case "${OS_FAMILY}" in [2020-09-16T22:42:42.472Z] + rpm -qa [2020-09-16T22:42:42.472Z] + sort [2020-09-16T22:42:46.761Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T22:42:46.761Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T22:42:46.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T22:42:46.761Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-16T22:42:46.761Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [2020-09-16T22:42:46.761Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:42:47.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:42:47.597Z] [2020-09-16T22:42:47.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:42:48.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:42:48.007Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T22:42:48.007Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:42:48.007Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T22:42:48.007Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T22:42:48.007Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T22:42:48.007Z] 0dadc02b9964: Pulling fs layer [2020-09-16T22:42:48.007Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T22:42:48.007Z] 7a184a31f384: Pulling fs layer [2020-09-16T22:42:48.007Z] 0879bd2ef858: Pulling fs layer [2020-09-16T22:42:48.007Z] 46f8f816bc3b: Waiting [2020-09-16T22:42:48.007Z] 0dadc02b9964: Waiting [2020-09-16T22:42:48.007Z] ce6a7cf60c04: Waiting [2020-09-16T22:42:48.007Z] 7a184a31f384: Waiting [2020-09-16T22:42:48.007Z] 0879bd2ef858: Waiting [2020-09-16T22:42:48.007Z] 36b3adc4ff6f: Download complete [2020-09-16T22:42:48.291Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T22:42:48.291Z] 46f8f816bc3b: Download complete [2020-09-16T22:42:48.291Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:42:48.291Z] df20fa9351a1: Download complete [2020-09-16T22:42:48.291Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T22:42:48.291Z] ce6a7cf60c04: Download complete [2020-09-16T22:42:48.291Z] 7a184a31f384: Verifying Checksum [2020-09-16T22:42:48.291Z] 7a184a31f384: Download complete [2020-09-16T22:42:48.612Z] 0dadc02b9964: Verifying Checksum [2020-09-16T22:42:48.612Z] 0dadc02b9964: Download complete [2020-09-16T22:42:48.904Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T22:42:48.904Z] 8ad3a11d3b57: Download complete [2020-09-16T22:42:49.197Z] df20fa9351a1: Pull complete [2020-09-16T22:42:49.802Z] 36b3adc4ff6f: Pull complete [2020-09-16T22:42:50.086Z] 0879bd2ef858: Verifying Checksum [2020-09-16T22:42:50.086Z] 0879bd2ef858: Download complete [2020-09-16T22:42:51.092Z] 8ad3a11d3b57: Pull complete [2020-09-16T22:42:51.092Z] 46f8f816bc3b: Pull complete [2020-09-16T22:42:51.724Z] 0dadc02b9964: Pull complete [2020-09-16T22:42:51.724Z] ce6a7cf60c04: Pull complete [2020-09-16T22:42:52.017Z] 7a184a31f384: Pull complete [2020-09-16T22:42:56.357Z] 0879bd2ef858: Pull complete [2020-09-16T22:42:56.357Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T22:42:56.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:42:56.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T22:42:56.632Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2020-09-16T22:42:56.690Z] $ 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-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@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-16T22:43:04.203Z] $ docker top 88a9583849c9c46caf0b8cbd8161ec4ac475376781ac11fcac81b0715151cb7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:43:04.901Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T22:43:05.237Z] + ls /var/log/sa-host [2020-09-16T22:43:05.238Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T22:43:05.238Z] file_magic: OK [2020-09-16T22:43:05.238Z] HZ: Using current value: 100 [2020-09-16T22:43:05.238Z] file_header: OK [2020-09-16T22:43:05.238Z] 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-16T22:43:05.238Z] Statistics: [2020-09-16T22:43:05.238Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:43:05.238Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T22:43:05.238Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T22:43:05.238Z] file_magic: OK [2020-09-16T22:43:05.238Z] HZ: Using current value: 100 [2020-09-16T22:43:05.238Z] file_header: OK [2020-09-16T22:43:05.238Z] 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-16T22:43:05.238Z] Statistics: [2020-09-16T22:43:05.238Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:43:05.238Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T22:43:05.305Z] provisioning config files... [2020-09-16T22:43:05.325Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config8875666646468648886tmp [Pipeline] { [Pipeline] echo [2020-09-16T22:43:05.399Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:43:05.716Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T22:43:05.732Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:43:06.063Z] ---> logs-deploy.sh [2020-09-16T22:43:06.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-482/5 [2020-09-16T22:43:06.063Z] INFO: archiving workspace using pattern(s): [2020-09-16T22:43:08.022Z] Archives upload complete. [2020-09-16T22:43:08.292Z] INFO: archiving logs to Nexus