Pull request #482 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 05c1764a27c28968e49a9d7654077ab6e7f752a0+ffd58cbed93a44be1d6809303013af2bd13985cd (0f60bb7d4741a5775d42691527f7f91cc5619241) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-273’ Running on prd-centos7-docker-4c-2g-277 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-482 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ffd58cbed93a44be1d6809303013af2bd13985cd into PR head commit 05c1764a27c28968e49a9d7654077ab6e7f752a0 Merge succeeded, producing 05c1764a27c28968e49a9d7654077ab6e7f752a0 Checking out Revision 05c1764a27c28968e49a9d7654077ab6e7f752a0 (PR-482) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # 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 ffd58cbed93a44be1d6809303013af2bd13985cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. > git rev-list --no-walk daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T18:50:26.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T18:50:27.193Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T18:50:27.299Z] ========================================================= [2020-09-17T18:50:27.299Z] EdgeX Global Pipelines Version Info [2020-09-17T18:50:27.299Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:50:28.763Z] ------------------- [2020-09-17T18:50:28.763Z] stable info: [2020-09-17T18:50:28.763Z] ------------------- [2020-09-17T18:50:28.763Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T18:50:28.763Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T18:50:28.763Z] Message: update stable to v1.0.122 [2020-09-17T18:50:29.713Z] ------------------- [2020-09-17T18:50:29.713Z] experimental info: [2020-09-17T18:50:29.713Z] ------------------- [2020-09-17T18:50:29.713Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T18:50:29.713Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-17T18:50:29.713Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T18:50:30.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-17T18:50:30.192Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-17T18:50:30.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T18:50:30.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T18:50:30.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T18:50:30.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T18:50:30.958Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T18:50:31.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T18:50:31.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T18:50:31.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T18:50:31.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T18:50:31.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-17T18:50:31.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T18:50:31.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T18:50:31.799Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:50:31.902Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:50:31.993Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:50:32.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:50:32.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T18:50:32.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T18:50:32.474Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-17T18:50:32.586Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-17T18:50:32.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-482 [Pipeline] echo [2020-09-17T18:50:32.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-482 [Pipeline] echo [2020-09-17T18:50:33.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-482 [Pipeline] echo [2020-09-17T18:50:33.125Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05c1764a27c28968e49a9d7654077ab6e7f752a0 [Pipeline] echo [2020-09-17T18:50:33.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05c1764 [Pipeline] echo [2020-09-17T18:50:33.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T18:50:33.876Z] + git log --format=format:%s -1 05c1764a27c28968e49a9d7654077ab6e7f752a0 [Pipeline] echo [2020-09-17T18:50:33.936Z] GIT_COMMIT: 05c1764a27c28968e49a9d7654077ab6e7f752a0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-09-17T18:50:33.982Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:50:34.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:50:35.185Z] [2020-09-17T18:50:35.185Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:50:35.530Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:50:35.530Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T18:50:35.530Z] 31603596830f: Pulling fs layer [2020-09-17T18:50:35.530Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T18:50:35.530Z] 6ca5941a6612: Pulling fs layer [2020-09-17T18:50:35.530Z] ecc8261a40a4: Pulling fs layer [2020-09-17T18:50:35.530Z] ecc8261a40a4: Waiting [2020-09-17T18:50:35.530Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T18:50:35.530Z] 2a8b12db71e7: Download complete [2020-09-17T18:50:35.797Z] 31603596830f: Download complete [2020-09-17T18:50:35.797Z] ecc8261a40a4: Verifying Checksum [2020-09-17T18:50:35.797Z] ecc8261a40a4: Download complete [2020-09-17T18:50:35.797Z] 6ca5941a6612: Verifying Checksum [2020-09-17T18:50:35.797Z] 6ca5941a6612: Download complete [2020-09-17T18:50:36.060Z] 31603596830f: Pull complete [2020-09-17T18:50:36.060Z] 2a8b12db71e7: Pull complete [2020-09-17T18:50:37.015Z] 6ca5941a6612: Pull complete [2020-09-17T18:50:37.282Z] ecc8261a40a4: Pull complete [2020-09-17T18:50:37.282Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T18:50:37.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:50:37.282Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T18:50:37.398Z] prd-centos7-docker-4c-2g-277 does not seem to be running inside a container [2020-09-17T18:50:37.449Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T18:50:39.766Z] $ docker top 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T18:50:40.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T18:50:40.057Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T18:50:40.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T18:50:40.277Z] $ docker exec 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e ssh-agent [2020-09-17T18:50:40.438Z] SSH_AUTH_SOCK=/tmp/ssh-pnYp90UrKgWZ/agent.12 [2020-09-17T18:50:40.438Z] SSH_AGENT_PID=18 [2020-09-17T18:50:40.450Z] Running ssh-add (command line suppressed) [2020-09-17T18:50:40.568Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_2726433920395211820.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_2726433920395211820.key) [2020-09-17T18:50:40.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T18:50:40.963Z] + git describe --exact-match --tags HEAD [2020-09-17T18:50:40.964Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T18:50:40.988Z] $ docker exec --env ******** --env ******** 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e ssh-agent -k [2020-09-17T18:50:41.093Z] unset SSH_AUTH_SOCK; [2020-09-17T18:50:41.093Z] unset SSH_AGENT_PID; [2020-09-17T18:50:41.093Z] echo Agent pid 18 killed; [2020-09-17T18:50:41.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T18:50:41.230Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T18:50:41.230Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T18:50:41.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T18:50:41.342Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T18:50:41.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T18:50:41.518Z] $ docker exec 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e ssh-agent [2020-09-17T18:50:41.676Z] SSH_AUTH_SOCK=/tmp/ssh-KcgcCLveH0lT/agent.46 [2020-09-17T18:50:41.676Z] SSH_AGENT_PID=52 [2020-09-17T18:50:41.684Z] Running ssh-add (command line suppressed) [2020-09-17T18:50:41.812Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_5016768572584995544.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_5016768572584995544.key) [2020-09-17T18:50:41.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T18:50:42.190Z] + git semver init [2020-09-17T18:50:42.190Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T18:50:42.190Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.git [2020-09-17T18:50:42.190Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-17T18:50:42.190Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T18:50:42.190Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T18:50:42.190Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T18:50:42.190Z] # $SEMVER_BRANCH = PR-482 [2020-09-17T18:50:42.190Z] # $SEMVER_TEMP = /tmp/semver-650728982 [2020-09-17T18:50:42.190Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-17T18:50:44.751Z] # '/tmp/semver-650728982' -> '/w/workspace/ndry_app-functions-sdk-go_PR-482/.semver' [2020-09-17T18:50:44.751Z] # -> Force: false [2020-09-17T18:50:44.751Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.semver [Pipeline] } [2020-09-17T18:50:44.779Z] $ docker exec --env ******** --env ******** 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e ssh-agent -k [2020-09-17T18:50:44.906Z] unset SSH_AUTH_SOCK; [2020-09-17T18:50:44.907Z] unset SSH_AGENT_PID; [2020-09-17T18:50:44.907Z] echo Agent pid 52 killed; [2020-09-17T18:50:44.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T18:50:45.434Z] + git semver [Pipeline] } [2020-09-17T18:50:45.453Z] $ docker stop --time=1 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e [2020-09-17T18:50:46.881Z] $ docker rm -f 6f705e4cbf94bfa57d601d14487b4940e539eb663e9b40ece1611cefe47e8b8e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T18:50:49.413Z] Stashed 45 file(s) [Pipeline] echo [2020-09-17T18:50:49.415Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T18:50:49.684Z] 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-17T18:51:05.717Z] Still waiting to schedule task [2020-09-17T18:51:05.718Z] ‘prd-centos7-docker-4c-2g-278’ is offline; ‘prd-centos7-docker-4c-2g-281’ is offline; ‘prd-centos7-docker-4c-2g-282’ is offline; ‘prd-centos7-docker-4c-2g-283’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-276’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-17T18:51:05.723Z] Still waiting to schedule task [2020-09-17T18:51:05.723Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-276’ is offline [2020-09-17T18:51:16.556Z] Running on prd-centos7-docker-4c-2g-281 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-17T18:51:16.619Z] Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-17T18:51:19.323Z] using credential edgex-jenkins-ssh [2020-09-17T18:51:19.406Z] Cloning the remote Git repository [2020-09-17T18:51:19.406Z] Cloning with configured refspecs honoured and without tags [2020-09-17T18:51:19.438Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:51:19.506Z] > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 [2020-09-17T18:51:19.553Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:51:19.553Z] > git --version # timeout=10 [2020-09-17T18:51:19.563Z] > git --version # 'git version 2.16.5' [2020-09-17T18:51:19.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:51:19.589Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:51:20.892Z] Fetching without tags [2020-09-17T18:51:21.254Z] Merging remotes/origin/master commit ffd58cbed93a44be1d6809303013af2bd13985cd into PR head commit 05c1764a27c28968e49a9d7654077ab6e7f752a0 [2020-09-17T18:51:21.360Z] Merge succeeded, producing 05c1764a27c28968e49a9d7654077ab6e7f752a0 [2020-09-17T18:51:21.360Z] Checking out Revision 05c1764a27c28968e49a9d7654077ab6e7f752a0 (PR-482) [2020-09-17T18:51:20.863Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:51:20.870Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-17T18:51:20.877Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:51:20.887Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:51:20.899Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:51:20.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:51:20.904Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:51:21.265Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:51:21.272Z] > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # timeout=10 [2020-09-17T18:51:21.321Z] > git remote # timeout=10 [2020-09-17T18:51:21.326Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T18:51:21.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:51:21.342Z] > git merge ffd58cbed93a44be1d6809303013af2bd13985cd # timeout=10 [2020-09-17T18:51:21.352Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T18:51:21.366Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:51:21.372Z] > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # timeout=10 [2020-09-17T18:51:25.036Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T18:51:26.931Z] ========================================================= [2020-09-17T18:51:26.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T18:51:26.931Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:51:27.602Z] + 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-17T18:51:28.564Z] Sending build context to Docker daemon 37.17MB [2020-09-17T18:51:28.564Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T18:51:28.564Z] Step 2/8 : FROM ${BASE} [2020-09-17T18:51:28.564Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T18:51:28.564Z] df20fa9351a1: Pulling fs layer [2020-09-17T18:51:28.564Z] ed8968b2872e: Pulling fs layer [2020-09-17T18:51:28.564Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T18:51:28.564Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T18:51:28.564Z] e73272ec9a57: Pulling fs layer [2020-09-17T18:51:28.564Z] 1e910a182e73: Pulling fs layer [2020-09-17T18:51:28.564Z] 4e634b169226: Pulling fs layer [2020-09-17T18:51:28.564Z] e73272ec9a57: Waiting [2020-09-17T18:51:28.564Z] 1e910a182e73: Waiting [2020-09-17T18:51:28.564Z] e871e8e8d7a9: Waiting [2020-09-17T18:51:28.564Z] 4e634b169226: Waiting [2020-09-17T18:51:28.564Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T18:51:28.564Z] a92cc7c5fd73: Download complete [2020-09-17T18:51:28.564Z] ed8968b2872e: Download complete [2020-09-17T18:51:28.564Z] e73272ec9a57: Verifying Checksum [2020-09-17T18:51:28.564Z] e73272ec9a57: Download complete [2020-09-17T18:51:28.564Z] 1e910a182e73: Download complete [2020-09-17T18:51:28.564Z] df20fa9351a1: Download complete [2020-09-17T18:51:29.140Z] df20fa9351a1: Pull complete [2020-09-17T18:51:29.141Z] ed8968b2872e: Pull complete [2020-09-17T18:51:29.404Z] a92cc7c5fd73: Pull complete [2020-09-17T18:51:31.340Z] 4e634b169226: Verifying Checksum [2020-09-17T18:51:31.340Z] 4e634b169226: Download complete [2020-09-17T18:51:31.607Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T18:51:31.607Z] e871e8e8d7a9: Download complete [2020-09-17T18:51:36.943Z] e871e8e8d7a9: Pull complete [2020-09-17T18:51:36.943Z] e73272ec9a57: Pull complete [2020-09-17T18:51:36.943Z] 1e910a182e73: Pull complete [2020-09-17T18:51:42.251Z] 4e634b169226: Pull complete [2020-09-17T18:51:42.251Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T18:51:42.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T18:51:42.251Z] ---> f7629b54cfaa [2020-09-17T18:51:42.251Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-17T18:51:42.251Z] latest: Pulling from library/docker [2020-09-17T18:51:42.251Z] df20fa9351a1: Already exists [2020-09-17T18:51:42.251Z] 25ad7478873d: Pulling fs layer [2020-09-17T18:51:42.251Z] 4684f6177b5d: Pulling fs layer [2020-09-17T18:51:42.251Z] 46e300cec669: Pulling fs layer [2020-09-17T18:51:42.251Z] 63038576ad94: Pulling fs layer [2020-09-17T18:51:42.251Z] 0fdb76c4706c: Pulling fs layer [2020-09-17T18:51:42.251Z] cb7edeffdfd5: Pulling fs layer [2020-09-17T18:51:42.251Z] 63038576ad94: Waiting [2020-09-17T18:51:42.251Z] 0fdb76c4706c: Waiting [2020-09-17T18:51:42.251Z] cb7edeffdfd5: Waiting [2020-09-17T18:51:42.251Z] 4684f6177b5d: Verifying Checksum [2020-09-17T18:51:42.251Z] 4684f6177b5d: Download complete [2020-09-17T18:51:42.529Z] 25ad7478873d: Verifying Checksum [2020-09-17T18:51:42.529Z] 25ad7478873d: Download complete [2020-09-17T18:51:42.529Z] 63038576ad94: Verifying Checksum [2020-09-17T18:51:42.529Z] 63038576ad94: Download complete [2020-09-17T18:51:42.529Z] 0fdb76c4706c: Verifying Checksum [2020-09-17T18:51:42.529Z] 0fdb76c4706c: Download complete [2020-09-17T18:51:42.529Z] cb7edeffdfd5: Verifying Checksum [2020-09-17T18:51:42.529Z] cb7edeffdfd5: Download complete [2020-09-17T18:51:42.808Z] 25ad7478873d: Pull complete [2020-09-17T18:51:43.088Z] 4684f6177b5d: Pull complete [2020-09-17T18:51:43.360Z] 46e300cec669: Download complete [2020-09-17T18:51:45.978Z] 46e300cec669: Pull complete [2020-09-17T18:51:45.978Z] 63038576ad94: Pull complete [2020-09-17T18:51:45.978Z] 0fdb76c4706c: Pull complete [2020-09-17T18:51:45.978Z] cb7edeffdfd5: Pull complete [2020-09-17T18:51:46.242Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T18:51:46.242Z] Status: Downloaded newer image for docker:latest [2020-09-17T18:51:47.670Z] ---> 4a64cb4ae8d8 [2020-09-17T18:51:47.670Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T18:51:47.670Z] ---> Running in 73939e93d36c [2020-09-17T18:51:47.934Z] Removing intermediate container 73939e93d36c [2020-09-17T18:51:47.934Z] ---> 3011c7e87379 [2020-09-17T18:51:47.934Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T18:51:47.934Z] ---> Running in 3a6504b01c8a [2020-09-17T18:51:48.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T18:51:49.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T18:51:50.793Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T18:51:50.793Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T18:51:50.793Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T18:51:51.054Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T18:51:51.054Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T18:51:51.316Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T18:51:51.316Z] OK: 167 MiB in 44 packages [2020-09-17T18:51:51.893Z] Removing intermediate container 3a6504b01c8a [2020-09-17T18:51:51.893Z] ---> 251f35350ced [2020-09-17T18:51:51.893Z] Step 6/8 : WORKDIR /build [2020-09-17T18:51:51.893Z] ---> Running in ec54e276756d [2020-09-17T18:51:51.893Z] Removing intermediate container ec54e276756d [2020-09-17T18:51:51.893Z] ---> 797a010373bf [2020-09-17T18:51:51.893Z] Step 7/8 : COPY go.mod . [2020-09-17T18:51:52.161Z] ---> e64129abd5c1 [2020-09-17T18:51:52.161Z] Step 8/8 : RUN go mod download [2020-09-17T18:51:52.161Z] ---> Running in 69c2b77827f2 [2020-09-17T18:52:18.815Z] Removing intermediate container 69c2b77827f2 [2020-09-17T18:52:18.815Z] ---> 0b041fd40785 [2020-09-17T18:52:18.815Z] Successfully built 0b041fd40785 [2020-09-17T18:52:18.815Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:52:19.313Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T18:52:19.313Z] . [Pipeline] withDockerContainer [2020-09-17T18:52:19.536Z] prd-centos7-docker-4c-2g-281 does not seem to be running inside a container [2020-09-17T18:52:19.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-17T18:52:20.418Z] $ docker top a6ddf7fc12b43f886cfda299ca02dab14378ac524ecfa9aa36f7a47b8fede4c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:52:20.928Z] + go version [2020-09-17T18:52:20.928Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T18:52:20.944Z] $ docker stop --time=1 a6ddf7fc12b43f886cfda299ca02dab14378ac524ecfa9aa36f7a47b8fede4c4 [2020-09-17T18:52:22.280Z] $ docker rm -f a6ddf7fc12b43f886cfda299ca02dab14378ac524ecfa9aa36f7a47b8fede4c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:52:23.221Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T18:52:23.222Z] . [Pipeline] withDockerContainer [2020-09-17T18:52:23.326Z] prd-centos7-docker-4c-2g-281 does not seem to be running inside a container [2020-09-17T18:52:23.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-17T18:52:23.958Z] $ docker top 9d7ed243114f427dd26b84e2c1e039d57d643e3e7ef22fa10dd37caf07572265 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:52:24.500Z] + make test [2020-09-17T18:52:24.500Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T18:52:26.460Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T18:52:34.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.086s coverage: 86.2% of statements [2020-09-17T18:52:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.044s coverage: 56.1% of statements [2020-09-17T18:52:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T18:52:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T18:52:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.037s coverage: 53.5% of statements [2020-09-17T18:52:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T18:52:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.280s coverage: 69.1% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.485s coverage: 61.6% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.063s coverage: 100.0% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.007s coverage: 100.0% of statements [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T18:53:02.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.029s coverage: 75.0% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-17T18:53:02.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.091s coverage: 80.0% of statements [2020-09-17T18:53:03.378Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-284 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-17T18:53:03.456Z] Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-17T18:53:09.407Z] using credential edgex-jenkins-ssh [2020-09-17T18:53:09.479Z] Cloning the remote Git repository [2020-09-17T18:53:09.479Z] Cloning with configured refspecs honoured and without tags [2020-09-17T18:53:09.535Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:53:09.655Z] > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 [2020-09-17T18:53:09.738Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:53:09.739Z] > git --version # timeout=10 [2020-09-17T18:53:09.756Z] > git --version # 'git version 2.17.1' [2020-09-17T18:53:09.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:53:09.849Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:53:12.645Z] Fetching without tags [2020-09-17T18:53:13.125Z] Merging remotes/origin/master commit ffd58cbed93a44be1d6809303013af2bd13985cd into PR head commit 05c1764a27c28968e49a9d7654077ab6e7f752a0 [2020-09-17T18:53:13.526Z] Merge succeeded, producing 05c1764a27c28968e49a9d7654077ab6e7f752a0 [2020-09-17T18:53:13.527Z] Checking out Revision 05c1764a27c28968e49a9d7654077ab6e7f752a0 (PR-482) [2020-09-17T18:53:12.553Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:53:12.573Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-17T18:53:12.590Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:53:12.618Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:53:12.647Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:53:12.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:53:12.662Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:53:13.136Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:53:13.163Z] > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # timeout=10 [2020-09-17T18:53:13.372Z] > git remote # timeout=10 [2020-09-17T18:53:13.415Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T18:53:13.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:53:13.450Z] > git merge ffd58cbed93a44be1d6809303013af2bd13985cd # timeout=10 [2020-09-17T18:53:13.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T18:53:13.551Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:53:13.566Z] > git checkout -f 05c1764a27c28968e49a9d7654077ab6e7f752a0 # timeout=10 [2020-09-17T18:53:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.445s coverage: 71.6% of statements [2020-09-17T18:53:17.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-17T18:53:17.653Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T18:53:17.913Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T18:53:21.186Z] ========================================================= [2020-09-17T18:53:21.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T18:53:21.186Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:53:21.927Z] gofmt -l . [2020-09-17T18:53:22.192Z] [ "`gofmt -l .`" = "" ] [2020-09-17T18:53:22.192Z] ./bin/test-go-mod-tidy.sh [2020-09-17T18:53:22.368Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] stash [2020-09-17T18:53:23.162Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T18:53:23.175Z] $ docker stop --time=1 9d7ed243114f427dd26b84e2c1e039d57d643e3e7ef22fa10dd37caf07572265 [2020-09-17T18:53:23.878Z] Sending build context to Docker daemon 37.17MB [2020-09-17T18:53:23.878Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T18:53:23.878Z] Step 2/8 : FROM ${BASE} [2020-09-17T18:53:23.878Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T18:53:23.878Z] b538f80385f9: Pulling fs layer [2020-09-17T18:53:23.878Z] 74f711af9a0d: Pulling fs layer [2020-09-17T18:53:23.878Z] 99f96fe45779: Pulling fs layer [2020-09-17T18:53:23.878Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T18:53:23.878Z] 45590311c82a: Pulling fs layer [2020-09-17T18:53:23.878Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T18:53:23.878Z] 209524e5b208: Pulling fs layer [2020-09-17T18:53:23.878Z] 8529a6b9a6be: Waiting [2020-09-17T18:53:23.878Z] 45590311c82a: Waiting [2020-09-17T18:53:23.878Z] 69ca0ff8b7b3: Waiting [2020-09-17T18:53:23.878Z] 209524e5b208: Waiting [2020-09-17T18:53:23.878Z] 99f96fe45779: Verifying Checksum [2020-09-17T18:53:23.878Z] 99f96fe45779: Download complete [2020-09-17T18:53:23.878Z] 74f711af9a0d: Verifying Checksum [2020-09-17T18:53:23.878Z] 74f711af9a0d: Download complete [2020-09-17T18:53:24.167Z] 45590311c82a: Verifying Checksum [2020-09-17T18:53:24.167Z] 45590311c82a: Download complete [2020-09-17T18:53:24.167Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T18:53:24.167Z] 69ca0ff8b7b3: Download complete [2020-09-17T18:53:24.450Z] b538f80385f9: Download complete [2020-09-17T18:53:24.851Z] $ docker rm -f 9d7ed243114f427dd26b84e2c1e039d57d643e3e7ef22fa10dd37caf07572265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-17T18:53:25.449Z] b538f80385f9: Pull complete [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 [2020-09-17T18:53:26.058Z] 74f711af9a0d: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T18:53:26.366Z] 99f96fe45779: Pull complete [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-17T18:53:27.404Z] 209524e5b208: Verifying Checksum [2020-09-17T18:53:27.404Z] 209524e5b208: Download complete [2020-09-17T18:53:30.089Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T18:53:30.089Z] 8529a6b9a6be: Download complete [2020-09-17T18:53:40.332Z] 8529a6b9a6be: Pull complete [2020-09-17T18:53:40.332Z] 45590311c82a: Pull complete [2020-09-17T18:53:40.332Z] 69ca0ff8b7b3: Pull complete [2020-09-17T18:53:43.758Z] 209524e5b208: Pull complete [2020-09-17T18:53:43.758Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T18:53:43.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T18:53:43.758Z] ---> 5bddaf1c2fca [2020-09-17T18:53:43.758Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-17T18:53:43.758Z] latest: Pulling from library/docker [2020-09-17T18:53:44.039Z] b538f80385f9: Already exists [2020-09-17T18:53:44.039Z] 259a493cd78d: Pulling fs layer [2020-09-17T18:53:44.039Z] b8e66b5100f5: Pulling fs layer [2020-09-17T18:53:44.039Z] 39dc9c94d07c: Pulling fs layer [2020-09-17T18:53:44.039Z] 551b823b3b82: Pulling fs layer [2020-09-17T18:53:44.039Z] 3c52a74df98c: Pulling fs layer [2020-09-17T18:53:44.039Z] 6c9b121b6998: Pulling fs layer [2020-09-17T18:53:44.040Z] 3c52a74df98c: Waiting [2020-09-17T18:53:44.040Z] 551b823b3b82: Waiting [2020-09-17T18:53:44.040Z] 6c9b121b6998: Waiting [2020-09-17T18:53:44.040Z] b8e66b5100f5: Verifying Checksum [2020-09-17T18:53:44.040Z] b8e66b5100f5: Download complete [2020-09-17T18:53:44.317Z] 259a493cd78d: Verifying Checksum [2020-09-17T18:53:44.317Z] 259a493cd78d: Download complete [2020-09-17T18:53:44.317Z] 551b823b3b82: Verifying Checksum [2020-09-17T18:53:44.317Z] 551b823b3b82: Download complete [2020-09-17T18:53:44.317Z] 3c52a74df98c: Verifying Checksum [2020-09-17T18:53:44.317Z] 3c52a74df98c: Download complete [2020-09-17T18:53:44.317Z] 6c9b121b6998: Verifying Checksum [2020-09-17T18:53:44.317Z] 6c9b121b6998: Download complete [2020-09-17T18:53:44.919Z] 259a493cd78d: Pull complete [2020-09-17T18:53:45.525Z] 39dc9c94d07c: Verifying Checksum [2020-09-17T18:53:45.525Z] 39dc9c94d07c: Download complete [2020-09-17T18:53:45.525Z] b8e66b5100f5: Pull complete [2020-09-17T18:53:48.954Z] 39dc9c94d07c: Pull complete [2020-09-17T18:53:48.954Z] 551b823b3b82: Pull complete [2020-09-17T18:53:49.234Z] 3c52a74df98c: Pull complete [2020-09-17T18:53:49.508Z] 6c9b121b6998: Pull complete [2020-09-17T18:53:49.508Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T18:53:49.508Z] Status: Downloaded newer image for docker:latest [2020-09-17T18:53:56.264Z] ---> dd7f8d9c3919 [2020-09-17T18:53:56.264Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T18:53:56.264Z] ---> Running in 9da90d6e1226 [2020-09-17T18:53:56.865Z] Removing intermediate container 9da90d6e1226 [2020-09-17T18:53:56.865Z] ---> 4d9bec333ad3 [2020-09-17T18:53:56.865Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T18:53:56.865Z] ---> Running in 83201e302b33 [2020-09-17T18:53:58.871Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T18:54:00.320Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T18:54:01.756Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T18:54:02.030Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T18:54:02.303Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T18:54:02.303Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T18:54:02.578Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T18:54:02.578Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T18:54:02.578Z] OK: 144 MiB in 44 packages [2020-09-17T18:54:04.016Z] Removing intermediate container 83201e302b33 [2020-09-17T18:54:04.016Z] ---> bedafed96fa9 [2020-09-17T18:54:04.016Z] Step 6/8 : WORKDIR /build [2020-09-17T18:54:04.290Z] ---> Running in cbc055c85ad9 [2020-09-17T18:54:04.565Z] Removing intermediate container cbc055c85ad9 [2020-09-17T18:54:04.566Z] ---> 4923759d07c9 [2020-09-17T18:54:04.566Z] Step 7/8 : COPY go.mod . [2020-09-17T18:54:05.559Z] ---> c8d4b57a6672 [2020-09-17T18:54:05.559Z] Step 8/8 : RUN go mod download [2020-09-17T18:54:05.559Z] ---> Running in 5267416441d6 [2020-09-17T18:54:37.929Z] Removing intermediate container 5267416441d6 [2020-09-17T18:54:37.929Z] ---> 9a257a63c057 [2020-09-17T18:54:37.929Z] Successfully built 9a257a63c057 [2020-09-17T18:54:37.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:54:38.362Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T18:54:38.362Z] . [Pipeline] withDockerContainer [2020-09-17T18:54:38.684Z] prd-ubuntu18.04-docker-arm64-4c-16g-284 does not seem to be running inside a container [2020-09-17T18:54:38.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** ci-base-image-arm64 cat [2020-09-17T18:54:40.870Z] $ docker top 8454d845e1e19b71b93a8498dc6eb73a0cb78a9df70c3b5f802b21b1287f05ab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:54:42.453Z] + go version [2020-09-17T18:54:42.453Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T18:54:42.493Z] $ docker stop --time=1 8454d845e1e19b71b93a8498dc6eb73a0cb78a9df70c3b5f802b21b1287f05ab [2020-09-17T18:54:44.507Z] $ docker rm -f 8454d845e1e19b71b93a8498dc6eb73a0cb78a9df70c3b5f802b21b1287f05ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:54:45.632Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T18:54:45.632Z] . [Pipeline] withDockerContainer [2020-09-17T18:54:45.945Z] prd-ubuntu18.04-docker-arm64-4c-16g-284 does not seem to be running inside a container [2020-09-17T18:54:46.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@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 ******** ci-base-image-arm64 cat [2020-09-17T18:54:48.024Z] $ docker top 790eb94e4d666bc75539f92446b1f4558a3b80be3a5e64f70ea6b6c70e89ce2c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:54:49.487Z] + make test [2020-09-17T18:54:49.487Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T18:54:51.475Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T18:55:18.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.103s coverage: 86.2% of statements [2020-09-17T18:55:57.437Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.079s coverage: 56.1% of statements [2020-09-17T18:55:57.437Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T18:55:57.437Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T18:55:57.437Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.090s coverage: 53.5% of statements [2020-09-17T18:55:57.437Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T18:55:57.437Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.338s coverage: 69.1% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.534s coverage: 61.6% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.104s coverage: 100.0% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.014s coverage: 100.0% of statements [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.014s coverage: 100.0% of statements [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.017s coverage: 96.6% of statements [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T18:56:09.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.027s coverage: 97.7% of statements [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T18:56:09.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T18:56:09.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-17T18:56:09.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.050s coverage: 75.0% of statements [2020-09-17T18:56:09.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.7% of statements [2020-09-17T18:56:09.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.028s coverage: 88.9% of statements [2020-09-17T18:56:09.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.158s coverage: 80.0% of statements [2020-09-17T18:56:36.723Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.853s coverage: 71.6% of statements [2020-09-17T18:56:36.723Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements [2020-09-17T18:56:36.723Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T18:56:49.181Z] gofmt -l . [2020-09-17T18:56:49.181Z] [ "`gofmt -l .`" = "" ] [2020-09-17T18:56:49.466Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T18:56:50.478Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T18:56:51.436Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T18:56:51.446Z] $ docker stop --time=1 790eb94e4d666bc75539f92446b1f4558a3b80be3a5e64f70ea6b6c70e89ce2c [2020-09-17T18:56:53.743Z] $ docker rm -f 790eb94e4d666bc75539f92446b1f4558a3b80be3a5e64f70ea6b6c70e89ce2c [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-17T18:56:56.817Z] provisioning config files... [2020-09-17T18:56:56.829Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config5742952159657586416tmp [Pipeline] { [Pipeline] sh [2020-09-17T18:56:57.235Z] + curl -s https://codecov.io/bash [2020-09-17T18:56:57.236Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config5742952159657586416tmp [Pipeline] } [2020-09-17T18:56:57.508Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:56:59.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:57:00.530Z] ---> package-listing.sh [2020-09-17T18:57:00.530Z] ++ facter osfamily [2020-09-17T18:57:00.530Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T18:57:00.530Z] + OS_FAMILY=redhat [2020-09-17T18:57:00.530Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-17T18:57:00.530Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T18:57:00.530Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T18:57:00.530Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T18:57:00.530Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T18:57:00.530Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T18:57:00.530Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T18:57:00.530Z] + case "${OS_FAMILY}" in [2020-09-17T18:57:00.530Z] + rpm -qa [2020-09-17T18:57:00.530Z] + sort [2020-09-17T18:57:04.765Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T18:57:04.765Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T18:57:04.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T18:57:04.765Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T18:57:04.765Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [2020-09-17T18:57:04.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:57:05.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:57:05.241Z] [2020-09-17T18:57:05.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:57:05.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:57:05.656Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T18:57:05.656Z] df20fa9351a1: Pulling fs layer [2020-09-17T18:57:05.656Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T18:57:05.656Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T18:57:05.656Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T18:57:05.656Z] 0dadc02b9964: Pulling fs layer [2020-09-17T18:57:05.656Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T18:57:05.656Z] 7a184a31f384: Pulling fs layer [2020-09-17T18:57:05.656Z] 0879bd2ef858: Pulling fs layer [2020-09-17T18:57:05.656Z] 0dadc02b9964: Waiting [2020-09-17T18:57:05.656Z] ce6a7cf60c04: Waiting [2020-09-17T18:57:05.656Z] 7a184a31f384: Waiting [2020-09-17T18:57:05.656Z] 0879bd2ef858: Waiting [2020-09-17T18:57:05.656Z] 46f8f816bc3b: Waiting [2020-09-17T18:57:05.656Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T18:57:05.656Z] 36b3adc4ff6f: Download complete [2020-09-17T18:57:05.656Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T18:57:05.656Z] 46f8f816bc3b: Download complete [2020-09-17T18:57:05.926Z] df20fa9351a1: Verifying Checksum [2020-09-17T18:57:05.926Z] df20fa9351a1: Download complete [2020-09-17T18:57:05.926Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T18:57:05.926Z] ce6a7cf60c04: Download complete [2020-09-17T18:57:05.926Z] 0dadc02b9964: Verifying Checksum [2020-09-17T18:57:05.926Z] 0dadc02b9964: Download complete [2020-09-17T18:57:05.926Z] 7a184a31f384: Verifying Checksum [2020-09-17T18:57:05.926Z] 7a184a31f384: Download complete [2020-09-17T18:57:05.926Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T18:57:05.926Z] 8ad3a11d3b57: Download complete [2020-09-17T18:57:06.190Z] df20fa9351a1: Pull complete [2020-09-17T18:57:06.455Z] 0879bd2ef858: Verifying Checksum [2020-09-17T18:57:06.455Z] 0879bd2ef858: Download complete [2020-09-17T18:57:06.455Z] 36b3adc4ff6f: Pull complete [2020-09-17T18:57:07.045Z] 8ad3a11d3b57: Pull complete [2020-09-17T18:57:07.045Z] 46f8f816bc3b: Pull complete [2020-09-17T18:57:07.309Z] 0dadc02b9964: Pull complete [2020-09-17T18:57:07.572Z] ce6a7cf60c04: Pull complete [2020-09-17T18:57:07.572Z] 7a184a31f384: Pull complete [2020-09-17T18:57:10.142Z] 0879bd2ef858: Pull complete [2020-09-17T18:57:10.142Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T18:57:10.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:57:10.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T18:57:10.272Z] prd-centos7-docker-4c-2g-277 does not seem to be running inside a container [2020-09-17T18:57:10.317Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T18:57:15.014Z] $ docker top 291842a4e1567e5e23ac76ae1c928e64b01a3bb0a91cc196f061b3a082b3301b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:57:15.537Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T18:57:15.836Z] + ls /var/log/sa-host [2020-09-17T18:57:15.836Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T18:57:15.836Z] file_magic: OK [2020-09-17T18:57:15.836Z] HZ: Using current value: 100 [2020-09-17T18:57:15.836Z] file_header: OK [2020-09-17T18:57:15.836Z] 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-17T18:57:15.836Z] Statistics: [2020-09-17T18:57:15.836Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T18:57:15.836Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T18:57:15.836Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T18:57:15.836Z] file_magic: OK [2020-09-17T18:57:15.836Z] HZ: Using current value: 100 [2020-09-17T18:57:15.836Z] file_header: OK [2020-09-17T18:57:15.836Z] 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-17T18:57:15.836Z] Statistics: [2020-09-17T18:57:15.836Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T18:57:15.836Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T18:57:15.924Z] provisioning config files... [2020-09-17T18:57:15.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config6572490544060672899tmp [Pipeline] { [Pipeline] echo [2020-09-17T18:57:16.021Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:57:16.320Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T18:57:16.335Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:57:16.648Z] ---> logs-deploy.sh [2020-09-17T18:57:16.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-482/8 [2020-09-17T18:57:16.648Z] INFO: archiving workspace using pattern(s): [2020-09-17T18:57:18.043Z] Archives upload complete. [2020-09-17T18:57:18.043Z] INFO: archiving logs to Nexus