Pull request #485 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4+b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 (2f0d811dd11cdc42ddc8f79439c817fb7a02bac4) 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, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-43402 in /w/workspace/ndry_app-functions-sdk-go_PR-485 [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-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 Merge succeeded, producing 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 Checking out Revision 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 (PR-485) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # 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 b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # timeout=10 Commit message: "fix: Fix unit tests that fail when using Go 1.15" First time build. Skipping changelog. > git rev-list --no-walk e20d98ec60bd3e1a8d8813b610b35a74660c65d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T21:07:44.053Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T21:07:44.363Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T21:07:44.593Z] ========================================================= [2020-09-15T21:07:44.593Z] EdgeX Global Pipelines Version Info [2020-09-15T21:07:44.593Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T21:07:46.491Z] ------------------- [2020-09-15T21:07:46.491Z] stable info: [2020-09-15T21:07:46.491Z] ------------------- [2020-09-15T21:07:46.491Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-15T21:07:46.491Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T21:07:46.491Z] Message: update stable to v1.0.122 [2020-09-15T21:07:47.064Z] ------------------- [2020-09-15T21:07:47.064Z] experimental info: [2020-09-15T21:07:47.064Z] ------------------- [2020-09-15T21:07:47.064Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T21:07:47.064Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T21:07:47.064Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T21:07:47.488Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-15T21:07:47.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-15T21:07:47.693Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T21:07:47.791Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T21:07:47.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T21:07:47.989Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-15T21:07:48.089Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T21:07:48.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-15T21:07:48.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-15T21:07:48.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T21:07:48.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T21:07:48.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-15T21:07:48.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T21:07:48.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T21:07:48.929Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T21:07:49.029Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T21:07:49.130Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T21:07:49.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T21:07:49.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T21:07:49.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T21:07:49.520Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-15T21:07:49.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-15T21:07:49.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-485 [Pipeline] echo [2020-09-15T21:07:49.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-485 [Pipeline] echo [2020-09-15T21:07:49.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-485 [Pipeline] echo [2020-09-15T21:07:50.027Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [Pipeline] echo [2020-09-15T21:07:50.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e5cbc4 [Pipeline] echo [2020-09-15T21:07:50.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T21:07:50.985Z] + git log --format=format:%s -1 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [Pipeline] echo [2020-09-15T21:07:51.050Z] GIT_COMMIT: 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4, Commit Message: fix: Fix unit tests that fail when using Go 1.15 [Pipeline] echo [2020-09-15T21:07:51.103Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:07:51.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T21:07:52.098Z] [2020-09-15T21:07:52.098Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:07:52.458Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T21:07:52.458Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T21:07:52.458Z] 31603596830f: Pulling fs layer [2020-09-15T21:07:52.458Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T21:07:52.458Z] 6ca5941a6612: Pulling fs layer [2020-09-15T21:07:52.458Z] ecc8261a40a4: Pulling fs layer [2020-09-15T21:07:52.458Z] ecc8261a40a4: Waiting [2020-09-15T21:07:52.458Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T21:07:52.458Z] 2a8b12db71e7: Download complete [2020-09-15T21:07:52.724Z] 31603596830f: Verifying Checksum [2020-09-15T21:07:52.724Z] 31603596830f: Download complete [2020-09-15T21:07:52.724Z] ecc8261a40a4: Verifying Checksum [2020-09-15T21:07:52.724Z] ecc8261a40a4: Download complete [2020-09-15T21:07:52.724Z] 6ca5941a6612: Verifying Checksum [2020-09-15T21:07:52.724Z] 6ca5941a6612: Download complete [2020-09-15T21:07:52.991Z] 31603596830f: Pull complete [2020-09-15T21:07:53.253Z] 2a8b12db71e7: Pull complete [2020-09-15T21:07:53.828Z] 6ca5941a6612: Pull complete [2020-09-15T21:07:54.092Z] ecc8261a40a4: Pull complete [2020-09-15T21:07:54.092Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T21:07:54.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T21:07:54.092Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T21:07:54.230Z] prd-centos7-docker-4c-2g-43402 does not seem to be running inside a container [2020-09-15T21:07:54.297Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-485 -v /w/workspace/ndry_app-functions-sdk-go_PR-485:/w/workspace/ndry_app-functions-sdk-go_PR-485:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-485@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-485@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T21:07:56.905Z] $ docker top e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T21:07:57.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T21:07:57.252Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T21:07:57.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T21:07:57.461Z] $ docker exec e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 ssh-agent [2020-09-15T21:07:57.628Z] SSH_AUTH_SOCK=/tmp/ssh-5xn2YmR5bvLH/agent.11 [2020-09-15T21:07:57.628Z] SSH_AGENT_PID=17 [2020-09-15T21:07:57.639Z] Running ssh-add (command line suppressed) [2020-09-15T21:07:57.760Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-485@tmp/private_key_458173286334179082.key (/w/workspace/ndry_app-functions-sdk-go_PR-485@tmp/private_key_458173286334179082.key) [2020-09-15T21:07:57.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T21:07:58.157Z] + git describe --exact-match --tags HEAD [2020-09-15T21:07:58.157Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T21:07:58.182Z] $ docker exec --env ******** --env ******** e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 ssh-agent -k [2020-09-15T21:07:58.299Z] unset SSH_AUTH_SOCK; [2020-09-15T21:07:58.300Z] unset SSH_AGENT_PID; [2020-09-15T21:07:58.300Z] echo Agent pid 17 killed; [2020-09-15T21:07:58.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T21:07:58.434Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T21:07:58.434Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T21:07:58.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T21:07:58.534Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T21:07:58.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T21:07:58.706Z] $ docker exec e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 ssh-agent [2020-09-15T21:07:58.859Z] SSH_AUTH_SOCK=/tmp/ssh-DTnI7sNNiXBt/agent.47 [2020-09-15T21:07:58.859Z] SSH_AGENT_PID=53 [2020-09-15T21:07:58.865Z] Running ssh-add (command line suppressed) [2020-09-15T21:07:58.988Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-485@tmp/private_key_8037614545159894742.key (/w/workspace/ndry_app-functions-sdk-go_PR-485@tmp/private_key_8037614545159894742.key) [2020-09-15T21:07:59.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T21:07:59.372Z] + git semver init [2020-09-15T21:07:59.373Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T21:07:59.373Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-485/.git [2020-09-15T21:07:59.373Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-485 [2020-09-15T21:07:59.373Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T21:07:59.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T21:07:59.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T21:07:59.373Z] # $SEMVER_BRANCH = PR-485 [2020-09-15T21:07:59.373Z] # $SEMVER_TEMP = /tmp/semver-635219069 [2020-09-15T21:07:59.373Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-15T21:08:01.939Z] # '/tmp/semver-635219069' -> '/w/workspace/ndry_app-functions-sdk-go_PR-485/.semver' [2020-09-15T21:08:01.939Z] # -> Force: false [2020-09-15T21:08:01.939Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-485/.semver [Pipeline] } [2020-09-15T21:08:01.953Z] $ docker exec --env ******** --env ******** e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 ssh-agent -k [2020-09-15T21:08:02.075Z] unset SSH_AUTH_SOCK; [2020-09-15T21:08:02.076Z] unset SSH_AGENT_PID; [2020-09-15T21:08:02.076Z] echo Agent pid 53 killed; [2020-09-15T21:08:02.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T21:08:02.604Z] + git semver [Pipeline] } [2020-09-15T21:08:02.623Z] $ docker stop --time=1 e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 [2020-09-15T21:08:04.073Z] $ docker rm -f e4a88e216fab704f53dd961cb3d22b3f7a09ac0681b82285d13581bf9d27c954 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T21:08:06.525Z] Stashed 41 file(s) [Pipeline] echo [2020-09-15T21:08:06.529Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-15T21:08:06.625Z] 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-15T21:08:07.224Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43394 in /w/workspace/ndry_app-functions-sdk-go_PR-485 [Pipeline] { [Pipeline] ws [2020-09-15T21:08:07.277Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-15T21:08:11.857Z] using credential edgex-jenkins-ssh [2020-09-15T21:08:11.915Z] Cloning the remote Git repository [2020-09-15T21:08:11.915Z] Cloning with configured refspecs honoured and without tags [2020-09-15T21:08:11.958Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:08:12.054Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-15T21:08:12.114Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:08:12.115Z] > git --version # timeout=10 [2020-09-15T21:08:12.131Z] > git --version # 'git version 2.17.1' [2020-09-15T21:08:12.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:08:12.208Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:08:15.005Z] Fetching without tags [2020-09-15T21:08:15.525Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [2020-09-15T21:08:15.737Z] Merge succeeded, producing 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [2020-09-15T21:08:15.737Z] Checking out Revision 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 (PR-485) [2020-09-15T21:08:14.914Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T21:08:14.942Z] > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 [2020-09-15T21:08:14.958Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:08:14.987Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T21:08:15.010Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:08:15.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:08:15.021Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:08:15.543Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T21:08:15.563Z] > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # timeout=10 [2020-09-15T21:08:15.662Z] > git remote # timeout=10 [2020-09-15T21:08:15.676Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T21:08:15.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:08:15.699Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-15T21:08:15.719Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T21:08:15.738Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T21:08:15.748Z] > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # timeout=10 [2020-09-15T21:08:19.898Z] Commit message: "fix: Fix unit tests that fail when using Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-15T21:08:22.054Z] Still waiting to schedule task [2020-09-15T21:08:22.054Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] echo [2020-09-15T21:08:22.814Z] ========================================================= [2020-09-15T21:08:22.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-15T21:08:22.815Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:08:23.850Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-15T21:08:24.837Z] Sending build context to Docker daemon 37.18MB [2020-09-15T21:08:25.110Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-15T21:08:25.110Z] Step 2/8 : FROM ${BASE} [2020-09-15T21:08:25.387Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T21:08:25.387Z] b538f80385f9: Pulling fs layer [2020-09-15T21:08:25.387Z] 74f711af9a0d: Pulling fs layer [2020-09-15T21:08:25.387Z] 99f96fe45779: Pulling fs layer [2020-09-15T21:08:25.387Z] fd7a069fd194: Pulling fs layer [2020-09-15T21:08:25.387Z] 66aa3694b03b: Pulling fs layer [2020-09-15T21:08:25.387Z] 170f70906a0f: Pulling fs layer [2020-09-15T21:08:25.387Z] ad7c5574e4b9: Pulling fs layer [2020-09-15T21:08:25.387Z] e772456be8f7: Pulling fs layer [2020-09-15T21:08:25.387Z] fd7a069fd194: Waiting [2020-09-15T21:08:25.387Z] 66aa3694b03b: Waiting [2020-09-15T21:08:25.387Z] c890913d741a: Pulling fs layer [2020-09-15T21:08:25.387Z] 2480fcc9aa5a: Pulling fs layer [2020-09-15T21:08:25.387Z] 09adf4765672: Pulling fs layer [2020-09-15T21:08:25.387Z] 170f70906a0f: Waiting [2020-09-15T21:08:25.387Z] ad7c5574e4b9: Waiting [2020-09-15T21:08:25.387Z] e772456be8f7: Waiting [2020-09-15T21:08:25.387Z] c890913d741a: Waiting [2020-09-15T21:08:25.387Z] 2480fcc9aa5a: Waiting [2020-09-15T21:08:25.387Z] 09adf4765672: Waiting [2020-09-15T21:08:25.387Z] 99f96fe45779: Download complete [2020-09-15T21:08:25.387Z] 74f711af9a0d: Verifying Checksum [2020-09-15T21:08:25.387Z] 74f711af9a0d: Download complete [2020-09-15T21:08:25.387Z] 66aa3694b03b: Verifying Checksum [2020-09-15T21:08:25.387Z] 66aa3694b03b: Download complete [2020-09-15T21:08:25.387Z] 170f70906a0f: Verifying Checksum [2020-09-15T21:08:25.387Z] 170f70906a0f: Download complete [2020-09-15T21:08:25.387Z] b538f80385f9: Verifying Checksum [2020-09-15T21:08:25.387Z] b538f80385f9: Download complete [2020-09-15T21:08:26.019Z] b538f80385f9: Pull complete [2020-09-15T21:08:26.652Z] 74f711af9a0d: Pull complete [2020-09-15T21:08:26.929Z] 99f96fe45779: Pull complete [2020-09-15T21:08:29.571Z] ad7c5574e4b9: Verifying Checksum [2020-09-15T21:08:29.572Z] ad7c5574e4b9: Download complete [2020-09-15T21:08:29.572Z] c890913d741a: Verifying Checksum [2020-09-15T21:08:29.572Z] c890913d741a: Download complete [2020-09-15T21:08:31.023Z] e772456be8f7: Verifying Checksum [2020-09-15T21:08:31.023Z] e772456be8f7: Download complete [2020-09-15T21:08:31.023Z] 2480fcc9aa5a: Verifying Checksum [2020-09-15T21:08:31.023Z] 2480fcc9aa5a: Download complete [2020-09-15T21:08:31.023Z] 09adf4765672: Download complete [2020-09-15T21:08:32.015Z] fd7a069fd194: Verifying Checksum [2020-09-15T21:08:32.015Z] fd7a069fd194: Download complete [2020-09-15T21:08:44.471Z] fd7a069fd194: Pull complete [2020-09-15T21:08:44.471Z] 66aa3694b03b: Pull complete [2020-09-15T21:08:44.471Z] 170f70906a0f: Pull complete [2020-09-15T21:08:47.923Z] ad7c5574e4b9: Pull complete [2020-09-15T21:08:52.281Z] e772456be8f7: Pull complete [2020-09-15T21:08:52.875Z] c890913d741a: Pull complete [2020-09-15T21:08:55.516Z] 2480fcc9aa5a: Pull complete [2020-09-15T21:08:55.791Z] 09adf4765672: Pull complete [2020-09-15T21:08:55.791Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-15T21:08:55.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-15T21:08:55.791Z] ---> 2248a725d1cf [2020-09-15T21:08:55.791Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-15T21:08:56.063Z] latest: Pulling from library/docker [2020-09-15T21:08:56.340Z] b538f80385f9: Already exists [2020-09-15T21:08:56.340Z] 259a493cd78d: Pulling fs layer [2020-09-15T21:08:56.340Z] b8e66b5100f5: Pulling fs layer [2020-09-15T21:08:56.340Z] 39dc9c94d07c: Pulling fs layer [2020-09-15T21:08:56.340Z] 551b823b3b82: Pulling fs layer [2020-09-15T21:08:56.340Z] 3c52a74df98c: Pulling fs layer [2020-09-15T21:08:56.340Z] 6c9b121b6998: Pulling fs layer [2020-09-15T21:08:56.340Z] 551b823b3b82: Waiting [2020-09-15T21:08:56.340Z] 3c52a74df98c: Waiting [2020-09-15T21:08:56.340Z] 6c9b121b6998: Waiting [2020-09-15T21:08:56.340Z] b8e66b5100f5: Verifying Checksum [2020-09-15T21:08:56.340Z] b8e66b5100f5: Download complete [2020-09-15T21:08:56.340Z] 259a493cd78d: Verifying Checksum [2020-09-15T21:08:56.655Z] 551b823b3b82: Verifying Checksum [2020-09-15T21:08:56.655Z] 551b823b3b82: Download complete [2020-09-15T21:08:56.655Z] 3c52a74df98c: Verifying Checksum [2020-09-15T21:08:56.655Z] 3c52a74df98c: Download complete [2020-09-15T21:08:56.655Z] 6c9b121b6998: Download complete [2020-09-15T21:08:57.276Z] 259a493cd78d: Pull complete [2020-09-15T21:08:57.551Z] b8e66b5100f5: Pull complete [2020-09-15T21:08:57.828Z] 39dc9c94d07c: Verifying Checksum [2020-09-15T21:08:57.828Z] 39dc9c94d07c: Download complete [2020-09-15T21:09:01.230Z] 39dc9c94d07c: Pull complete [2020-09-15T21:09:01.230Z] 551b823b3b82: Pull complete [2020-09-15T21:09:01.826Z] 3c52a74df98c: Pull complete [2020-09-15T21:09:02.100Z] 6c9b121b6998: Pull complete [2020-09-15T21:09:02.100Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-15T21:09:02.100Z] Status: Downloaded newer image for docker:latest [2020-09-15T21:09:10.395Z] ---> fac92aabfc1c [2020-09-15T21:09:10.395Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-15T21:09:10.395Z] ---> Running in 853563e56ee3 [2020-09-15T21:09:10.395Z] Removing intermediate container 853563e56ee3 [2020-09-15T21:09:10.395Z] ---> d8d669ceb4c4 [2020-09-15T21:09:10.395Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-15T21:09:10.395Z] ---> Running in e7bf3bab9c6c [2020-09-15T21:09:11.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T21:09:11.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T21:09:12.933Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-15T21:09:12.933Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-15T21:09:12.933Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-15T21:09:13.203Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-15T21:09:13.203Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-15T21:09:13.474Z] Executing busybox-1.31.1-r16.trigger [2020-09-15T21:09:13.474Z] OK: 144 MiB in 44 packages [2020-09-15T21:09:14.908Z] Removing intermediate container e7bf3bab9c6c [2020-09-15T21:09:14.908Z] ---> 63683c2a5b51 [2020-09-15T21:09:14.908Z] Step 6/8 : WORKDIR /build [2020-09-15T21:09:14.908Z] ---> Running in 9656bfaaaba3 [2020-09-15T21:09:15.181Z] Removing intermediate container 9656bfaaaba3 [2020-09-15T21:09:15.181Z] ---> ddae87d3a0d0 [2020-09-15T21:09:15.181Z] Step 7/8 : COPY go.mod . [2020-09-15T21:09:15.780Z] ---> 963f38e5ea04 [2020-09-15T21:09:15.780Z] Step 8/8 : RUN go mod download [2020-09-15T21:09:16.057Z] ---> Running in dcf8c0cd3536 [2020-09-15T21:09:19.441Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-09-15T21:09:19.441Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-15T21:09:19.441Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-15T21:09:19.441Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-15T21:09:19.441Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-15T21:09:19.441Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-15T21:09:19.441Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-15T21:09:19.441Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-15T21:09:19.441Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-09-15T21:09:19.441Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.77 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-15T21:09:19.441Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 [2020-09-15T21:09:19.441Z] go: finding github.com/fatih/color v1.7.0 [2020-09-15T21:09:19.441Z] go: finding github.com/fsnotify/fsnotify v1.4.7 [2020-09-15T21:09:19.441Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-15T21:09:19.441Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-15T21:09:19.713Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-redis/redis/v7 v7.2.0 [2020-09-15T21:09:19.713Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-15T21:09:19.713Z] go: finding github.com/golang/protobuf v1.3.2 [2020-09-15T21:09:19.713Z] go: finding github.com/golang/snappy v0.0.1 [2020-09-15T21:09:19.713Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-09-15T21:09:19.713Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-15T21:09:19.713Z] go: finding github.com/google/go-cmp v0.4.0 [2020-09-15T21:09:19.982Z] go: finding github.com/google/uuid v1.1.1 [2020-09-15T21:09:19.982Z] go: finding github.com/gorilla/mux v1.8.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-15T21:09:19.982Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-15T21:09:20.253Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-15T21:09:20.253Z] go: finding github.com/hpcloud/tail v1.0.0 [2020-09-15T21:09:20.253Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-15T21:09:20.253Z] go: finding github.com/kr/pretty v0.1.0 [2020-09-15T21:09:20.253Z] go: finding github.com/kr/pty v1.1.1 [2020-09-15T21:09:20.253Z] go: finding github.com/kr/text v0.1.0 [2020-09-15T21:09:20.253Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-15T21:09:20.523Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-15T21:09:20.523Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-15T21:09:20.523Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-15T21:09:20.795Z] go: finding github.com/onsi/ginkgo v1.10.1 [2020-09-15T21:09:20.795Z] go: finding github.com/onsi/gomega v1.7.0 [2020-09-15T21:09:20.795Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-15T21:09:20.795Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-09-15T21:09:20.795Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-15T21:09:20.795Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-15T21:09:20.795Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-15T21:09:20.795Z] go: finding github.com/posener/complete v1.1.1 [2020-09-15T21:09:20.795Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-15T21:09:20.795Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-15T21:09:20.795Z] go: finding github.com/stretchr/objx v0.2.0 [2020-09-15T21:09:21.066Z] go: finding github.com/stretchr/testify v1.6.1 [2020-09-15T21:09:21.066Z] go: finding github.com/tidwall/pretty v1.0.1 [2020-09-15T21:09:21.066Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-15T21:09:21.066Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-15T21:09:21.066Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-09-15T21:09:21.066Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-09-15T21:09:21.066Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-09-15T21:09:21.066Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-09-15T21:09:21.066Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-09-15T21:09:21.066Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-15T21:09:21.066Z] go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 [2020-09-15T21:09:21.066Z] go: finding golang.org/x/text v0.3.2 [2020-09-15T21:09:21.342Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-15T21:09:21.342Z] go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 [2020-09-15T21:09:21.342Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-09-15T21:09:21.342Z] go: finding gopkg.in/fsnotify.v1 v1.4.7 [2020-09-15T21:09:21.342Z] go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2020-09-15T21:09:21.342Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-15T21:09:21.342Z] go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2020-09-15T21:09:48.158Z] Removing intermediate container dcf8c0cd3536 [2020-09-15T21:09:48.158Z] ---> e010ed83a411 [2020-09-15T21:09:48.158Z] Successfully built e010ed83a411 [2020-09-15T21:09:48.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:09:48.567Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T21:09:48.567Z] . [Pipeline] withDockerContainer [2020-09-15T21:09:48.847Z] prd-ubuntu18.04-docker-arm64-4c-16g-43394 does not seem to be running inside a container [2020-09-15T21:09:48.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-15T21:09:50.811Z] $ docker top 62edb1dede6a6ce65a9b3ee233eb3c9080b300f119774ba0077d58410744fac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T21:09:52.255Z] + go version [2020-09-15T21:09:52.255Z] go version go1.13.13 linux/arm64 [Pipeline] } [2020-09-15T21:09:52.274Z] $ docker stop --time=1 62edb1dede6a6ce65a9b3ee233eb3c9080b300f119774ba0077d58410744fac1 [2020-09-15T21:09:54.256Z] $ docker rm -f 62edb1dede6a6ce65a9b3ee233eb3c9080b300f119774ba0077d58410744fac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:09:55.356Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T21:09:55.356Z] . [Pipeline] withDockerContainer [2020-09-15T21:09:55.625Z] prd-ubuntu18.04-docker-arm64-4c-16g-43394 does not seem to be running inside a container [2020-09-15T21:09:55.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-15T21:09:57.562Z] $ docker top 01a62a6c0537f84b4b1b260880e15a638e8997ab5ddfda311d988b645f30ece4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T21:09:58.989Z] + make test [2020-09-15T21:09:58.989Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-15T21:10:00.432Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-15T21:10:22.671Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.116s coverage: 86.2% of statements [2020-09-15T21:11:01.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 56.1% of statements [2020-09-15T21:11:01.741Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-15T21:11:01.741Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-15T21:11:01.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.098s coverage: 53.5% of statements [2020-09-15T21:11:01.741Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-15T21:11:01.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.404s coverage: 69.1% of statements [2020-09-15T21:11:04.419Z] Running on prd-centos7-docker-4c-2g-43403 in /w/workspace/ndry_app-functions-sdk-go_PR-485 [Pipeline] { [Pipeline] ws [2020-09-15T21:11:04.489Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-15T21:11:06.975Z] using credential edgex-jenkins-ssh [2020-09-15T21:11:07.029Z] Cloning the remote Git repository [2020-09-15T21:11:07.029Z] Cloning with configured refspecs honoured and without tags [2020-09-15T21:11:07.059Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:11:07.130Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-15T21:11:07.389Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:11:07.389Z] > git --version # timeout=10 [2020-09-15T21:11:07.396Z] > git --version # 'git version 2.16.5' [2020-09-15T21:11:07.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:11:07.421Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:11:08.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.532s coverage: 61.6% of statements [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.021s coverage: 89.5% of statements [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.020s coverage: 100.0% of statements [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.095s coverage: 100.0% of statements [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.017s coverage: 100.0% of statements [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.018s coverage: 100.0% of statements [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.017s coverage: 96.6% of statements [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.017s coverage: 97.7% of statements [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-15T21:11:08.475Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-15T21:11:08.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.045s coverage: 9.4% of statements [2020-09-15T21:11:08.784Z] Fetching without tags [2020-09-15T21:11:09.218Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [2020-09-15T21:11:08.756Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T21:11:08.764Z] > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 [2020-09-15T21:11:08.768Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:11:08.778Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T21:11:08.789Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T21:11:08.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:11:08.794Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T21:11:09.228Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T21:11:09.235Z] > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # timeout=10 [2020-09-15T21:11:09.281Z] > git remote # timeout=10 [2020-09-15T21:11:09.288Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T21:11:09.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T21:11:09.297Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-15T21:11:09.311Z] Merge succeeded, producing 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 [2020-09-15T21:11:09.311Z] Checking out Revision 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 (PR-485) [2020-09-15T21:11:09.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T21:11:09.316Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T21:11:09.323Z] > git checkout -f 6e5cbc4a41c83fa4f335e2be02e103a55b0a9aa4 # timeout=10 [2020-09-15T21:11:12.956Z] Commit message: "fix: Fix unit tests that fail when using Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T21:11:15.081Z] ========================================================= [2020-09-15T21:11:15.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-15T21:11:15.081Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:11:15.690Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-15T21:11:16.264Z] Sending build context to Docker daemon 37.18MB [2020-09-15T21:11:16.264Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-15T21:11:16.264Z] Step 2/8 : FROM ${BASE} [2020-09-15T21:11:16.264Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T21:11:16.264Z] df20fa9351a1: Pulling fs layer [2020-09-15T21:11:16.264Z] ed8968b2872e: Pulling fs layer [2020-09-15T21:11:16.264Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T21:11:16.264Z] 2dd03ba5bac4: Pulling fs layer [2020-09-15T21:11:16.264Z] 1e091d79d1de: Pulling fs layer [2020-09-15T21:11:16.264Z] 481702a1767f: Pulling fs layer [2020-09-15T21:11:16.264Z] f64a6f60c768: Pulling fs layer [2020-09-15T21:11:16.264Z] e78d2573fc39: Pulling fs layer [2020-09-15T21:11:16.264Z] e876d2f968b6: Pulling fs layer [2020-09-15T21:11:16.264Z] ce8a83651883: Pulling fs layer [2020-09-15T21:11:16.264Z] 07967f4d0e4b: Pulling fs layer [2020-09-15T21:11:16.264Z] 1e091d79d1de: Waiting [2020-09-15T21:11:16.264Z] 481702a1767f: Waiting [2020-09-15T21:11:16.264Z] f64a6f60c768: Waiting [2020-09-15T21:11:16.264Z] e78d2573fc39: Waiting [2020-09-15T21:11:16.264Z] e876d2f968b6: Waiting [2020-09-15T21:11:16.264Z] ce8a83651883: Waiting [2020-09-15T21:11:16.264Z] 07967f4d0e4b: Waiting [2020-09-15T21:11:16.264Z] 2dd03ba5bac4: Waiting [2020-09-15T21:11:16.264Z] a92cc7c5fd73: Verifying Checksum [2020-09-15T21:11:16.264Z] a92cc7c5fd73: Download complete [2020-09-15T21:11:16.264Z] ed8968b2872e: Verifying Checksum [2020-09-15T21:11:16.264Z] ed8968b2872e: Download complete [2020-09-15T21:11:16.264Z] 1e091d79d1de: Download complete [2020-09-15T21:11:16.264Z] 481702a1767f: Verifying Checksum [2020-09-15T21:11:16.264Z] 481702a1767f: Download complete [2020-09-15T21:11:16.264Z] df20fa9351a1: Verifying Checksum [2020-09-15T21:11:16.527Z] df20fa9351a1: Pull complete [2020-09-15T21:11:16.789Z] ed8968b2872e: Pull complete [2020-09-15T21:11:17.050Z] a92cc7c5fd73: Pull complete [2020-09-15T21:11:18.991Z] f64a6f60c768: Verifying Checksum [2020-09-15T21:11:18.991Z] f64a6f60c768: Download complete [2020-09-15T21:11:18.991Z] e876d2f968b6: Verifying Checksum [2020-09-15T21:11:18.991Z] e876d2f968b6: Download complete [2020-09-15T21:11:19.947Z] ce8a83651883: Download complete [2020-09-15T21:11:19.947Z] 07967f4d0e4b: Verifying Checksum [2020-09-15T21:11:19.947Z] 07967f4d0e4b: Download complete [2020-09-15T21:11:19.947Z] e78d2573fc39: Verifying Checksum [2020-09-15T21:11:19.947Z] e78d2573fc39: Download complete [2020-09-15T21:11:20.212Z] 2dd03ba5bac4: Verifying Checksum [2020-09-15T21:11:20.212Z] 2dd03ba5bac4: Download complete [2020-09-15T21:11:20.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.115s coverage: 75.0% of statements [2020-09-15T21:11:20.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.041s coverage: 89.3% of statements [2020-09-15T21:11:20.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements [2020-09-15T21:11:20.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.170s coverage: 80.0% of statements [2020-09-15T21:11:25.534Z] 2dd03ba5bac4: Pull complete [2020-09-15T21:11:25.796Z] 1e091d79d1de: Pull complete [2020-09-15T21:11:26.060Z] 481702a1767f: Pull complete [2020-09-15T21:11:30.296Z] f64a6f60c768: Pull complete [2020-09-15T21:11:33.612Z] e78d2573fc39: Pull complete [2020-09-15T21:11:33.612Z] e876d2f968b6: Pull complete [2020-09-15T21:11:34.188Z] ce8a83651883: Pull complete [2020-09-15T21:11:34.449Z] 07967f4d0e4b: Pull complete [2020-09-15T21:11:34.449Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-15T21:11:34.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-15T21:11:34.449Z] ---> 5d7c900382c6 [2020-09-15T21:11:34.449Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-15T21:11:34.711Z] latest: Pulling from library/docker [2020-09-15T21:11:35.017Z] df20fa9351a1: Already exists [2020-09-15T21:11:35.017Z] 25ad7478873d: Pulling fs layer [2020-09-15T21:11:35.017Z] 4684f6177b5d: Pulling fs layer [2020-09-15T21:11:35.017Z] 46e300cec669: Pulling fs layer [2020-09-15T21:11:35.017Z] 63038576ad94: Pulling fs layer [2020-09-15T21:11:35.017Z] 0fdb76c4706c: Pulling fs layer [2020-09-15T21:11:35.017Z] cb7edeffdfd5: Pulling fs layer [2020-09-15T21:11:35.017Z] 63038576ad94: Waiting [2020-09-15T21:11:35.017Z] 0fdb76c4706c: Waiting [2020-09-15T21:11:35.017Z] cb7edeffdfd5: Waiting [2020-09-15T21:11:35.017Z] 4684f6177b5d: Verifying Checksum [2020-09-15T21:11:35.017Z] 4684f6177b5d: Download complete [2020-09-15T21:11:35.017Z] 25ad7478873d: Verifying Checksum [2020-09-15T21:11:35.017Z] 25ad7478873d: Download complete [2020-09-15T21:11:35.375Z] 63038576ad94: Verifying Checksum [2020-09-15T21:11:35.375Z] 63038576ad94: Download complete [2020-09-15T21:11:35.375Z] 0fdb76c4706c: Verifying Checksum [2020-09-15T21:11:35.375Z] 0fdb76c4706c: Download complete [2020-09-15T21:11:35.375Z] cb7edeffdfd5: Verifying Checksum [2020-09-15T21:11:35.375Z] cb7edeffdfd5: Download complete [2020-09-15T21:11:35.375Z] 25ad7478873d: Pull complete [2020-09-15T21:11:35.642Z] 4684f6177b5d: Pull complete [2020-09-15T21:11:35.906Z] 46e300cec669: Retrying in 5 seconds [2020-09-15T21:11:36.851Z] 46e300cec669: Retrying in 4 seconds [2020-09-15T21:11:37.796Z] 46e300cec669: Retrying in 3 seconds [2020-09-15T21:11:38.741Z] 46e300cec669: Retrying in 2 seconds [2020-09-15T21:11:40.129Z] 46e300cec669: Retrying in 1 second [2020-09-15T21:11:41.077Z] 46e300cec669: Verifying Checksum [2020-09-15T21:11:41.077Z] 46e300cec669: Download complete [2020-09-15T21:11:43.113Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.572s coverage: 71.6% of statements [2020-09-15T21:11:43.113Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.019s coverage: 94.4% of statements [2020-09-15T21:11:43.113Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-15T21:11:44.394Z] 46e300cec669: Pull complete [2020-09-15T21:11:44.394Z] 63038576ad94: Pull complete [2020-09-15T21:11:44.394Z] 0fdb76c4706c: Pull complete [2020-09-15T21:11:44.656Z] cb7edeffdfd5: Pull complete [2020-09-15T21:11:44.656Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-15T21:11:44.656Z] Status: Downloaded newer image for docker:latest [2020-09-15T21:11:46.056Z] ---> ad0b56c7ed75 [2020-09-15T21:11:46.056Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-15T21:11:46.056Z] ---> Running in 49ad9f3473ab [2020-09-15T21:11:46.316Z] Removing intermediate container 49ad9f3473ab [2020-09-15T21:11:46.316Z] ---> 2ed0deb2e8dd [2020-09-15T21:11:46.316Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-15T21:11:46.316Z] ---> Running in 1a4e96e3e6e9 [2020-09-15T21:11:46.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T21:11:47.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T21:11:48.092Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-15T21:11:48.353Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-15T21:11:48.353Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-15T21:11:48.353Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-15T21:11:48.616Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-15T21:11:48.616Z] Executing busybox-1.31.1-r16.trigger [2020-09-15T21:11:48.616Z] OK: 167 MiB in 44 packages [2020-09-15T21:11:49.191Z] Removing intermediate container 1a4e96e3e6e9 [2020-09-15T21:11:49.191Z] ---> 8f632321dc22 [2020-09-15T21:11:49.191Z] Step 6/8 : WORKDIR /build [2020-09-15T21:11:49.191Z] ---> Running in 31757d07435d [2020-09-15T21:11:49.453Z] Removing intermediate container 31757d07435d [2020-09-15T21:11:49.453Z] ---> 33c0eb6527d5 [2020-09-15T21:11:49.453Z] Step 7/8 : COPY go.mod . [2020-09-15T21:11:49.453Z] ---> dc369aaa2cbb [2020-09-15T21:11:49.453Z] Step 8/8 : RUN go mod download [2020-09-15T21:11:49.714Z] ---> Running in bf051554392f [2020-09-15T21:11:52.262Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-09-15T21:11:52.262Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-15T21:11:52.262Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-15T21:11:52.262Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-15T21:11:52.262Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-15T21:11:52.262Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-15T21:11:52.262Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-15T21:11:52.262Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-15T21:11:52.262Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-09-15T21:11:52.262Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.77 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-15T21:11:52.262Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 [2020-09-15T21:11:52.262Z] go: finding github.com/fatih/color v1.7.0 [2020-09-15T21:11:52.262Z] go: finding github.com/fsnotify/fsnotify v1.4.7 [2020-09-15T21:11:52.262Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-15T21:11:52.262Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-15T21:11:52.262Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-15T21:11:52.262Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-15T21:11:52.523Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-15T21:11:52.523Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-15T21:11:52.523Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-15T21:11:52.523Z] go: finding github.com/go-redis/redis/v7 v7.2.0 [2020-09-15T21:11:52.523Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-15T21:11:52.523Z] go: finding github.com/golang/protobuf v1.3.2 [2020-09-15T21:11:52.523Z] go: finding github.com/golang/snappy v0.0.1 [2020-09-15T21:11:52.523Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-09-15T21:11:52.523Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-15T21:11:52.523Z] go: finding github.com/google/go-cmp v0.4.0 [2020-09-15T21:11:52.523Z] go: finding github.com/google/uuid v1.1.1 [2020-09-15T21:11:52.523Z] go: finding github.com/gorilla/mux v1.8.0 [2020-09-15T21:11:52.523Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-15T21:11:52.784Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-15T21:11:53.045Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-15T21:11:53.045Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-15T21:11:53.045Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-15T21:11:53.045Z] go: finding github.com/hpcloud/tail v1.0.0 [2020-09-15T21:11:53.045Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-15T21:11:53.045Z] go: finding github.com/kr/pretty v0.1.0 [2020-09-15T21:11:53.045Z] go: finding github.com/kr/pty v1.1.1 [2020-09-15T21:11:53.045Z] go: finding github.com/kr/text v0.1.0 [2020-09-15T21:11:53.045Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-15T21:11:53.045Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-15T21:11:53.045Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-15T21:11:53.045Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-15T21:11:53.289Z] gofmt -l . [2020-09-15T21:11:53.289Z] [ "`gofmt -l .`" = "" ] [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-15T21:11:53.305Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-15T21:11:53.305Z] go: finding github.com/onsi/ginkgo v1.10.1 [2020-09-15T21:11:53.305Z] go: finding github.com/onsi/gomega v1.7.0 [2020-09-15T21:11:53.305Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-15T21:11:53.305Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-09-15T21:11:53.566Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-15T21:11:53.566Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-15T21:11:53.566Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-15T21:11:53.566Z] go: finding github.com/posener/complete v1.1.1 [2020-09-15T21:11:53.566Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-15T21:11:53.566Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-15T21:11:53.566Z] go: finding github.com/stretchr/objx v0.2.0 [2020-09-15T21:11:53.566Z] go: finding github.com/stretchr/testify v1.6.1 [2020-09-15T21:11:53.566Z] go: finding github.com/tidwall/pretty v1.0.1 [2020-09-15T21:11:53.566Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-15T21:11:53.566Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-15T21:11:53.566Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-09-15T21:11:53.827Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-09-15T21:11:53.827Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/text v0.3.2 [2020-09-15T21:11:53.827Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-15T21:11:53.827Z] go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 [2020-09-15T21:11:53.827Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-09-15T21:11:53.827Z] go: finding gopkg.in/fsnotify.v1 v1.4.7 [2020-09-15T21:11:53.827Z] go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2020-09-15T21:11:53.827Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-15T21:11:53.885Z] ./bin/test-go-mod-tidy.sh [2020-09-15T21:11:54.091Z] go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [Pipeline] stash [2020-09-15T21:11:55.413Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T21:11:55.419Z] $ docker stop --time=1 01a62a6c0537f84b4b1b260880e15a638e8997ab5ddfda311d988b645f30ece4 [2020-09-15T21:11:57.439Z] $ docker rm -f 01a62a6c0537f84b4b1b260880e15a638e8997ab5ddfda311d988b645f30ece4 [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-15T21:12:16.093Z] Removing intermediate container bf051554392f [2020-09-15T21:12:16.093Z] ---> 21040daf826b [2020-09-15T21:12:16.093Z] Successfully built 21040daf826b [2020-09-15T21:12:16.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:12:16.449Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T21:12:16.449Z] . [Pipeline] withDockerContainer [2020-09-15T21:12:16.549Z] prd-centos7-docker-4c-2g-43403 does not seem to be running inside a container [2020-09-15T21:12:16.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-15T21:12:17.215Z] $ docker top 7c071d01d9c57d097a60b9be447337826fcb1c05b31005651214a98f6fbf7ae7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T21:12:17.750Z] + go version [2020-09-15T21:12:17.750Z] go version go1.13.13 linux/amd64 [Pipeline] } [2020-09-15T21:12:17.765Z] $ docker stop --time=1 7c071d01d9c57d097a60b9be447337826fcb1c05b31005651214a98f6fbf7ae7 [2020-09-15T21:12:19.089Z] $ docker rm -f 7c071d01d9c57d097a60b9be447337826fcb1c05b31005651214a98f6fbf7ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:12:19.921Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T21:12:19.921Z] . [Pipeline] withDockerContainer [2020-09-15T21:12:20.009Z] prd-centos7-docker-4c-2g-43403 does not seem to be running inside a container [2020-09-15T21:12:20.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-15T21:12:20.605Z] $ docker top 1e11e5d4355f564a229b830fefc502d29b16bd9ae96a4d3d6600f2c3fe958f04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T21:12:21.094Z] + make test [2020-09-15T21:12:21.094Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-15T21:12:23.031Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-15T21:12:28.426Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.100s coverage: 86.2% of statements [2020-09-15T21:12:46.644Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.051s coverage: 56.1% of statements [2020-09-15T21:12:46.644Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-15T21:12:46.644Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-15T21:12:46.644Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.037s coverage: 53.5% of statements [2020-09-15T21:12:46.644Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-15T21:12:46.644Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.832s coverage: 69.1% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.531s coverage: 61.6% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.065s coverage: 100.0% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.004s coverage: 100.0% of statements [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-15T21:12:58.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.007s coverage: 75.0% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.010s coverage: 89.3% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-15T21:12:58.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.068s coverage: 80.0% of statements [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.537471474Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.544400995Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.549595523Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.554887153Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.559780186Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.564757782Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.569902048Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.574710632Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:49.579555154Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:51.579866706Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:51.58012894Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:51.584191281Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:51.594580614Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:12:51.600551761Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:13:01.600882641Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:13:11.601329198Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:13:11.618622625Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:13:11.618698034Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-15T21:13:13.828Z] level=DEBUG ts=2020-09-15T21:13:11.622565006Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-15T21:13:13.828Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-09-15T21:13:13.828Z] [2020-09-15T21:13:13.828Z] goroutine 30 [running]: [2020-09-15T21:13:13.828Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0xc0000acd80, 0xc0000acd90, 0xc000102900, 0xc000132f00, 0xc0000acd70) [2020-09-15T21:13:13.828Z] /w/workspace/app-functions-sdk-go/3/pkg/transforms/batch_test.go:119 +0x28f [2020-09-15T21:13:13.828Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-09-15T21:13:13.828Z] /w/workspace/app-functions-sdk-go/3/pkg/transforms/batch_test.go:114 +0x1b4 [2020-09-15T21:13:13.828Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.102s [2020-09-15T21:13:13.828Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2020-09-15T21:13:13.828Z] FAIL [2020-09-15T21:13:13.828Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-15T21:13:13.846Z] $ docker stop --time=1 1e11e5d4355f564a229b830fefc502d29b16bd9ae96a4d3d6600f2c3fe958f04 [2020-09-15T21:13:15.423Z] $ docker rm -f 1e11e5d4355f564a229b830fefc502d29b16bd9ae96a4d3d6600f2c3fe958f04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-15T21:13:17.152Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-15T21:13:19.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T21:13:20.385Z] ---> package-listing.sh [2020-09-15T21:13:20.385Z] ++ facter osfamily [2020-09-15T21:13:20.385Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T21:13:20.386Z] + OS_FAMILY=redhat [2020-09-15T21:13:20.386Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-485 [2020-09-15T21:13:20.386Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T21:13:20.386Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T21:13:20.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T21:13:20.386Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T21:13:20.386Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-485 ']' [2020-09-15T21:13:20.386Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T21:13:20.386Z] + case "${OS_FAMILY}" in [2020-09-15T21:13:20.386Z] + rpm -qa [2020-09-15T21:13:20.386Z] + sort [2020-09-15T21:13:24.608Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T21:13:24.608Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T21:13:24.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T21:13:24.608Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-485 ']' [2020-09-15T21:13:24.608Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-485/archives/ [2020-09-15T21:13:24.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-485/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:13:25.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T21:13:25.108Z] [2020-09-15T21:13:25.108Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T21:13:25.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T21:13:25.455Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T21:13:25.455Z] df20fa9351a1: Pulling fs layer [2020-09-15T21:13:25.455Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T21:13:25.455Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T21:13:25.455Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T21:13:25.455Z] 0dadc02b9964: Pulling fs layer [2020-09-15T21:13:25.455Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T21:13:25.455Z] 7a184a31f384: Pulling fs layer [2020-09-15T21:13:25.455Z] 0879bd2ef858: Pulling fs layer [2020-09-15T21:13:25.455Z] 0dadc02b9964: Waiting [2020-09-15T21:13:25.455Z] ce6a7cf60c04: Waiting [2020-09-15T21:13:25.455Z] 7a184a31f384: Waiting [2020-09-15T21:13:25.455Z] 0879bd2ef858: Waiting [2020-09-15T21:13:25.455Z] 46f8f816bc3b: Waiting [2020-09-15T21:13:25.455Z] 36b3adc4ff6f: Download complete [2020-09-15T21:13:25.455Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T21:13:25.455Z] 46f8f816bc3b: Download complete [2020-09-15T21:13:25.723Z] df20fa9351a1: Download complete [2020-09-15T21:13:25.723Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T21:13:25.723Z] ce6a7cf60c04: Download complete [2020-09-15T21:13:25.723Z] 7a184a31f384: Verifying Checksum [2020-09-15T21:13:25.723Z] 7a184a31f384: Download complete [2020-09-15T21:13:25.723Z] 0dadc02b9964: Verifying Checksum [2020-09-15T21:13:25.723Z] 0dadc02b9964: Download complete [2020-09-15T21:13:25.988Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T21:13:25.988Z] 8ad3a11d3b57: Download complete [2020-09-15T21:13:25.988Z] df20fa9351a1: Pull complete [2020-09-15T21:13:26.254Z] 36b3adc4ff6f: Pull complete [2020-09-15T21:13:26.254Z] 0879bd2ef858: Verifying Checksum [2020-09-15T21:13:26.254Z] 0879bd2ef858: Download complete [2020-09-15T21:13:26.828Z] 8ad3a11d3b57: Pull complete [2020-09-15T21:13:26.828Z] 46f8f816bc3b: Pull complete [2020-09-15T21:13:27.411Z] 0dadc02b9964: Pull complete [2020-09-15T21:13:27.411Z] ce6a7cf60c04: Pull complete [2020-09-15T21:13:27.676Z] 7a184a31f384: Pull complete [2020-09-15T21:13:30.249Z] 0879bd2ef858: Pull complete [2020-09-15T21:13:30.249Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T21:13:30.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T21:13:30.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T21:13:30.438Z] prd-centos7-docker-4c-2g-43402 does not seem to be running inside a container [2020-09-15T21:13:30.486Z] $ 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-485 -v /w/workspace/ndry_app-functions-sdk-go_PR-485:/w/workspace/ndry_app-functions-sdk-go_PR-485:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-485@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-485@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-15T21:13:35.101Z] $ docker top d3d7da37541fed3d9eeb17e9584d2dc1049878e066b9a6b80a6eeff6d78d67f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T21:13:35.688Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T21:13:35.988Z] + ls /var/log/sa-host [2020-09-15T21:13:35.988Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T21:13:35.988Z] file_magic: OK [2020-09-15T21:13:35.988Z] HZ: Using current value: 100 [2020-09-15T21:13:35.988Z] file_header: OK [2020-09-15T21:13:35.988Z] 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-15T21:13:35.988Z] Statistics: [2020-09-15T21:13:35.988Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T21:13:35.988Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T21:13:35.988Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T21:13:35.988Z] file_magic: OK [2020-09-15T21:13:35.988Z] HZ: Using current value: 100 [2020-09-15T21:13:35.988Z] file_header: OK [2020-09-15T21:13:35.988Z] 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-15T21:13:35.988Z] Statistics: [2020-09-15T21:13:35.988Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T21:13:35.988Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T21:13:36.056Z] provisioning config files... [2020-09-15T21:13:36.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-485@tmp/config4402304024448349337tmp [Pipeline] { [Pipeline] echo [2020-09-15T21:13:36.161Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T21:13:36.461Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T21:13:36.471Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T21:13:36.765Z] ---> logs-deploy.sh [2020-09-15T21:13:36.765Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-485/3 [2020-09-15T21:13:36.765Z] INFO: archiving workspace using pattern(s): [2020-09-15T21:13:38.161Z] Archives upload complete. [2020-09-15T21:13:38.161Z] INFO: archiving logs to Nexus