Pull request #498 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from bf7339c08232ede76586d2ac0c5f47514e8e624f+3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 (bf429e09216c7336ccf5a6bdc5c8a5830562505e) 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1189 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-498 # 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 --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 into PR head commit bf7339c08232ede76586d2ac0c5f47514e8e624f Merge succeeded, producing bf7339c08232ede76586d2ac0c5f47514e8e624f Checking out Revision bf7339c08232ede76586d2ac0c5f47514e8e624f (PR-498) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # 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 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # timeout=10 Commit message: "Merge branch 'master' into mqtt-trigger" > git rev-list --no-walk 0a688f732970f176736f853df3adac9563e13a5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-24T18:38:52.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-24T18:38:52.712Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-24T18:38:52.819Z] ========================================================= [2020-09-24T18:38:52.819Z] EdgeX Global Pipelines Version Info [2020-09-24T18:38:52.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-24T18:38:55.641Z] ------------------- [2020-09-24T18:38:55.641Z] stable info: [2020-09-24T18:38:55.641Z] ------------------- [2020-09-24T18:38:55.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-24T18:38:55.641Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T18:38:55.641Z] Message: update stable to v1.0.128 [2020-09-24T18:38:56.671Z] ------------------- [2020-09-24T18:38:56.671Z] experimental info: [2020-09-24T18:38:56.671Z] ------------------- [2020-09-24T18:38:56.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-24T18:38:56.671Z] Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 [2020-09-24T18:38:56.671Z] Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-24T18:38:57.422Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-24T18:38:57.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-24T18:38:57.636Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-24T18:38:57.740Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-24T18:38:57.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-24T18:38:57.972Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-24T18:38:58.098Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-24T18:38:58.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-24T18:38:58.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-24T18:38:58.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-24T18:38:58.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-24T18:38:58.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-24T18:38:58.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-24T18:38:59.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-24T18:38:59.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T18:39:00.329Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T18:39:00.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T18:39:00.548Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T18:39:00.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-24T18:39:00.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-24T18:39:01.030Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-24T18:39:01.137Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-24T18:39:01.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-24T18:39:01.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-24T18:39:01.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-09-24T18:39:01.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo [2020-09-24T18:39:01.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo [2020-09-24T18:39:02.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo [2020-09-24T18:39:02.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf7339c08232ede76586d2ac0c5f47514e8e624f [Pipeline] echo [2020-09-24T18:39:02.774Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf7339c [Pipeline] echo [2020-09-24T18:39:02.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-24T18:39:03.586Z] + git log --format=format:%s -1 bf7339c08232ede76586d2ac0c5f47514e8e624f [Pipeline] echo [2020-09-24T18:39:03.756Z] GIT_COMMIT: bf7339c08232ede76586d2ac0c5f47514e8e624f, Commit Message: Merge branch 'master' into mqtt-trigger [Pipeline] echo [2020-09-24T18:39:03.806Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:39:04.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T18:39:05.160Z] [2020-09-24T18:39:05.160Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:39:06.268Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T18:39:06.268Z] latest: Pulling from edgex-devops/git-semver [2020-09-24T18:39:06.268Z] 31603596830f: Pulling fs layer [2020-09-24T18:39:06.268Z] 2a8b12db71e7: Pulling fs layer [2020-09-24T18:39:06.268Z] 6ca5941a6612: Pulling fs layer [2020-09-24T18:39:06.268Z] ecc8261a40a4: Pulling fs layer [2020-09-24T18:39:06.268Z] ecc8261a40a4: Waiting [2020-09-24T18:39:06.545Z] 2a8b12db71e7: Verifying Checksum [2020-09-24T18:39:06.545Z] 2a8b12db71e7: Download complete [2020-09-24T18:39:12.132Z] ecc8261a40a4: Verifying Checksum [2020-09-24T18:39:12.132Z] ecc8261a40a4: Download complete [2020-09-24T18:39:12.413Z] 31603596830f: Verifying Checksum [2020-09-24T18:39:12.413Z] 31603596830f: Download complete [2020-09-24T18:39:13.023Z] 31603596830f: Pull complete [2020-09-24T18:39:13.310Z] 2a8b12db71e7: Pull complete [2020-09-24T18:39:14.769Z] 6ca5941a6612: Verifying Checksum [2020-09-24T18:39:14.769Z] 6ca5941a6612: Download complete [2020-09-24T18:39:16.323Z] 6ca5941a6612: Pull complete [2020-09-24T18:39:16.932Z] ecc8261a40a4: Pull complete [2020-09-24T18:39:17.217Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-24T18:39:17.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T18:39:17.217Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-24T18:39:17.448Z] prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container [2020-09-24T18:39:17.753Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-24T18:39:20.315Z] $ docker top b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-24T18:39:20.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T18:39:20.888Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T18:39:21.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T18:39:21.578Z] $ docker exec b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa ssh-agent [2020-09-24T18:39:21.880Z] SSH_AUTH_SOCK=/tmp/ssh-eseg4q09Mlm0/agent.11 [2020-09-24T18:39:21.880Z] SSH_AGENT_PID=16 [2020-09-24T18:39:21.903Z] Running ssh-add (command line suppressed) [2020-09-24T18:39:22.200Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_8434066023654913115.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_8434066023654913115.key) [2020-09-24T18:39:22.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T18:39:22.801Z] + git describe --exact-match --tags HEAD [2020-09-24T18:39:22.801Z] fatal: no tag exactly matches 'bf7339c08232ede76586d2ac0c5f47514e8e624f' [Pipeline] } [2020-09-24T18:39:22.850Z] $ docker exec --env ******** --env ******** b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa ssh-agent -k [2020-09-24T18:39:23.078Z] unset SSH_AUTH_SOCK; [2020-09-24T18:39:23.083Z] unset SSH_AGENT_PID; [2020-09-24T18:39:23.083Z] echo Agent pid 16 killed; [2020-09-24T18:39:23.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-24T18:39:23.292Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-24T18:39:23.292Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-24T18:39:23.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T18:39:23.385Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T18:39:23.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T18:39:23.730Z] $ docker exec b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa ssh-agent [2020-09-24T18:39:23.998Z] SSH_AUTH_SOCK=/tmp/ssh-HbVKeSXavVfr/agent.46 [2020-09-24T18:39:23.998Z] SSH_AGENT_PID=51 [2020-09-24T18:39:24.050Z] Running ssh-add (command line suppressed) [2020-09-24T18:39:24.318Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_2621134295539521656.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_2621134295539521656.key) [2020-09-24T18:39:24.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T18:39:24.853Z] + git semver init [2020-09-24T18:39:24.853Z] # -> Open(): unable to determine branch for HEAD [2020-09-24T18:39:24.853Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.git [2020-09-24T18:39:24.853Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-24T18:39:24.853Z] # $SEMVER_REMOTE_NAME = origin [2020-09-24T18:39:24.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-24T18:39:24.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-24T18:39:24.853Z] # $SEMVER_BRANCH = PR-498 [2020-09-24T18:39:24.853Z] # $SEMVER_TEMP = /tmp/semver-138372086 [2020-09-24T18:39:24.853Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-24T18:39:31.126Z] # '/tmp/semver-138372086' -> '/w/workspace/ndry_app-functions-sdk-go_PR-498/.semver' [2020-09-24T18:39:31.126Z] # -> Force: false [2020-09-24T18:39:31.126Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.semver [Pipeline] } [2020-09-24T18:39:31.189Z] $ docker exec --env ******** --env ******** b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa ssh-agent -k [2020-09-24T18:39:31.619Z] unset SSH_AUTH_SOCK; [2020-09-24T18:39:31.621Z] unset SSH_AGENT_PID; [2020-09-24T18:39:31.622Z] echo Agent pid 51 killed; [2020-09-24T18:39:31.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-24T18:39:32.218Z] + git semver [Pipeline] } [2020-09-24T18:39:32.253Z] $ docker stop --time=1 b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa [2020-09-24T18:39:33.985Z] $ docker rm -f b67b5723a729d1d9a289c88059e1c35bdaff070b85045235aa7d6b3cd6a892aa [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-24T18:39:38.892Z] Stashed 51 file(s) [Pipeline] echo [2020-09-24T18:39:38.896Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-24T18:39:39.077Z] 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-24T18:39:51.573Z] Running on prd-centos7-docker-4c-2g-1192 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-24T18:39:51.636Z] Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-09-24T18:39:54.244Z] using credential edgex-jenkins-ssh [2020-09-24T18:39:54.306Z] Cloning the remote Git repository [2020-09-24T18:39:54.508Z] Still waiting to schedule task [2020-09-24T18:39:54.508Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-24T18:39:54.338Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:39:54.411Z] > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 [2020-09-24T18:39:54.463Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:39:54.463Z] > git --version # timeout=10 [2020-09-24T18:39:54.469Z] > git --version # 'git version 2.16.5' [2020-09-24T18:39:54.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:39:54.552Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T18:39:59.388Z] Merging remotes/origin/master commit 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 into PR head commit bf7339c08232ede76586d2ac0c5f47514e8e624f [2020-09-24T18:39:59.481Z] Merge succeeded, producing bf7339c08232ede76586d2ac0c5f47514e8e624f [2020-09-24T18:39:59.481Z] Checking out Revision bf7339c08232ede76586d2ac0c5f47514e8e624f (PR-498) [2020-09-24T18:39:58.966Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T18:39:58.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T18:39:58.983Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T18:39:59.005Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:39:59.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:39:59.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T18:39:59.398Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T18:39:59.405Z] > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # timeout=10 [2020-09-24T18:39:59.453Z] > git remote # timeout=10 [2020-09-24T18:39:59.458Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T18:39:59.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:39:59.467Z] > git merge 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 # timeout=10 [2020-09-24T18:39:59.477Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T18:39:59.485Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T18:39:59.490Z] > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # timeout=10 [2020-09-24T18:40:03.416Z] Commit message: "Merge branch 'master' into mqtt-trigger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T18:40:05.591Z] ========================================================= [2020-09-24T18:40:05.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-24T18:40:05.591Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:40:06.294Z] + 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-24T18:40:07.248Z] Sending build context to Docker daemon 37.44MB [2020-09-24T18:40:07.248Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T18:40:07.248Z] Step 2/8 : FROM ${BASE} [2020-09-24T18:40:07.248Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-24T18:40:07.248Z] df20fa9351a1: Pulling fs layer [2020-09-24T18:40:07.248Z] ed8968b2872e: Pulling fs layer [2020-09-24T18:40:07.248Z] a92cc7c5fd73: Pulling fs layer [2020-09-24T18:40:07.248Z] e871e8e8d7a9: Pulling fs layer [2020-09-24T18:40:07.248Z] e73272ec9a57: Pulling fs layer [2020-09-24T18:40:07.248Z] 1e910a182e73: Pulling fs layer [2020-09-24T18:40:07.248Z] 4e634b169226: Pulling fs layer [2020-09-24T18:40:07.248Z] e871e8e8d7a9: Waiting [2020-09-24T18:40:07.248Z] e73272ec9a57: Waiting [2020-09-24T18:40:07.248Z] 1e910a182e73: Waiting [2020-09-24T18:40:07.248Z] 4e634b169226: Waiting [2020-09-24T18:40:07.248Z] a92cc7c5fd73: Verifying Checksum [2020-09-24T18:40:07.248Z] a92cc7c5fd73: Download complete [2020-09-24T18:40:07.248Z] ed8968b2872e: Download complete [2020-09-24T18:40:07.248Z] e73272ec9a57: Verifying Checksum [2020-09-24T18:40:07.248Z] e73272ec9a57: Download complete [2020-09-24T18:40:07.248Z] 1e910a182e73: Verifying Checksum [2020-09-24T18:40:07.248Z] 1e910a182e73: Download complete [2020-09-24T18:40:07.516Z] df20fa9351a1: Verifying Checksum [2020-09-24T18:40:07.516Z] df20fa9351a1: Download complete [2020-09-24T18:40:07.792Z] df20fa9351a1: Pull complete [2020-09-24T18:40:08.060Z] ed8968b2872e: Pull complete [2020-09-24T18:40:09.014Z] a92cc7c5fd73: Pull complete [2020-09-24T18:40:09.276Z] 4e634b169226: Verifying Checksum [2020-09-24T18:40:09.276Z] 4e634b169226: Download complete [2020-09-24T18:40:10.228Z] e871e8e8d7a9: Verifying Checksum [2020-09-24T18:40:10.228Z] e871e8e8d7a9: Download complete [2020-09-24T18:40:15.604Z] e871e8e8d7a9: Pull complete [2020-09-24T18:40:15.604Z] e73272ec9a57: Pull complete [2020-09-24T18:40:15.872Z] 1e910a182e73: Pull complete [2020-09-24T18:40:22.688Z] 4e634b169226: Pull complete [2020-09-24T18:40:22.688Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-24T18:40:22.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-24T18:40:22.688Z] ---> f7629b54cfaa [2020-09-24T18:40:22.688Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T18:40:22.688Z] latest: Pulling from library/docker [2020-09-24T18:40:22.953Z] df20fa9351a1: Already exists [2020-09-24T18:40:22.953Z] 25ad7478873d: Pulling fs layer [2020-09-24T18:40:22.953Z] 4684f6177b5d: Pulling fs layer [2020-09-24T18:40:22.953Z] 8ba584e970af: Pulling fs layer [2020-09-24T18:40:22.953Z] 3cdc74d2b06d: Pulling fs layer [2020-09-24T18:40:22.953Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-24T18:40:22.953Z] fca0ccc462d5: Pulling fs layer [2020-09-24T18:40:22.953Z] 3cdc74d2b06d: Waiting [2020-09-24T18:40:22.953Z] 4cf5a0d07c1f: Waiting [2020-09-24T18:40:22.953Z] fca0ccc462d5: Waiting [2020-09-24T18:40:22.953Z] 4684f6177b5d: Verifying Checksum [2020-09-24T18:40:22.953Z] 4684f6177b5d: Download complete [2020-09-24T18:40:22.953Z] 25ad7478873d: Verifying Checksum [2020-09-24T18:40:22.953Z] 25ad7478873d: Download complete [2020-09-24T18:40:23.221Z] 3cdc74d2b06d: Verifying Checksum [2020-09-24T18:40:23.221Z] 3cdc74d2b06d: Download complete [2020-09-24T18:40:23.221Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-24T18:40:23.221Z] 4cf5a0d07c1f: Download complete [2020-09-24T18:40:23.221Z] fca0ccc462d5: Verifying Checksum [2020-09-24T18:40:23.221Z] fca0ccc462d5: Download complete [2020-09-24T18:40:23.221Z] 25ad7478873d: Pull complete [2020-09-24T18:40:23.488Z] 4684f6177b5d: Pull complete [2020-09-24T18:40:24.084Z] 8ba584e970af: Download complete [2020-09-24T18:40:26.678Z] 8ba584e970af: Pull complete [2020-09-24T18:40:26.940Z] 3cdc74d2b06d: Pull complete [2020-09-24T18:40:26.940Z] 4cf5a0d07c1f: Pull complete [2020-09-24T18:40:26.940Z] fca0ccc462d5: Pull complete [2020-09-24T18:40:27.203Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T18:40:27.203Z] Status: Downloaded newer image for docker:latest [2020-09-24T18:40:28.602Z] ---> f653057b3a6f [2020-09-24T18:40:28.602Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T18:40:28.602Z] ---> Running in 32ec21cc4789 [2020-09-24T18:40:28.867Z] Removing intermediate container 32ec21cc4789 [2020-09-24T18:40:28.867Z] ---> 6557649618b5 [2020-09-24T18:40:28.867Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T18:40:28.867Z] ---> Running in 091b43a1164f [2020-09-24T18:40:29.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-24T18:40:30.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-24T18:40:31.706Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T18:40:31.969Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T18:40:32.543Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T18:40:32.543Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T18:40:32.543Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T18:40:32.806Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T18:40:32.806Z] OK: 167 MiB in 44 packages [2020-09-24T18:40:33.385Z] Removing intermediate container 091b43a1164f [2020-09-24T18:40:33.385Z] ---> 2ae80ede72bc [2020-09-24T18:40:33.385Z] Step 6/8 : WORKDIR /build [2020-09-24T18:40:33.385Z] ---> Running in 2b2729254818 [2020-09-24T18:40:33.649Z] Removing intermediate container 2b2729254818 [2020-09-24T18:40:33.649Z] ---> 97269ec75ac3 [2020-09-24T18:40:33.649Z] Step 7/8 : COPY go.mod . [2020-09-24T18:40:33.916Z] ---> 73eb48087b71 [2020-09-24T18:40:33.916Z] Step 8/8 : RUN go mod download [2020-09-24T18:40:33.916Z] ---> Running in 30362ace6ec6 [2020-09-24T18:41:00.565Z] Removing intermediate container 30362ace6ec6 [2020-09-24T18:41:00.565Z] ---> d0926ca271e8 [2020-09-24T18:41:00.565Z] Successfully built d0926ca271e8 [2020-09-24T18:41:00.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:41:00.940Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T18:41:00.940Z] . [Pipeline] withDockerContainer [2020-09-24T18:41:01.065Z] prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container [2020-09-24T18:41:01.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T18:41:01.922Z] $ docker top 0c00f16cb034a48fc43f4673c620a58b83e6d8cb472bf313dbeac9c5157d4552 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T18:41:02.470Z] + go version [2020-09-24T18:41:02.470Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-24T18:41:02.484Z] $ docker stop --time=1 0c00f16cb034a48fc43f4673c620a58b83e6d8cb472bf313dbeac9c5157d4552 [2020-09-24T18:41:04.129Z] $ docker rm -f 0c00f16cb034a48fc43f4673c620a58b83e6d8cb472bf313dbeac9c5157d4552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:41:05.064Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T18:41:05.064Z] . [Pipeline] withDockerContainer [2020-09-24T18:41:05.161Z] prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container [2020-09-24T18:41:05.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T18:41:05.839Z] $ docker top 9bcc1acb2a536c5ff0ea64fadd7de70fe7c0583d0a3ae034ff4d56da24da8b6f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T18:41:06.333Z] + make test [2020-09-24T18:41:06.333Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T18:41:07.292Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T18:41:14.026Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.097s coverage: 86.2% of statements [2020-09-24T18:41:29.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.022s coverage: 55.4% of statements [2020-09-24T18:41:29.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T18:41:29.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T18:41:29.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.050s coverage: 53.5% of statements [2020-09-24T18:41:29.125Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T18:41:29.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.226s coverage: 69.1% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.479s coverage: 61.6% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.058s coverage: 100.0% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.004s coverage: 100.0% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.007s coverage: 9.4% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.619s coverage: 75.0% of statements [2020-09-24T18:41:44.351Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.015s coverage: 89.7% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.079s coverage: 80.5% of statements [2020-09-24T18:41:44.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.006s coverage: 71.7% of statements [2020-09-24T18:41:59.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.391s coverage: 70.6% of statements [2020-09-24T18:41:59.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-24T18:41:59.275Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T18:42:02.613Z] gofmt -l . [2020-09-24T18:42:02.613Z] [ "`gofmt -l .`" = "" ] [2020-09-24T18:42:02.613Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T18:42:03.329Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T18:42:03.335Z] $ docker stop --time=1 9bcc1acb2a536c5ff0ea64fadd7de70fe7c0583d0a3ae034ff4d56da24da8b6f [2020-09-24T18:42:04.981Z] $ docker rm -f 9bcc1acb2a536c5ff0ea64fadd7de70fe7c0583d0a3ae034ff4d56da24da8b6f [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-24T18:43:02.787Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1193 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-24T18:43:02.914Z] Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-09-24T18:43:08.010Z] using credential edgex-jenkins-ssh [2020-09-24T18:43:08.071Z] Cloning the remote Git repository [2020-09-24T18:43:08.154Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:43:08.296Z] > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 [2020-09-24T18:43:08.382Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:43:08.385Z] > git --version # timeout=10 [2020-09-24T18:43:08.408Z] > git --version # 'git version 2.17.1' [2020-09-24T18:43:08.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:43:08.504Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T18:43:11.355Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T18:43:11.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T18:43:11.411Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T18:43:11.443Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T18:43:11.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:43:11.454Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T18:43:12.085Z] Merging remotes/origin/master commit 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 into PR head commit bf7339c08232ede76586d2ac0c5f47514e8e624f [2020-09-24T18:43:12.321Z] Merge succeeded, producing bf7339c08232ede76586d2ac0c5f47514e8e624f [2020-09-24T18:43:12.322Z] Checking out Revision bf7339c08232ede76586d2ac0c5f47514e8e624f (PR-498) [2020-09-24T18:43:12.105Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T18:43:12.124Z] > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # timeout=10 [2020-09-24T18:43:12.240Z] > git remote # timeout=10 [2020-09-24T18:43:12.257Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T18:43:12.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T18:43:12.287Z] > git merge 3b3ebc9b4bec1cb8920d3faa8dcf6917f2351578 # timeout=10 [2020-09-24T18:43:12.310Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T18:43:12.331Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T18:43:12.388Z] > git checkout -f bf7339c08232ede76586d2ac0c5f47514e8e624f # timeout=10 [2020-09-24T18:43:16.712Z] Commit message: "Merge branch 'master' into mqtt-trigger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T18:43:20.217Z] ========================================================= [2020-09-24T18:43:20.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-24T18:43:20.217Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:43:21.320Z] + 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-24T18:43:22.778Z] Sending build context to Docker daemon 37.44MB [2020-09-24T18:43:22.778Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T18:43:22.778Z] Step 2/8 : FROM ${BASE} [2020-09-24T18:43:23.057Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-24T18:43:23.057Z] b538f80385f9: Pulling fs layer [2020-09-24T18:43:23.057Z] 74f711af9a0d: Pulling fs layer [2020-09-24T18:43:23.057Z] 99f96fe45779: Pulling fs layer [2020-09-24T18:43:23.057Z] 8529a6b9a6be: Pulling fs layer [2020-09-24T18:43:23.057Z] 45590311c82a: Pulling fs layer [2020-09-24T18:43:23.057Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-24T18:43:23.057Z] 209524e5b208: Pulling fs layer [2020-09-24T18:43:23.057Z] 45590311c82a: Waiting [2020-09-24T18:43:23.057Z] 69ca0ff8b7b3: Waiting [2020-09-24T18:43:23.057Z] 209524e5b208: Waiting [2020-09-24T18:43:23.058Z] 8529a6b9a6be: Waiting [2020-09-24T18:43:23.058Z] 99f96fe45779: Download complete [2020-09-24T18:43:23.058Z] 74f711af9a0d: Verifying Checksum [2020-09-24T18:43:23.058Z] 74f711af9a0d: Download complete [2020-09-24T18:43:23.058Z] 45590311c82a: Verifying Checksum [2020-09-24T18:43:23.058Z] 45590311c82a: Download complete [2020-09-24T18:43:23.058Z] b538f80385f9: Verifying Checksum [2020-09-24T18:43:23.058Z] b538f80385f9: Download complete [2020-09-24T18:43:23.058Z] 69ca0ff8b7b3: Download complete [2020-09-24T18:43:23.660Z] b538f80385f9: Pull complete [2020-09-24T18:43:24.263Z] 74f711af9a0d: Pull complete [2020-09-24T18:43:24.867Z] 99f96fe45779: Pull complete [2020-09-24T18:43:25.469Z] 209524e5b208: Verifying Checksum [2020-09-24T18:43:25.469Z] 209524e5b208: Download complete [2020-09-24T18:43:26.917Z] 8529a6b9a6be: Verifying Checksum [2020-09-24T18:43:26.917Z] 8529a6b9a6be: Download complete [2020-09-24T18:43:37.133Z] 8529a6b9a6be: Pull complete [2020-09-24T18:43:37.133Z] 45590311c82a: Pull complete [2020-09-24T18:43:37.133Z] 69ca0ff8b7b3: Pull complete [2020-09-24T18:43:41.486Z] 209524e5b208: Pull complete [2020-09-24T18:43:41.486Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-24T18:43:41.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-24T18:43:41.486Z] ---> 5bddaf1c2fca [2020-09-24T18:43:41.486Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T18:43:41.486Z] latest: Pulling from library/docker [2020-09-24T18:43:41.486Z] b538f80385f9: Already exists [2020-09-24T18:43:41.486Z] 259a493cd78d: Pulling fs layer [2020-09-24T18:43:41.486Z] b8e66b5100f5: Pulling fs layer [2020-09-24T18:43:41.486Z] 7f8258a56ab6: Pulling fs layer [2020-09-24T18:43:41.486Z] 75a0a0ebb566: Pulling fs layer [2020-09-24T18:43:41.486Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-24T18:43:41.486Z] 294320357d30: Pulling fs layer [2020-09-24T18:43:41.486Z] 4a2c62f0a2a3: Waiting [2020-09-24T18:43:41.486Z] 294320357d30: Waiting [2020-09-24T18:43:41.486Z] 75a0a0ebb566: Waiting [2020-09-24T18:43:41.486Z] b8e66b5100f5: Verifying Checksum [2020-09-24T18:43:41.486Z] b8e66b5100f5: Download complete [2020-09-24T18:43:41.486Z] 259a493cd78d: Verifying Checksum [2020-09-24T18:43:41.486Z] 259a493cd78d: Download complete [2020-09-24T18:43:41.486Z] 75a0a0ebb566: Verifying Checksum [2020-09-24T18:43:41.486Z] 75a0a0ebb566: Download complete [2020-09-24T18:43:41.486Z] 4a2c62f0a2a3: Verifying Checksum [2020-09-24T18:43:41.486Z] 4a2c62f0a2a3: Download complete [2020-09-24T18:43:41.766Z] 294320357d30: Download complete [2020-09-24T18:43:42.372Z] 259a493cd78d: Pull complete [2020-09-24T18:43:42.651Z] b8e66b5100f5: Pull complete [2020-09-24T18:43:42.929Z] 7f8258a56ab6: Verifying Checksum [2020-09-24T18:43:42.929Z] 7f8258a56ab6: Download complete [2020-09-24T18:43:46.338Z] 7f8258a56ab6: Pull complete [2020-09-24T18:43:46.338Z] 75a0a0ebb566: Pull complete [2020-09-24T18:43:46.935Z] 4a2c62f0a2a3: Pull complete [2020-09-24T18:43:47.213Z] 294320357d30: Pull complete [2020-09-24T18:43:47.213Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T18:43:47.213Z] Status: Downloaded newer image for docker:latest [2020-09-24T18:43:53.929Z] ---> b2a324d9ba08 [2020-09-24T18:43:53.929Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T18:43:53.929Z] ---> Running in 398e3ea98124 [2020-09-24T18:43:53.929Z] Removing intermediate container 398e3ea98124 [2020-09-24T18:43:53.929Z] ---> 0b0ace0fc48a [2020-09-24T18:43:53.929Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T18:43:54.211Z] ---> Running in 8c8f203e7e3b [2020-09-24T18:43:56.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-24T18:43:56.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-24T18:43:58.790Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T18:43:59.067Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T18:43:59.660Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T18:43:59.931Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T18:44:00.205Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T18:44:00.205Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T18:44:00.205Z] OK: 144 MiB in 44 packages [2020-09-24T18:44:01.663Z] Removing intermediate container 8c8f203e7e3b [2020-09-24T18:44:01.663Z] ---> 574471d578a3 [2020-09-24T18:44:01.663Z] Step 6/8 : WORKDIR /build [2020-09-24T18:44:01.663Z] ---> Running in 2ce6c682a9a3 [2020-09-24T18:44:02.262Z] Removing intermediate container 2ce6c682a9a3 [2020-09-24T18:44:02.262Z] ---> 475d56b015fb [2020-09-24T18:44:02.262Z] Step 7/8 : COPY go.mod . [2020-09-24T18:44:02.859Z] ---> 6c699d5c1fc2 [2020-09-24T18:44:02.859Z] Step 8/8 : RUN go mod download [2020-09-24T18:44:03.132Z] ---> Running in 75bf73f8bda8 [2020-09-24T18:44:35.492Z] Removing intermediate container 75bf73f8bda8 [2020-09-24T18:44:35.492Z] ---> 5e5433864cc5 [2020-09-24T18:44:35.492Z] Successfully built 5e5433864cc5 [2020-09-24T18:44:35.492Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:44:35.930Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T18:44:35.930Z] . [Pipeline] withDockerContainer [2020-09-24T18:44:36.211Z] prd-ubuntu18.04-docker-arm64-4c-16g-1193 does not seem to be running inside a container [2020-09-24T18:44:36.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T18:44:38.381Z] $ docker top 9ef36417d66b1143ee076e10f53760e7f65aff23645d67aa4fc77e189a5b15be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T18:44:39.890Z] + go version [2020-09-24T18:44:39.890Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-24T18:44:39.917Z] $ docker stop --time=1 9ef36417d66b1143ee076e10f53760e7f65aff23645d67aa4fc77e189a5b15be [2020-09-24T18:44:41.904Z] $ docker rm -f 9ef36417d66b1143ee076e10f53760e7f65aff23645d67aa4fc77e189a5b15be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:44:42.931Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T18:44:42.931Z] . [Pipeline] withDockerContainer [2020-09-24T18:44:43.209Z] prd-ubuntu18.04-docker-arm64-4c-16g-1193 does not seem to be running inside a container [2020-09-24T18:44:43.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T18:44:45.228Z] $ docker top cc702db27752d60963d3fdf79290f96d5b81588aef0e593e3383fdedb3d4dc5f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T18:44:46.668Z] + make test [2020-09-24T18:44:46.669Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T18:44:48.651Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T18:45:10.880Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.115s coverage: 86.2% of statements [2020-09-24T18:45:57.883Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.068s coverage: 55.4% of statements [2020-09-24T18:45:57.883Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T18:45:57.883Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T18:45:57.883Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.083s coverage: 53.5% of statements [2020-09-24T18:45:57.883Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T18:45:57.883Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.388s coverage: 69.1% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.631s coverage: 61.6% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.099s coverage: 100.0% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.014s coverage: 100.0% of statements [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T18:46:02.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T18:46:02.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.035s coverage: 9.4% of statements [2020-09-24T18:46:03.211Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.179s coverage: 75.0% of statements [2020-09-24T18:46:03.211Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-24T18:46:03.211Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.044s coverage: 89.7% of statements [2020-09-24T18:46:03.211Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements [2020-09-24T18:46:03.211Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.136s coverage: 80.5% of statements [2020-09-24T18:46:03.211Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.022s coverage: 71.7% of statements [2020-09-24T18:46:29.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.625s coverage: 70.6% of statements [2020-09-24T18:46:29.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements [2020-09-24T18:46:29.990Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T18:46:45.093Z] gofmt -l . [2020-09-24T18:46:45.093Z] [ "`gofmt -l .`" = "" ] [2020-09-24T18:46:45.093Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T18:46:45.158Z] Warning: overwriting stash ‘coverage-report’ [2020-09-24T18:46:46.154Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T18:46:46.162Z] $ docker stop --time=1 cc702db27752d60963d3fdf79290f96d5b81588aef0e593e3383fdedb3d4dc5f [2020-09-24T18:46:48.332Z] $ docker rm -f cc702db27752d60963d3fdf79290f96d5b81588aef0e593e3383fdedb3d4dc5f [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-24T18:46:51.593Z] provisioning config files... [2020-09-24T18:46:51.617Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config8559626086572403541tmp [Pipeline] { [Pipeline] sh [2020-09-24T18:46:52.006Z] + curl -s https://codecov.io/bash [2020-09-24T18:46:52.006Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config8559626086572403541tmp [Pipeline] } [2020-09-24T18:46:52.304Z] 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] { (Archive Prep) Stage "Archive Prep" 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-24T18:46:54.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T18:46:55.604Z] ---> package-listing.sh [2020-09-24T18:46:55.604Z] ++ facter osfamily [2020-09-24T18:46:55.604Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-24T18:46:55.604Z] + OS_FAMILY=redhat [2020-09-24T18:46:55.604Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-24T18:46:55.604Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-24T18:46:55.604Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-24T18:46:55.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-24T18:46:55.604Z] + PACKAGES=/tmp/packages_start.txt [2020-09-24T18:46:55.604Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-24T18:46:55.604Z] + PACKAGES=/tmp/packages_end.txt [2020-09-24T18:46:55.604Z] + case "${OS_FAMILY}" in [2020-09-24T18:46:55.604Z] + sort [2020-09-24T18:46:55.604Z] + rpm -qa [2020-09-24T18:47:01.208Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-24T18:47:01.208Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-24T18:47:01.208Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-24T18:47:01.208Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-24T18:47:01.208Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [2020-09-24T18:47:01.208Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:47:01.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T18:47:02.129Z] [2020-09-24T18:47:02.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-24T18:47:02.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T18:47:02.540Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-24T18:47:02.540Z] df20fa9351a1: Pulling fs layer [2020-09-24T18:47:02.540Z] 36b3adc4ff6f: Pulling fs layer [2020-09-24T18:47:02.540Z] 8ad3a11d3b57: Pulling fs layer [2020-09-24T18:47:02.540Z] 46f8f816bc3b: Pulling fs layer [2020-09-24T18:47:02.540Z] 0dadc02b9964: Pulling fs layer [2020-09-24T18:47:02.540Z] ce6a7cf60c04: Pulling fs layer [2020-09-24T18:47:02.540Z] 7a184a31f384: Pulling fs layer [2020-09-24T18:47:02.540Z] 0879bd2ef858: Pulling fs layer [2020-09-24T18:47:02.540Z] ce6a7cf60c04: Waiting [2020-09-24T18:47:02.540Z] 7a184a31f384: Waiting [2020-09-24T18:47:02.540Z] 0879bd2ef858: Waiting [2020-09-24T18:47:02.540Z] 46f8f816bc3b: Waiting [2020-09-24T18:47:02.540Z] 0dadc02b9964: Waiting [2020-09-24T18:47:02.937Z] 36b3adc4ff6f: Verifying Checksum [2020-09-24T18:47:02.937Z] 36b3adc4ff6f: Download complete [2020-09-24T18:47:02.937Z] 46f8f816bc3b: Verifying Checksum [2020-09-24T18:47:02.937Z] 46f8f816bc3b: Download complete [2020-09-24T18:47:03.250Z] 0dadc02b9964: Download complete [2020-09-24T18:47:03.250Z] df20fa9351a1: Verifying Checksum [2020-09-24T18:47:03.250Z] df20fa9351a1: Download complete [2020-09-24T18:47:03.250Z] ce6a7cf60c04: Verifying Checksum [2020-09-24T18:47:03.250Z] ce6a7cf60c04: Download complete [2020-09-24T18:47:03.250Z] 7a184a31f384: Verifying Checksum [2020-09-24T18:47:03.250Z] 7a184a31f384: Download complete [2020-09-24T18:47:03.553Z] df20fa9351a1: Pull complete [2020-09-24T18:47:03.882Z] 8ad3a11d3b57: Verifying Checksum [2020-09-24T18:47:03.882Z] 8ad3a11d3b57: Download complete [2020-09-24T18:47:03.882Z] 36b3adc4ff6f: Pull complete [2020-09-24T18:47:05.458Z] 0879bd2ef858: Verifying Checksum [2020-09-24T18:47:05.458Z] 0879bd2ef858: Download complete [2020-09-24T18:47:05.458Z] 8ad3a11d3b57: Pull complete [2020-09-24T18:47:05.772Z] 46f8f816bc3b: Pull complete [2020-09-24T18:47:06.839Z] 0dadc02b9964: Pull complete [2020-09-24T18:47:07.127Z] ce6a7cf60c04: Pull complete [2020-09-24T18:47:07.410Z] 7a184a31f384: Pull complete [2020-09-24T18:47:14.528Z] 0879bd2ef858: Pull complete [2020-09-24T18:47:14.528Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-24T18:47:14.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T18:47:14.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-24T18:47:14.826Z] prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container [2020-09-24T18:47:15.021Z] $ 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-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-24T18:47:18.012Z] $ docker top c55f81a3a3e542e25e301946229b558cc57090421e365864d8c560e6888b16d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T18:47:18.719Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-24T18:47:19.065Z] + ls /var/log/sa-host [2020-09-24T18:47:19.065Z] + sadf -c /var/log/sa-host/sa05 [2020-09-24T18:47:19.065Z] file_magic: OK [2020-09-24T18:47:19.065Z] HZ: Using current value: 100 [2020-09-24T18:47:19.065Z] file_header: OK [2020-09-24T18:47:19.065Z] 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-24T18:47:19.065Z] Statistics: [2020-09-24T18:47:19.065Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T18:47:19.065Z] File successfully converted to sysstat format version 12.2.1 [2020-09-24T18:47:19.065Z] + sadf -c /var/log/sa-host/sa24 [2020-09-24T18:47:19.065Z] file_magic: OK [2020-09-24T18:47:19.065Z] HZ: Using current value: 100 [2020-09-24T18:47:19.065Z] file_header: OK [2020-09-24T18:47:19.065Z] 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-24T18:47:19.065Z] Statistics: [2020-09-24T18:47:19.065Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T18:47:19.065Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-24T18:47:19.150Z] provisioning config files... [2020-09-24T18:47:19.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config7644940958601010014tmp [Pipeline] { [Pipeline] echo [2020-09-24T18:47:19.293Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T18:47:19.621Z] ---> create-netrc.sh [Pipeline] echo [2020-09-24T18:47:19.641Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T18:47:20.011Z] ---> logs-deploy.sh [2020-09-24T18:47:20.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-498/12 [2020-09-24T18:47:20.011Z] INFO: archiving workspace using pattern(s): [2020-09-24T18:47:22.066Z] Archives upload complete. [2020-09-24T18:47:22.353Z] INFO: archiving logs to Nexus