Pull request #505 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 91f1181df1057d1b199573f31a78fff1f04056d6+d4297c3f0affce4b46d730e2d159065f9736cf70 (aa6adeb50563e989aa4764cabce9842753555922) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-505/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 ‘prd-centos7-docker-4c-2g-1347’ Running on prd-centos7-docker-4c-2g-1356 in /w/workspace/ndry_app-functions-sdk-go_PR-505 [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-505 # 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 > 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/505/head:refs/remotes/origin/PR-505 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 91f1181df1057d1b199573f31a78fff1f04056d6 Merge succeeded, producing 91f1181df1057d1b199573f31a78fff1f04056d6 Checking out Revision 91f1181df1057d1b199573f31a78fff1f04056d6 (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # 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 d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-24T22:46:03.798Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-24T22:46:04.136Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-24T22:46:04.318Z] ========================================================= [2020-09-24T22:46:04.318Z] EdgeX Global Pipelines Version Info [2020-09-24T22:46:04.318Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:46:06.487Z] ------------------- [2020-09-24T22:46:06.487Z] stable info: [2020-09-24T22:46:06.487Z] ------------------- [2020-09-24T22:46:06.487Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-24T22:46:06.487Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T22:46:06.487Z] Message: update stable to v1.0.128 [2020-09-24T22:46:07.436Z] ------------------- [2020-09-24T22:46:07.436Z] experimental info: [2020-09-24T22:46:07.436Z] ------------------- [2020-09-24T22:46:07.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-24T22:46:07.436Z] Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 [2020-09-24T22:46:07.436Z] Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-24T22:46:07.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-24T22:46:08.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-24T22:46:08.230Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-24T22:46:08.369Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-24T22:46:08.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-24T22:46:08.690Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-24T22:46:08.821Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-24T22:46:08.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-24T22:46:09.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-24T22:46:09.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-24T22:46:09.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-24T22:46:09.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-24T22:46:09.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-24T22:46:09.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-24T22:46:09.904Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:10.031Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:10.211Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:10.405Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T22:46:10.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-24T22:46:10.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-24T22:46:10.941Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-24T22:46:11.069Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-24T22:46:11.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-24T22:46:11.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-24T22:46:11.546Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-09-24T22:46:11.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2020-09-24T22:46:11.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2020-09-24T22:46:11.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2020-09-24T22:46:12.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91f1181df1057d1b199573f31a78fff1f04056d6 [Pipeline] echo [2020-09-24T22:46:12.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91f1181 [Pipeline] echo [2020-09-24T22:46:12.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-24T22:46:13.513Z] + git log --format=format:%s -1 91f1181df1057d1b199573f31a78fff1f04056d6 [Pipeline] echo [2020-09-24T22:46:13.602Z] GIT_COMMIT: 91f1181df1057d1b199573f31a78fff1f04056d6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-09-24T22:46:13.680Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:46:14.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:14.300Z] [2020-09-24T22:46:14.300Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:46:14.759Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:14.759Z] latest: Pulling from edgex-devops/git-semver [2020-09-24T22:46:14.759Z] 31603596830f: Pulling fs layer [2020-09-24T22:46:14.759Z] 2a8b12db71e7: Pulling fs layer [2020-09-24T22:46:14.759Z] 6ca5941a6612: Pulling fs layer [2020-09-24T22:46:14.759Z] ecc8261a40a4: Pulling fs layer [2020-09-24T22:46:14.759Z] ecc8261a40a4: Waiting [2020-09-24T22:46:14.759Z] 2a8b12db71e7: Verifying Checksum [2020-09-24T22:46:14.759Z] 2a8b12db71e7: Download complete [2020-09-24T22:46:15.027Z] 31603596830f: Verifying Checksum [2020-09-24T22:46:15.027Z] 31603596830f: Download complete [2020-09-24T22:46:15.027Z] ecc8261a40a4: Verifying Checksum [2020-09-24T22:46:15.027Z] ecc8261a40a4: Download complete [2020-09-24T22:46:15.027Z] 6ca5941a6612: Verifying Checksum [2020-09-24T22:46:15.027Z] 6ca5941a6612: Download complete [2020-09-24T22:46:15.296Z] 31603596830f: Pull complete [2020-09-24T22:46:15.296Z] 2a8b12db71e7: Pull complete [2020-09-24T22:46:16.259Z] 6ca5941a6612: Pull complete [2020-09-24T22:46:16.259Z] ecc8261a40a4: Pull complete [2020-09-24T22:46:16.259Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-24T22:46:16.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T22:46:16.259Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-24T22:46:16.391Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2020-09-24T22:46:16.458Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-505 -v /w/workspace/ndry_app-functions-sdk-go_PR-505:/w/workspace/ndry_app-functions-sdk-go_PR-505:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-505@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-505@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-24T22:46:18.669Z] $ docker top 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-24T22:46:19.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T22:46:19.078Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T22:46:19.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T22:46:19.292Z] $ docker exec 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f ssh-agent [2020-09-24T22:46:19.445Z] SSH_AUTH_SOCK=/tmp/ssh-Fl4iT7IZyF7g/agent.12 [2020-09-24T22:46:19.445Z] SSH_AGENT_PID=17 [2020-09-24T22:46:19.455Z] Running ssh-add (command line suppressed) [2020-09-24T22:46:19.570Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/private_key_2023338571840498272.key (/w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/private_key_2023338571840498272.key) [2020-09-24T22:46:19.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T22:46:20.100Z] + git describe --exact-match --tags HEAD [2020-09-24T22:46:20.100Z] fatal: no tag exactly matches '91f1181df1057d1b199573f31a78fff1f04056d6' [Pipeline] } [2020-09-24T22:46:20.156Z] $ docker exec --env ******** --env ******** 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f ssh-agent -k [2020-09-24T22:46:20.267Z] unset SSH_AUTH_SOCK; [2020-09-24T22:46:20.268Z] unset SSH_AGENT_PID; [2020-09-24T22:46:20.268Z] echo Agent pid 17 killed; [2020-09-24T22:46:20.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-24T22:46:20.560Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-24T22:46:20.560Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-24T22:46:20.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T22:46:20.701Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T22:46:20.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T22:46:20.877Z] $ docker exec 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f ssh-agent [2020-09-24T22:46:21.041Z] SSH_AUTH_SOCK=/tmp/ssh-wveCZE8Wy8BB/agent.45 [2020-09-24T22:46:21.041Z] SSH_AGENT_PID=50 [2020-09-24T22:46:21.050Z] Running ssh-add (command line suppressed) [2020-09-24T22:46:21.169Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/private_key_8107827466609722332.key (/w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/private_key_8107827466609722332.key) [2020-09-24T22:46:21.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T22:46:21.715Z] + git semver init [2020-09-24T22:46:21.715Z] # -> Open(): unable to determine branch for HEAD [2020-09-24T22:46:21.715Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-505/.git [2020-09-24T22:46:21.715Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-505 [2020-09-24T22:46:21.715Z] # $SEMVER_REMOTE_NAME = origin [2020-09-24T22:46:21.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-24T22:46:21.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-24T22:46:21.715Z] # $SEMVER_BRANCH = PR-505 [2020-09-24T22:46:21.715Z] # $SEMVER_TEMP = /tmp/semver-584727868 [2020-09-24T22:46:21.715Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-24T22:46:26.069Z] # '/tmp/semver-584727868' -> '/w/workspace/ndry_app-functions-sdk-go_PR-505/.semver' [2020-09-24T22:46:26.069Z] # -> Force: false [2020-09-24T22:46:26.069Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-505/.semver [Pipeline] } [2020-09-24T22:46:26.114Z] $ docker exec --env ******** --env ******** 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f ssh-agent -k [2020-09-24T22:46:26.233Z] unset SSH_AUTH_SOCK; [2020-09-24T22:46:26.233Z] unset SSH_AGENT_PID; [2020-09-24T22:46:26.233Z] echo Agent pid 50 killed; [2020-09-24T22:46:26.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-24T22:46:27.126Z] + git semver [Pipeline] } [2020-09-24T22:46:27.179Z] $ docker stop --time=1 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f [2020-09-24T22:46:28.665Z] $ docker rm -f 37d7aeb73a41d00852f6ebb22f268885cdee7675ab94120f721eb99d00cdec3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-24T22:46:31.421Z] Stashed 51 file(s) [Pipeline] echo [2020-09-24T22:46:31.444Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-24T22:46:31.570Z] 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-24T22:46:47.423Z] Still waiting to schedule task [2020-09-24T22:46:47.423Z] ‘prd-centos7-docker-4c-2g-1358’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-24T22:46:47.454Z] Still waiting to schedule task [2020-09-24T22:46:47.454Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1350’ is offline [2020-09-24T22:47:59.671Z] Running on prd-centos7-docker-4c-2g-1362 in /w/workspace/ndry_app-functions-sdk-go_PR-505 [Pipeline] { [Pipeline] ws [2020-09-24T22:47:59.776Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T22:48:03.003Z] using credential edgex-jenkins-ssh [2020-09-24T22:48:03.059Z] Cloning the remote Git repository [2020-09-24T22:48:03.097Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:48:03.159Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T22:48:03.210Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:48:03.210Z] > git --version # timeout=10 [2020-09-24T22:48:03.221Z] > git --version # 'git version 2.16.5' [2020-09-24T22:48:03.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:48:03.248Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:48:05.056Z] Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 91f1181df1057d1b199573f31a78fff1f04056d6 [2020-09-24T22:48:05.161Z] Merge succeeded, producing 91f1181df1057d1b199573f31a78fff1f04056d6 [2020-09-24T22:48:05.161Z] Checking out Revision 91f1181df1057d1b199573f31a78fff1f04056d6 (PR-505) [2020-09-24T22:48:04.676Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:48:04.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:48:04.691Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:48:04.704Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:48:04.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:48:04.710Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T22:48:05.067Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:48:05.072Z] > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # timeout=10 [2020-09-24T22:48:05.132Z] > git remote # timeout=10 [2020-09-24T22:48:05.137Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T22:48:05.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:48:05.146Z] > git merge d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 [2020-09-24T22:48:05.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T22:48:05.167Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:48:05.171Z] > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # timeout=10 [2020-09-24T22:48:08.848Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-24T22:48:08.881Z] > git --version # timeout=10 [2020-09-24T22:48:08.887Z] > git --version # 'git version 2.16.5' [2020-09-24T22:48:08.893Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T22:48:11.498Z] ========================================================= [2020-09-24T22:48:11.498Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-24T22:48:11.498Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:48:12.249Z] + 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-24T22:48:12.828Z] Sending build context to Docker daemon 37.38MB [2020-09-24T22:48:12.828Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T22:48:12.828Z] Step 2/8 : FROM ${BASE} [2020-09-24T22:48:12.828Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-24T22:48:13.093Z] df20fa9351a1: Pulling fs layer [2020-09-24T22:48:13.093Z] ed8968b2872e: Pulling fs layer [2020-09-24T22:48:13.093Z] a92cc7c5fd73: Pulling fs layer [2020-09-24T22:48:13.093Z] e871e8e8d7a9: Pulling fs layer [2020-09-24T22:48:13.093Z] e73272ec9a57: Pulling fs layer [2020-09-24T22:48:13.093Z] 1e910a182e73: Pulling fs layer [2020-09-24T22:48:13.093Z] 4e634b169226: Pulling fs layer [2020-09-24T22:48:13.093Z] 1e910a182e73: Waiting [2020-09-24T22:48:13.093Z] e73272ec9a57: Waiting [2020-09-24T22:48:13.093Z] 4e634b169226: Waiting [2020-09-24T22:48:13.093Z] e871e8e8d7a9: Waiting [2020-09-24T22:48:13.093Z] a92cc7c5fd73: Download complete [2020-09-24T22:48:13.093Z] ed8968b2872e: Verifying Checksum [2020-09-24T22:48:13.093Z] ed8968b2872e: Download complete [2020-09-24T22:48:13.093Z] e73272ec9a57: Verifying Checksum [2020-09-24T22:48:13.093Z] e73272ec9a57: Download complete [2020-09-24T22:48:13.093Z] 1e910a182e73: Verifying Checksum [2020-09-24T22:48:13.093Z] 1e910a182e73: Download complete [2020-09-24T22:48:13.093Z] df20fa9351a1: Verifying Checksum [2020-09-24T22:48:13.093Z] df20fa9351a1: Download complete [2020-09-24T22:48:13.359Z] df20fa9351a1: Pull complete [2020-09-24T22:48:13.624Z] ed8968b2872e: Pull complete [2020-09-24T22:48:13.624Z] a92cc7c5fd73: Pull complete [2020-09-24T22:48:15.569Z] 4e634b169226: Verifying Checksum [2020-09-24T22:48:15.569Z] 4e634b169226: Download complete [2020-09-24T22:48:16.153Z] e871e8e8d7a9: Download complete [2020-09-24T22:48:22.846Z] e871e8e8d7a9: Pull complete [2020-09-24T22:48:22.846Z] e73272ec9a57: Pull complete [2020-09-24T22:48:22.846Z] 1e910a182e73: Pull complete [2020-09-24T22:48:31.077Z] 4e634b169226: Pull complete [2020-09-24T22:48:31.077Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-24T22:48:31.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-24T22:48:31.077Z] ---> f7629b54cfaa [2020-09-24T22:48:31.077Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T22:48:31.077Z] latest: Pulling from library/docker [2020-09-24T22:48:31.077Z] df20fa9351a1: Already exists [2020-09-24T22:48:31.077Z] 25ad7478873d: Pulling fs layer [2020-09-24T22:48:31.077Z] 4684f6177b5d: Pulling fs layer [2020-09-24T22:48:31.077Z] 8ba584e970af: Pulling fs layer [2020-09-24T22:48:31.077Z] 3cdc74d2b06d: Pulling fs layer [2020-09-24T22:48:31.077Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-24T22:48:31.077Z] fca0ccc462d5: Pulling fs layer [2020-09-24T22:48:31.077Z] 4cf5a0d07c1f: Waiting [2020-09-24T22:48:31.077Z] fca0ccc462d5: Waiting [2020-09-24T22:48:31.077Z] 3cdc74d2b06d: Waiting [2020-09-24T22:48:31.077Z] 4684f6177b5d: Verifying Checksum [2020-09-24T22:48:31.077Z] 4684f6177b5d: Download complete [2020-09-24T22:48:31.077Z] 25ad7478873d: Verifying Checksum [2020-09-24T22:48:31.077Z] 25ad7478873d: Download complete [2020-09-24T22:48:31.358Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-24T22:48:31.358Z] 4cf5a0d07c1f: Download complete [2020-09-24T22:48:31.358Z] 3cdc74d2b06d: Verifying Checksum [2020-09-24T22:48:31.358Z] 3cdc74d2b06d: Download complete [2020-09-24T22:48:31.358Z] fca0ccc462d5: Verifying Checksum [2020-09-24T22:48:31.358Z] fca0ccc462d5: Download complete [2020-09-24T22:48:31.635Z] 25ad7478873d: Pull complete [2020-09-24T22:48:31.906Z] 4684f6177b5d: Pull complete [2020-09-24T22:48:32.179Z] 8ba584e970af: Verifying Checksum [2020-09-24T22:48:32.179Z] 8ba584e970af: Download complete [2020-09-24T22:48:34.765Z] 8ba584e970af: Pull complete [2020-09-24T22:48:34.765Z] 3cdc74d2b06d: Pull complete [2020-09-24T22:48:35.029Z] 4cf5a0d07c1f: Pull complete [2020-09-24T22:48:35.029Z] fca0ccc462d5: Pull complete [2020-09-24T22:48:35.029Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T22:48:35.029Z] Status: Downloaded newer image for docker:latest [2020-09-24T22:48:36.992Z] ---> aa6502a00991 [2020-09-24T22:48:36.992Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T22:48:36.992Z] ---> Running in 23287d3a844d [2020-09-24T22:48:36.992Z] Removing intermediate container 23287d3a844d [2020-09-24T22:48:36.992Z] ---> a70d16e6532b [2020-09-24T22:48:36.992Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T22:48:36.992Z] ---> Running in c4d848b52454 [2020-09-24T22:48:37.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-24T22:48:38.530Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-24T22:48:39.479Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T22:48:39.479Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T22:48:39.479Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T22:48:39.742Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T22:48:39.742Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T22:48:39.742Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T22:48:40.005Z] OK: 167 MiB in 44 packages [2020-09-24T22:48:40.582Z] Removing intermediate container c4d848b52454 [2020-09-24T22:48:40.582Z] ---> 1429b6f0a6a2 [2020-09-24T22:48:40.582Z] Step 6/8 : WORKDIR /build [2020-09-24T22:48:40.582Z] ---> Running in b81c80448216 [2020-09-24T22:48:40.845Z] Removing intermediate container b81c80448216 [2020-09-24T22:48:40.845Z] ---> 00a5b8ca8c3d [2020-09-24T22:48:40.845Z] Step 7/8 : COPY go.mod . [2020-09-24T22:48:41.108Z] ---> 9cf498d954bb [2020-09-24T22:48:41.108Z] Step 8/8 : RUN go mod download [2020-09-24T22:48:41.108Z] ---> Running in 07fba634ad68 [2020-09-24T22:49:07.891Z] Removing intermediate container 07fba634ad68 [2020-09-24T22:49:07.891Z] ---> b866834325c5 [2020-09-24T22:49:07.891Z] Successfully built b866834325c5 [2020-09-24T22:49:07.891Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:49:08.333Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T22:49:08.333Z] . [Pipeline] withDockerContainer [2020-09-24T22:49:08.500Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-09-24T22:49:08.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T22:49:09.485Z] $ docker top ab3d150743279379218caebaf6f5f2e0300976bfbb00cd4cda7d55ce01e260b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:49:10.077Z] + go version [2020-09-24T22:49:10.077Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-24T22:49:10.109Z] $ docker stop --time=1 ab3d150743279379218caebaf6f5f2e0300976bfbb00cd4cda7d55ce01e260b2 [2020-09-24T22:49:11.477Z] $ docker rm -f ab3d150743279379218caebaf6f5f2e0300976bfbb00cd4cda7d55ce01e260b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:49:12.564Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T22:49:12.564Z] . [Pipeline] withDockerContainer [2020-09-24T22:49:12.694Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-09-24T22:49:12.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T22:49:13.290Z] $ docker top 9768321ea63b0b1e9493aa81baa6f4d93d17a89b7db433cef4b39b95c8963079 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:49:13.815Z] + make test [2020-09-24T22:49:13.815Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T22:49:15.217Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T22:49:21.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.092s coverage: 86.2% of statements [2020-09-24T22:49:40.223Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.045s coverage: 56.0% of statements [2020-09-24T22:49:40.223Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T22:49:40.223Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T22:49:40.223Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.028s coverage: 53.5% of statements [2020-09-24T22:49:40.223Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T22:49:40.223Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.256s coverage: 69.1% of statements [2020-09-24T22:49:44.871Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1367 in /w/workspace/ndry_app-functions-sdk-go_PR-505 [Pipeline] { [Pipeline] ws [2020-09-24T22:49:44.973Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T22:49:50.391Z] using credential edgex-jenkins-ssh [2020-09-24T22:49:50.466Z] Cloning the remote Git repository [2020-09-24T22:49:50.531Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:49:50.667Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T22:49:50.759Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:49:50.760Z] > git --version # timeout=10 [2020-09-24T22:49:50.787Z] > git --version # 'git version 2.17.1' [2020-09-24T22:49:50.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:49:50.869Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.496s coverage: 61.6% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.077s coverage: 100.0% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T22:49:52.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.011s coverage: 9.4% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.004s coverage: 75.0% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-24T22:49:52.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.097s coverage: 80.5% of statements [2020-09-24T22:49:53.867Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:49:53.884Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T22:49:54.454Z] Merging remotes/origin/master commit d4297c3f0affce4b46d730e2d159065f9736cf70 into PR head commit 91f1181df1057d1b199573f31a78fff1f04056d6 [2020-09-24T22:49:54.831Z] Merge succeeded, producing 91f1181df1057d1b199573f31a78fff1f04056d6 [2020-09-24T22:49:54.832Z] Checking out Revision 91f1181df1057d1b199573f31a78fff1f04056d6 (PR-505) [2020-09-24T22:49:53.909Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T22:49:53.948Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T22:49:53.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:49:53.961Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T22:49:54.479Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:49:54.496Z] > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # timeout=10 [2020-09-24T22:49:54.700Z] > git remote # timeout=10 [2020-09-24T22:49:54.738Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T22:49:54.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T22:49:54.788Z] > git merge d4297c3f0affce4b46d730e2d159065f9736cf70 # timeout=10 [2020-09-24T22:49:54.816Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T22:49:54.843Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T22:49:54.855Z] > git checkout -f 91f1181df1057d1b199573f31a78fff1f04056d6 # timeout=10 [2020-09-24T22:49:59.258Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-09-24T22:49:59.317Z] > git --version # timeout=10 [2020-09-24T22:49:59.327Z] > git --version # 'git version 2.17.1' [2020-09-24T22:49:59.342Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T22:50:03.116Z] ========================================================= [2020-09-24T22:50:03.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-24T22:50:03.116Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:50:04.416Z] + 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-24T22:50:05.874Z] Sending build context to Docker daemon 37.38MB [2020-09-24T22:50:05.874Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T22:50:05.874Z] Step 2/8 : FROM ${BASE} [2020-09-24T22:50:06.150Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-24T22:50:06.150Z] b538f80385f9: Pulling fs layer [2020-09-24T22:50:06.150Z] 74f711af9a0d: Pulling fs layer [2020-09-24T22:50:06.150Z] 99f96fe45779: Pulling fs layer [2020-09-24T22:50:06.150Z] 8529a6b9a6be: Pulling fs layer [2020-09-24T22:50:06.150Z] 45590311c82a: Pulling fs layer [2020-09-24T22:50:06.150Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-24T22:50:06.150Z] 209524e5b208: Pulling fs layer [2020-09-24T22:50:06.150Z] 45590311c82a: Waiting [2020-09-24T22:50:06.150Z] 209524e5b208: Waiting [2020-09-24T22:50:06.150Z] 69ca0ff8b7b3: Waiting [2020-09-24T22:50:06.150Z] 8529a6b9a6be: Waiting [2020-09-24T22:50:06.150Z] 99f96fe45779: Verifying Checksum [2020-09-24T22:50:06.150Z] 99f96fe45779: Download complete [2020-09-24T22:50:06.150Z] 74f711af9a0d: Verifying Checksum [2020-09-24T22:50:06.150Z] 74f711af9a0d: Download complete [2020-09-24T22:50:06.150Z] 45590311c82a: Verifying Checksum [2020-09-24T22:50:06.150Z] 45590311c82a: Download complete [2020-09-24T22:50:06.150Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-24T22:50:06.150Z] 69ca0ff8b7b3: Download complete [2020-09-24T22:50:06.150Z] b538f80385f9: Verifying Checksum [2020-09-24T22:50:06.150Z] b538f80385f9: Download complete [2020-09-24T22:50:07.144Z] b538f80385f9: Pull complete [2020-09-24T22:50:07.433Z] 74f711af9a0d: Pull complete [2020-09-24T22:50:07.447Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.349s coverage: 71.6% of statements [2020-09-24T22:50:07.447Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2020-09-24T22:50:07.447Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T22:50:08.039Z] 99f96fe45779: Pull complete [2020-09-24T22:50:08.318Z] 209524e5b208: Verifying Checksum [2020-09-24T22:50:08.318Z] 209524e5b208: Download complete [2020-09-24T22:50:09.776Z] 8529a6b9a6be: Download complete [2020-09-24T22:50:11.785Z] gofmt -l . [2020-09-24T22:50:12.050Z] [ "`gofmt -l .`" = "" ] [2020-09-24T22:50:12.050Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T22:50:13.053Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T22:50:13.076Z] $ docker stop --time=1 9768321ea63b0b1e9493aa81baa6f4d93d17a89b7db433cef4b39b95c8963079 [2020-09-24T22:50:14.652Z] $ docker rm -f 9768321ea63b0b1e9493aa81baa6f4d93d17a89b7db433cef4b39b95c8963079 [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-24T22:50:22.213Z] 8529a6b9a6be: Pull complete [2020-09-24T22:50:22.214Z] 45590311c82a: Pull complete [2020-09-24T22:50:22.214Z] 69ca0ff8b7b3: Pull complete [2020-09-24T22:50:24.187Z] 209524e5b208: Pull complete [2020-09-24T22:50:24.187Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-24T22:50:24.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-24T22:50:24.187Z] ---> 5bddaf1c2fca [2020-09-24T22:50:24.187Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T22:50:24.459Z] latest: Pulling from library/docker [2020-09-24T22:50:24.738Z] b538f80385f9: Already exists [2020-09-24T22:50:24.738Z] 259a493cd78d: Pulling fs layer [2020-09-24T22:50:24.738Z] b8e66b5100f5: Pulling fs layer [2020-09-24T22:50:24.738Z] 7f8258a56ab6: Pulling fs layer [2020-09-24T22:50:24.738Z] 75a0a0ebb566: Pulling fs layer [2020-09-24T22:50:24.738Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-24T22:50:24.738Z] 294320357d30: Pulling fs layer [2020-09-24T22:50:24.738Z] 75a0a0ebb566: Waiting [2020-09-24T22:50:24.738Z] 294320357d30: Waiting [2020-09-24T22:50:24.738Z] 4a2c62f0a2a3: Waiting [2020-09-24T22:50:25.019Z] b8e66b5100f5: Verifying Checksum [2020-09-24T22:50:25.020Z] b8e66b5100f5: Download complete [2020-09-24T22:50:25.020Z] 259a493cd78d: Verifying Checksum [2020-09-24T22:50:25.020Z] 259a493cd78d: Download complete [2020-09-24T22:50:25.020Z] 75a0a0ebb566: Verifying Checksum [2020-09-24T22:50:25.020Z] 75a0a0ebb566: Download complete [2020-09-24T22:50:25.020Z] 4a2c62f0a2a3: Verifying Checksum [2020-09-24T22:50:25.020Z] 4a2c62f0a2a3: Download complete [2020-09-24T22:50:25.020Z] 294320357d30: Verifying Checksum [2020-09-24T22:50:25.020Z] 294320357d30: Download complete [2020-09-24T22:50:25.629Z] 259a493cd78d: Pull complete [2020-09-24T22:50:25.904Z] b8e66b5100f5: Pull complete [2020-09-24T22:50:26.508Z] 7f8258a56ab6: Verifying Checksum [2020-09-24T22:50:26.508Z] 7f8258a56ab6: Download complete [2020-09-24T22:50:29.926Z] 7f8258a56ab6: Pull complete [2020-09-24T22:50:29.926Z] 75a0a0ebb566: Pull complete [2020-09-24T22:50:30.207Z] 4a2c62f0a2a3: Pull complete [2020-09-24T22:50:30.811Z] 294320357d30: Pull complete [2020-09-24T22:50:30.811Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T22:50:30.811Z] Status: Downloaded newer image for docker:latest [2020-09-24T22:50:37.577Z] ---> b83447869f25 [2020-09-24T22:50:37.577Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T22:50:37.577Z] ---> Running in 4c7abf82d762 [2020-09-24T22:50:37.577Z] Removing intermediate container 4c7abf82d762 [2020-09-24T22:50:37.577Z] ---> 41aa6c472966 [2020-09-24T22:50:37.577Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T22:50:37.577Z] ---> Running in 658e0569f829 [2020-09-24T22:50:39.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-24T22:50:40.164Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-24T22:50:41.166Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T22:50:41.166Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T22:50:41.166Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T22:50:41.441Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T22:50:41.441Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T22:50:41.716Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T22:50:41.716Z] OK: 144 MiB in 44 packages [2020-09-24T22:50:43.161Z] Removing intermediate container 658e0569f829 [2020-09-24T22:50:43.161Z] ---> ae646c6c477c [2020-09-24T22:50:43.161Z] Step 6/8 : WORKDIR /build [2020-09-24T22:50:43.161Z] ---> Running in 00bc0e13093d [2020-09-24T22:50:43.764Z] Removing intermediate container 00bc0e13093d [2020-09-24T22:50:43.764Z] ---> 3235267e69de [2020-09-24T22:50:43.764Z] Step 7/8 : COPY go.mod . [2020-09-24T22:50:44.364Z] ---> ee877f36f6a7 [2020-09-24T22:50:44.364Z] Step 8/8 : RUN go mod download [2020-09-24T22:50:44.364Z] ---> Running in a4b1ac13384f [2020-09-24T22:51:16.758Z] Removing intermediate container a4b1ac13384f [2020-09-24T22:51:16.758Z] ---> b50190705aac [2020-09-24T22:51:16.758Z] Successfully built b50190705aac [2020-09-24T22:51:16.758Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:51:17.242Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T22:51:17.242Z] . [Pipeline] withDockerContainer [2020-09-24T22:51:17.565Z] prd-ubuntu18.04-docker-arm64-4c-16g-1367 does not seem to be running inside a container [2020-09-24T22:51:17.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T22:51:19.705Z] $ docker top b69b53275ca3678202133b3c2ac35f1e03c77d9f7e76a3e68c32c3528552a377 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:51:21.261Z] + go version [2020-09-24T22:51:21.261Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-24T22:51:21.301Z] $ docker stop --time=1 b69b53275ca3678202133b3c2ac35f1e03c77d9f7e76a3e68c32c3528552a377 [2020-09-24T22:51:23.361Z] $ docker rm -f b69b53275ca3678202133b3c2ac35f1e03c77d9f7e76a3e68c32c3528552a377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:51:24.843Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T22:51:24.843Z] . [Pipeline] withDockerContainer [2020-09-24T22:51:25.175Z] prd-ubuntu18.04-docker-arm64-4c-16g-1367 does not seem to be running inside a container [2020-09-24T22:51:25.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T22:51:27.255Z] $ docker top 29020d5ad07647d014a3fc62535ee88afb3c72609837dbd501177b3b9ea55f1d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:51:28.697Z] + make test [2020-09-24T22:51:28.697Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T22:51:30.675Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T22:51:52.926Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.079s coverage: 86.2% of statements [2020-09-24T22:52:39.960Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.083s coverage: 56.0% of statements [2020-09-24T22:52:39.960Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T22:52:39.960Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T22:52:39.960Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.096s coverage: 53.5% of statements [2020-09-24T22:52:39.960Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T22:52:39.960Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.293s coverage: 69.1% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.757s coverage: 61.6% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.010s coverage: 100.0% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.107s coverage: 100.0% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.018s coverage: 100.0% of statements [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.018s coverage: 97.7% of statements [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T22:52:43.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T22:52:43.401Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 9.4% of statements [2020-09-24T22:52:45.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.191s coverage: 75.0% of statements [2020-09-24T22:52:45.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.041s coverage: 89.7% of statements [2020-09-24T22:52:45.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-09-24T22:52:45.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.173s coverage: 80.5% of statements [2020-09-24T22:53:12.194Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.625s coverage: 71.6% of statements [2020-09-24T22:53:12.194Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements [2020-09-24T22:53:12.194Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T22:53:24.631Z] gofmt -l . [2020-09-24T22:53:24.631Z] [ "`gofmt -l .`" = "" ] [2020-09-24T22:53:24.631Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T22:53:24.695Z] Warning: overwriting stash ‘coverage-report’ [2020-09-24T22:53:25.812Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T22:53:25.839Z] $ docker stop --time=1 29020d5ad07647d014a3fc62535ee88afb3c72609837dbd501177b3b9ea55f1d [2020-09-24T22:53:28.069Z] $ docker rm -f 29020d5ad07647d014a3fc62535ee88afb3c72609837dbd501177b3b9ea55f1d [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-24T22:53:31.834Z] provisioning config files... [2020-09-24T22:53:31.845Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/config639913362949214370tmp [Pipeline] { [Pipeline] sh [2020-09-24T22:53:32.385Z] + curl -s https://codecov.io/bash [2020-09-24T22:53:32.385Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/config639913362949214370tmp [Pipeline] } [2020-09-24T22:53:32.665Z] 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-24T22:53:36.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:53:36.692Z] ---> package-listing.sh [2020-09-24T22:53:36.692Z] ++ facter osfamily [2020-09-24T22:53:36.692Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-24T22:53:36.692Z] + OS_FAMILY=redhat [2020-09-24T22:53:36.692Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-505 [2020-09-24T22:53:36.692Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-24T22:53:36.692Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-24T22:53:36.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-24T22:53:36.692Z] + PACKAGES=/tmp/packages_start.txt [2020-09-24T22:53:36.692Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-505 ']' [2020-09-24T22:53:36.692Z] + PACKAGES=/tmp/packages_end.txt [2020-09-24T22:53:36.692Z] + case "${OS_FAMILY}" in [2020-09-24T22:53:36.692Z] + rpm -qa [2020-09-24T22:53:36.692Z] + sort [2020-09-24T22:53:40.012Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-24T22:53:40.012Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-24T22:53:40.012Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-24T22:53:40.012Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-505 ']' [2020-09-24T22:53:40.012Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-505/archives/ [2020-09-24T22:53:40.012Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-505/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:53:40.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:53:40.551Z] [2020-09-24T22:53:40.551Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-24T22:53:40.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:53:40.960Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-24T22:53:40.960Z] df20fa9351a1: Pulling fs layer [2020-09-24T22:53:40.960Z] 36b3adc4ff6f: Pulling fs layer [2020-09-24T22:53:40.960Z] 8ad3a11d3b57: Pulling fs layer [2020-09-24T22:53:40.960Z] 46f8f816bc3b: Pulling fs layer [2020-09-24T22:53:40.960Z] 0dadc02b9964: Pulling fs layer [2020-09-24T22:53:40.960Z] ce6a7cf60c04: Pulling fs layer [2020-09-24T22:53:40.960Z] 7a184a31f384: Pulling fs layer [2020-09-24T22:53:40.960Z] 0879bd2ef858: Pulling fs layer [2020-09-24T22:53:40.960Z] ce6a7cf60c04: Waiting [2020-09-24T22:53:40.960Z] 46f8f816bc3b: Waiting [2020-09-24T22:53:40.960Z] 0dadc02b9964: Waiting [2020-09-24T22:53:40.960Z] 7a184a31f384: Waiting [2020-09-24T22:53:40.960Z] 0879bd2ef858: Waiting [2020-09-24T22:53:40.960Z] 36b3adc4ff6f: Verifying Checksum [2020-09-24T22:53:40.960Z] 36b3adc4ff6f: Download complete [2020-09-24T22:53:40.960Z] 46f8f816bc3b: Verifying Checksum [2020-09-24T22:53:40.960Z] 46f8f816bc3b: Download complete [2020-09-24T22:53:40.960Z] df20fa9351a1: Verifying Checksum [2020-09-24T22:53:40.960Z] ce6a7cf60c04: Verifying Checksum [2020-09-24T22:53:40.960Z] ce6a7cf60c04: Download complete [2020-09-24T22:53:40.960Z] 7a184a31f384: Verifying Checksum [2020-09-24T22:53:40.960Z] 7a184a31f384: Download complete [2020-09-24T22:53:40.960Z] 0dadc02b9964: Verifying Checksum [2020-09-24T22:53:40.960Z] 0dadc02b9964: Download complete [2020-09-24T22:53:41.241Z] 8ad3a11d3b57: Verifying Checksum [2020-09-24T22:53:41.241Z] 8ad3a11d3b57: Download complete [2020-09-24T22:53:41.504Z] df20fa9351a1: Pull complete [2020-09-24T22:53:41.504Z] 0879bd2ef858: Verifying Checksum [2020-09-24T22:53:41.504Z] 0879bd2ef858: Download complete [2020-09-24T22:53:41.504Z] 36b3adc4ff6f: Pull complete [2020-09-24T22:53:42.081Z] 8ad3a11d3b57: Pull complete [2020-09-24T22:53:42.355Z] 46f8f816bc3b: Pull complete [2020-09-24T22:53:42.627Z] 0dadc02b9964: Pull complete [2020-09-24T22:53:42.627Z] ce6a7cf60c04: Pull complete [2020-09-24T22:53:42.888Z] 7a184a31f384: Pull complete [2020-09-24T22:53:45.462Z] 0879bd2ef858: Pull complete [2020-09-24T22:53:45.462Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-24T22:53:45.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T22:53:45.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-24T22:53:45.633Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2020-09-24T22:53:45.678Z] $ 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-505 -v /w/workspace/ndry_app-functions-sdk-go_PR-505:/w/workspace/ndry_app-functions-sdk-go_PR-505:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-505@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-505@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-24T22:53:51.660Z] $ docker top 16f42f5d727aafebc501ba6570b7593af3baa229053540f1291a7989b2e91105 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T22:53:52.245Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-24T22:53:52.564Z] + ls /var/log/sa-host [2020-09-24T22:53:52.564Z] + sadf -c /var/log/sa-host/sa05 [2020-09-24T22:53:52.564Z] file_magic: OK [2020-09-24T22:53:52.564Z] HZ: Using current value: 100 [2020-09-24T22:53:52.564Z] file_header: OK [2020-09-24T22:53:52.564Z] 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-24T22:53:52.564Z] Statistics: [2020-09-24T22:53:52.564Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T22:53:52.564Z] File successfully converted to sysstat format version 12.2.1 [2020-09-24T22:53:52.564Z] + sadf -c /var/log/sa-host/sa24 [2020-09-24T22:53:52.564Z] file_magic: OK [2020-09-24T22:53:52.564Z] HZ: Using current value: 100 [2020-09-24T22:53:52.564Z] file_header: OK [2020-09-24T22:53:52.564Z] 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-24T22:53:52.564Z] Statistics: [2020-09-24T22:53:52.564Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T22:53:52.564Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-24T22:53:52.746Z] provisioning config files... [2020-09-24T22:53:52.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-505@tmp/config5481792352246993971tmp [Pipeline] { [Pipeline] echo [2020-09-24T22:53:52.960Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:53:53.285Z] ---> create-netrc.sh [Pipeline] echo [2020-09-24T22:53:53.311Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T22:53:53.639Z] ---> logs-deploy.sh [2020-09-24T22:53:53.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-505/1 [2020-09-24T22:53:53.639Z] INFO: archiving workspace using pattern(s): [2020-09-24T22:53:55.027Z] Archives upload complete. [2020-09-24T22:53:55.027Z] INFO: archiving logs to Nexus