Pull request #474 opened 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 bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35+c89ea64ed19499ab5ba28d42d39506f385498632 (9353acedbe1d9f273284825829e1017188ae97bc) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-474/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, 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 Running on prd-centos7-docker-4c-2g-1912 in /w/workspace/ndry_app-functions-sdk-go_PR-474 [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-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit c89ea64ed19499ab5ba28d42d39506f385498632 into PR head commit bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 Merge succeeded, producing bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 Checking out Revision bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 (PR-474) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # 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 c89ea64ed19499ab5ba28d42d39506f385498632 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T04:33:34.333Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T04:33:34.687Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T04:33:34.900Z] ========================================================= [2020-09-09T04:33:34.900Z] EdgeX Global Pipelines Version Info [2020-09-09T04:33:34.900Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T04:33:36.329Z] ------------------- [2020-09-09T04:33:36.330Z] stable info: [2020-09-09T04:33:36.330Z] ------------------- [2020-09-09T04:33:36.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T04:33:36.330Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T04:33:36.330Z] Message: update stable to v1.0.119 [2020-09-09T04:33:37.276Z] ------------------- [2020-09-09T04:33:37.276Z] experimental info: [2020-09-09T04:33:37.276Z] ------------------- [2020-09-09T04:33:37.276Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T04:33:37.276Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T04:33:37.276Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T04:33:37.736Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-09T04:33:37.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-09T04:33:37.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T04:33:38.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T04:33:38.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T04:33:38.322Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T04:33:38.438Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T04:33:38.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T04:33:38.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-09T04:33:38.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T04:33:38.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T04:33:39.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-09T04:33:39.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T04:33:39.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T04:33:39.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T04:33:39.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T04:33:39.627Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T04:33:39.751Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T04:33:39.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T04:33:39.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T04:33:40.155Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-09T04:33:40.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-09T04:33:40.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo [2020-09-09T04:33:40.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo [2020-09-09T04:33:40.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo [2020-09-09T04:33:40.862Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [Pipeline] echo [2020-09-09T04:33:41.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bad20e1 [Pipeline] echo [2020-09-09T04:33:41.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T04:33:41.936Z] + git log --format=format:%s -1 bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [Pipeline] echo [2020-09-09T04:33:42.019Z] GIT_COMMIT: bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35, Commit Message: fix: Add locking around MQTT client setup and around connecting to avoid race conditions. [Pipeline] echo [2020-09-09T04:33:42.098Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:33:42.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T04:33:43.225Z] [2020-09-09T04:33:43.225Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:33:43.633Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T04:33:43.633Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T04:33:43.633Z] 31603596830f: Pulling fs layer [2020-09-09T04:33:43.633Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T04:33:43.633Z] 6ca5941a6612: Pulling fs layer [2020-09-09T04:33:43.633Z] ecc8261a40a4: Pulling fs layer [2020-09-09T04:33:43.633Z] ecc8261a40a4: Waiting [2020-09-09T04:33:43.633Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T04:33:43.633Z] 2a8b12db71e7: Download complete [2020-09-09T04:33:43.906Z] 31603596830f: Verifying Checksum [2020-09-09T04:33:43.906Z] 31603596830f: Download complete [2020-09-09T04:33:43.906Z] ecc8261a40a4: Verifying Checksum [2020-09-09T04:33:43.906Z] ecc8261a40a4: Download complete [2020-09-09T04:33:43.906Z] 6ca5941a6612: Verifying Checksum [2020-09-09T04:33:43.906Z] 6ca5941a6612: Download complete [2020-09-09T04:33:44.169Z] 31603596830f: Pull complete [2020-09-09T04:33:44.169Z] 2a8b12db71e7: Pull complete [2020-09-09T04:33:45.123Z] 6ca5941a6612: Pull complete [2020-09-09T04:33:45.395Z] ecc8261a40a4: Pull complete [2020-09-09T04:33:45.395Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T04:33:45.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T04:33:45.395Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T04:33:45.527Z] prd-centos7-docker-4c-2g-1912 does not seem to be running inside a container [2020-09-09T04:33:45.636Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-474 -v /w/workspace/ndry_app-functions-sdk-go_PR-474:/w/workspace/ndry_app-functions-sdk-go_PR-474:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-474@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-09T04:33:47.886Z] $ docker top 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T04:33:48.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T04:33:48.287Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T04:33:48.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T04:33:48.543Z] $ docker exec 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 ssh-agent [2020-09-09T04:33:48.727Z] SSH_AUTH_SOCK=/tmp/ssh-RfYLYyT3eM7d/agent.12 [2020-09-09T04:33:48.727Z] SSH_AGENT_PID=17 [2020-09-09T04:33:48.740Z] Running ssh-add (command line suppressed) [2020-09-09T04:33:48.855Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_5841587783716979300.key (/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_5841587783716979300.key) [2020-09-09T04:33:48.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T04:33:49.274Z] + git describe --exact-match --tags HEAD [2020-09-09T04:33:49.274Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T04:33:49.320Z] $ docker exec --env ******** --env ******** 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 ssh-agent -k [2020-09-09T04:33:49.429Z] unset SSH_AUTH_SOCK; [2020-09-09T04:33:49.429Z] unset SSH_AGENT_PID; [2020-09-09T04:33:49.429Z] echo Agent pid 17 killed; [2020-09-09T04:33:49.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T04:33:49.643Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T04:33:49.643Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T04:33:49.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T04:33:49.756Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T04:33:49.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T04:33:49.923Z] $ docker exec 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 ssh-agent [2020-09-09T04:33:50.080Z] SSH_AUTH_SOCK=/tmp/ssh-aoLaUpHsCMh5/agent.45 [2020-09-09T04:33:50.080Z] SSH_AGENT_PID=50 [2020-09-09T04:33:50.086Z] Running ssh-add (command line suppressed) [2020-09-09T04:33:50.215Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_5624127803007821601.key (/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_5624127803007821601.key) [2020-09-09T04:33:50.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T04:33:50.675Z] + git semver init [2020-09-09T04:33:50.675Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T04:33:50.675Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-474/.git [2020-09-09T04:33:50.675Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-474 [2020-09-09T04:33:50.675Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T04:33:50.675Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T04:33:50.675Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T04:33:50.675Z] # $SEMVER_BRANCH = PR-474 [2020-09-09T04:33:50.675Z] # $SEMVER_TEMP = /tmp/semver-591401832 [2020-09-09T04:33:50.675Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-09T04:33:53.226Z] # '/tmp/semver-591401832' -> '/w/workspace/ndry_app-functions-sdk-go_PR-474/.semver' [2020-09-09T04:33:53.226Z] # -> Force: false [2020-09-09T04:33:53.226Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-474/.semver [Pipeline] } [2020-09-09T04:33:53.264Z] $ docker exec --env ******** --env ******** 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 ssh-agent -k [2020-09-09T04:33:53.419Z] unset SSH_AUTH_SOCK; [2020-09-09T04:33:53.420Z] unset SSH_AGENT_PID; [2020-09-09T04:33:53.420Z] echo Agent pid 50 killed; [2020-09-09T04:33:53.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T04:33:54.058Z] + git semver [Pipeline] } [2020-09-09T04:33:54.087Z] $ docker stop --time=1 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 [2020-09-09T04:33:55.609Z] $ docker rm -f 74dea6a0b4794ea3f5816db2803f79794ba1740938de5407b380dee8b4bcafb8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T04:33:58.264Z] Stashed 39 file(s) [Pipeline] echo [2020-09-09T04:33:58.285Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T04:33:58.418Z] 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-09T04:33:59.316Z] Running on prd-centos7-docker-4c-2g-1911 in /w/workspace/ndry_app-functions-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-09-09T04:33:59.405Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T04:34:05.789Z] using credential edgex-jenkins-ssh [2020-09-09T04:34:05.925Z] Cloning the remote Git repository [2020-09-09T04:34:05.926Z] Cloning with configured refspecs honoured and without tags [2020-09-09T04:34:05.989Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:34:06.082Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-09T04:34:06.162Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:34:06.162Z] > git --version # timeout=10 [2020-09-09T04:34:06.174Z] > git --version # 'git version 2.16.5' [2020-09-09T04:34:06.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:34:06.222Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:34:08.713Z] Fetching without tags [2020-09-09T04:34:09.179Z] Merging remotes/origin/master commit c89ea64ed19499ab5ba28d42d39506f385498632 into PR head commit bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [2020-09-09T04:34:09.285Z] Merge succeeded, producing bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [2020-09-09T04:34:09.286Z] Checking out Revision bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 (PR-474) [2020-09-09T04:34:08.676Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-09T04:34:08.683Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-09-09T04:34:08.695Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:34:08.706Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-09T04:34:08.720Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:34:08.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:34:08.727Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:34:09.190Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T04:34:09.196Z] > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 [2020-09-09T04:34:09.254Z] > git remote # timeout=10 [2020-09-09T04:34:09.259Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T04:34:09.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:34:09.272Z] > git merge c89ea64ed19499ab5ba28d42d39506f385498632 # timeout=10 [2020-09-09T04:34:09.281Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T04:34:09.291Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T04:34:09.298Z] > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 [2020-09-09T04:34:12.936Z] Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." [2020-09-09T04:34:12.967Z] > git --version # timeout=10 [2020-09-09T04:34:12.976Z] > git --version # 'git version 2.16.5' [2020-09-09T04:34:12.981Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-09T04:34:14.204Z] Still waiting to schedule task [2020-09-09T04:34:14.204Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2020-09-09T04:34:15.436Z] ========================================================= [2020-09-09T04:34:15.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T04:34:15.437Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:34:16.238Z] + 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-09T04:34:17.219Z] Sending build context to Docker daemon 37.13MB [2020-09-09T04:34:17.219Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T04:34:17.219Z] Step 2/8 : FROM ${BASE} [2020-09-09T04:34:17.219Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T04:34:17.219Z] df20fa9351a1: Pulling fs layer [2020-09-09T04:34:17.219Z] ed8968b2872e: Pulling fs layer [2020-09-09T04:34:17.219Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T04:34:17.219Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T04:34:17.219Z] 1e091d79d1de: Pulling fs layer [2020-09-09T04:34:17.219Z] 481702a1767f: Pulling fs layer [2020-09-09T04:34:17.219Z] f64a6f60c768: Pulling fs layer [2020-09-09T04:34:17.219Z] e78d2573fc39: Pulling fs layer [2020-09-09T04:34:17.219Z] e876d2f968b6: Pulling fs layer [2020-09-09T04:34:17.219Z] ce8a83651883: Pulling fs layer [2020-09-09T04:34:17.219Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T04:34:17.219Z] 2dd03ba5bac4: Waiting [2020-09-09T04:34:17.219Z] 1e091d79d1de: Waiting [2020-09-09T04:34:17.219Z] 481702a1767f: Waiting [2020-09-09T04:34:17.219Z] f64a6f60c768: Waiting [2020-09-09T04:34:17.219Z] e78d2573fc39: Waiting [2020-09-09T04:34:17.219Z] e876d2f968b6: Waiting [2020-09-09T04:34:17.219Z] ce8a83651883: Waiting [2020-09-09T04:34:17.219Z] 07967f4d0e4b: Waiting [2020-09-09T04:34:17.219Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T04:34:17.219Z] a92cc7c5fd73: Download complete [2020-09-09T04:34:17.219Z] ed8968b2872e: Verifying Checksum [2020-09-09T04:34:17.219Z] ed8968b2872e: Download complete [2020-09-09T04:34:17.510Z] 1e091d79d1de: Verifying Checksum [2020-09-09T04:34:17.510Z] 1e091d79d1de: Download complete [2020-09-09T04:34:17.510Z] 481702a1767f: Verifying Checksum [2020-09-09T04:34:17.510Z] 481702a1767f: Download complete [2020-09-09T04:34:17.882Z] df20fa9351a1: Verifying Checksum [2020-09-09T04:34:17.882Z] df20fa9351a1: Download complete [2020-09-09T04:34:18.443Z] df20fa9351a1: Pull complete [2020-09-09T04:34:18.716Z] ed8968b2872e: Pull complete [2020-09-09T04:34:19.009Z] a92cc7c5fd73: Pull complete [2020-09-09T04:34:24.550Z] f64a6f60c768: Verifying Checksum [2020-09-09T04:34:24.550Z] f64a6f60c768: Download complete [2020-09-09T04:34:24.550Z] e876d2f968b6: Verifying Checksum [2020-09-09T04:34:24.550Z] e876d2f968b6: Download complete [2020-09-09T04:34:27.576Z] ce8a83651883: Verifying Checksum [2020-09-09T04:34:27.576Z] ce8a83651883: Download complete [2020-09-09T04:34:27.576Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T04:34:27.576Z] 07967f4d0e4b: Download complete [2020-09-09T04:34:27.576Z] e78d2573fc39: Verifying Checksum [2020-09-09T04:34:27.576Z] e78d2573fc39: Download complete [2020-09-09T04:34:28.635Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T04:34:28.635Z] 2dd03ba5bac4: Download complete [2020-09-09T04:34:36.970Z] 2dd03ba5bac4: Pull complete [2020-09-09T04:34:36.970Z] 1e091d79d1de: Pull complete [2020-09-09T04:34:36.970Z] 481702a1767f: Pull complete [2020-09-09T04:34:41.459Z] f64a6f60c768: Pull complete [2020-09-09T04:34:45.737Z] e78d2573fc39: Pull complete [2020-09-09T04:34:45.737Z] e876d2f968b6: Pull complete [2020-09-09T04:34:47.245Z] ce8a83651883: Pull complete [2020-09-09T04:34:47.514Z] 07967f4d0e4b: Pull complete [2020-09-09T04:34:47.514Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T04:34:47.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T04:34:47.514Z] ---> 5d7c900382c6 [2020-09-09T04:34:47.514Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-09T04:34:47.781Z] latest: Pulling from library/docker [2020-09-09T04:34:48.179Z] df20fa9351a1: Already exists [2020-09-09T04:34:48.179Z] 25ad7478873d: Pulling fs layer [2020-09-09T04:34:48.180Z] 4684f6177b5d: Pulling fs layer [2020-09-09T04:34:48.180Z] 46e300cec669: Pulling fs layer [2020-09-09T04:34:48.180Z] 63038576ad94: Pulling fs layer [2020-09-09T04:34:48.180Z] 0fdb76c4706c: Pulling fs layer [2020-09-09T04:34:48.180Z] cb7edeffdfd5: Pulling fs layer [2020-09-09T04:34:48.180Z] 63038576ad94: Waiting [2020-09-09T04:34:48.180Z] 0fdb76c4706c: Waiting [2020-09-09T04:34:48.180Z] cb7edeffdfd5: Waiting [2020-09-09T04:34:48.180Z] 4684f6177b5d: Download complete [2020-09-09T04:34:48.563Z] 25ad7478873d: Verifying Checksum [2020-09-09T04:34:48.563Z] 25ad7478873d: Download complete [2020-09-09T04:34:48.563Z] 63038576ad94: Download complete [2020-09-09T04:34:48.563Z] 0fdb76c4706c: Verifying Checksum [2020-09-09T04:34:48.563Z] 0fdb76c4706c: Download complete [2020-09-09T04:34:48.563Z] cb7edeffdfd5: Verifying Checksum [2020-09-09T04:34:48.563Z] cb7edeffdfd5: Download complete [2020-09-09T04:34:49.386Z] 25ad7478873d: Pull complete [2020-09-09T04:34:49.386Z] 4684f6177b5d: Pull complete [2020-09-09T04:34:50.095Z] 46e300cec669: Verifying Checksum [2020-09-09T04:34:50.095Z] 46e300cec669: Download complete [2020-09-09T04:34:53.537Z] 46e300cec669: Pull complete [2020-09-09T04:34:53.842Z] 63038576ad94: Pull complete [2020-09-09T04:34:54.112Z] 0fdb76c4706c: Pull complete [2020-09-09T04:34:54.112Z] cb7edeffdfd5: Pull complete [2020-09-09T04:34:54.112Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-09T04:34:54.112Z] Status: Downloaded newer image for docker:latest [2020-09-09T04:34:56.207Z] ---> dd51239b9ba8 [2020-09-09T04:34:56.207Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-09T04:34:56.207Z] ---> Running in 60c184f9bb8c [2020-09-09T04:34:56.472Z] Removing intermediate container 60c184f9bb8c [2020-09-09T04:34:56.472Z] ---> e6ee2d765436 [2020-09-09T04:34:56.472Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-09T04:34:56.472Z] ---> Running in 9117a1de9536 [2020-09-09T04:34:57.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T04:34:58.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T04:34:58.733Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-09T04:34:59.008Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-09T04:34:59.305Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-09T04:34:59.305Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-09T04:34:59.305Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-09T04:34:59.580Z] Executing busybox-1.31.1-r16.trigger [2020-09-09T04:34:59.580Z] OK: 167 MiB in 44 packages [2020-09-09T04:35:00.164Z] Removing intermediate container 9117a1de9536 [2020-09-09T04:35:00.164Z] ---> 7abdf5d5163e [2020-09-09T04:35:00.164Z] Step 6/8 : WORKDIR /build [2020-09-09T04:35:00.164Z] ---> Running in 2a12c253442b [2020-09-09T04:35:00.448Z] Removing intermediate container 2a12c253442b [2020-09-09T04:35:00.448Z] ---> 746342d7ecf1 [2020-09-09T04:35:00.448Z] Step 7/8 : COPY go.mod . [2020-09-09T04:35:00.448Z] ---> 7c87cc1ee7ac [2020-09-09T04:35:00.448Z] Step 8/8 : RUN go mod download [2020-09-09T04:35:00.738Z] ---> Running in 27704b2d1042 [2020-09-09T04:35:03.400Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-09-09T04:35:03.400Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T04:35:03.400Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T04:35:03.668Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T04:35:03.668Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T04:35:03.668Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T04:35:03.668Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T04:35:03.668Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T04:35:03.668Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-09-09T04:35:03.668Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-09-09T04:35:03.668Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T04:35:03.668Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T04:35:03.668Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 [2020-09-09T04:35:03.951Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 [2020-09-09T04:35:03.951Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-09T04:35:03.951Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 [2020-09-09T04:35:03.951Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T04:35:03.951Z] go: finding github.com/fsnotify/fsnotify v1.4.7 [2020-09-09T04:35:03.951Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T04:35:03.951Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T04:35:03.951Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T04:35:03.951Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-09T04:35:03.951Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-09T04:35:04.217Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-09T04:35:04.217Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-09T04:35:04.217Z] go: finding github.com/go-redis/redis/v7 v7.2.0 [2020-09-09T04:35:04.217Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T04:35:04.217Z] go: finding github.com/golang/protobuf v1.3.2 [2020-09-09T04:35:04.217Z] go: finding github.com/golang/snappy v0.0.1 [2020-09-09T04:35:04.217Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-09-09T04:35:04.217Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T04:35:04.217Z] go: finding github.com/google/go-cmp v0.4.0 [2020-09-09T04:35:04.217Z] go: finding github.com/google/uuid v1.1.1 [2020-09-09T04:35:04.217Z] go: finding github.com/gorilla/mux v1.8.0 [2020-09-09T04:35:04.480Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T04:35:04.481Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T04:35:04.752Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T04:35:05.019Z] go: finding github.com/hpcloud/tail v1.0.0 [2020-09-09T04:35:05.019Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T04:35:05.019Z] go: finding github.com/kr/pretty v0.1.0 [2020-09-09T04:35:05.019Z] go: finding github.com/kr/pty v1.1.1 [2020-09-09T04:35:05.285Z] go: finding github.com/kr/text v0.1.0 [2020-09-09T04:35:05.285Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-09T04:35:05.285Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T04:35:05.285Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T04:35:05.285Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T04:35:05.285Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T04:35:05.285Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T04:35:05.285Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T04:35:05.285Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T04:35:05.285Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T04:35:05.551Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T04:35:05.551Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T04:35:05.551Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T04:35:05.551Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T04:35:05.551Z] go: finding github.com/onsi/ginkgo v1.10.1 [2020-09-09T04:35:05.551Z] go: finding github.com/onsi/gomega v1.7.0 [2020-09-09T04:35:05.551Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T04:35:05.551Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-09-09T04:35:05.551Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T04:35:05.551Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T04:35:05.815Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T04:35:05.815Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T04:35:05.815Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T04:35:05.815Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T04:35:05.815Z] go: finding github.com/stretchr/objx v0.2.0 [2020-09-09T04:35:05.815Z] go: finding github.com/stretchr/testify v1.6.1 [2020-09-09T04:35:05.815Z] go: finding github.com/tidwall/pretty v1.0.1 [2020-09-09T04:35:05.815Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T04:35:05.815Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T04:35:05.815Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-09-09T04:35:05.815Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-09-09T04:35:06.086Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-09-09T04:35:06.086Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-09-09T04:35:06.086Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-09-09T04:35:06.086Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T04:35:06.086Z] go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 [2020-09-09T04:35:06.086Z] go: finding golang.org/x/text v0.3.2 [2020-09-09T04:35:06.087Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-09T04:35:06.087Z] go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 [2020-09-09T04:35:06.087Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-09-09T04:35:06.429Z] go: finding gopkg.in/fsnotify.v1 v1.4.7 [2020-09-09T04:35:06.429Z] go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2020-09-09T04:35:06.429Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T04:35:06.429Z] go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2020-09-09T04:35:28.735Z] Removing intermediate container 27704b2d1042 [2020-09-09T04:35:28.735Z] ---> faf26703cb7f [2020-09-09T04:35:28.735Z] Successfully built faf26703cb7f [2020-09-09T04:35:28.735Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:35:29.692Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T04:35:29.692Z] . [Pipeline] withDockerContainer [2020-09-09T04:35:29.918Z] prd-centos7-docker-4c-2g-1911 does not seem to be running inside a container [2020-09-09T04:35:29.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-09T04:35:30.902Z] $ docker top a176412e1ee8f25d6e1b778516a5526f6835c0374c48fc525e27c315e9d58e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T04:35:31.557Z] + go version [2020-09-09T04:35:31.557Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T04:35:31.989Z] + make test [2020-09-09T04:35:31.989Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-09T04:35:34.750Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-09T04:35:45.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.175s coverage: 86.2% of statements [2020-09-09T04:36:00.109Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1915 in /w/workspace/ndry_app-functions-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-09-09T04:36:00.297Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T04:36:05.870Z] using credential edgex-jenkins-ssh [2020-09-09T04:36:05.922Z] Cloning the remote Git repository [2020-09-09T04:36:05.922Z] Cloning with configured refspecs honoured and without tags [2020-09-09T04:36:05.963Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:36:06.063Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-09T04:36:06.125Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:36:06.127Z] > git --version # timeout=10 [2020-09-09T04:36:06.141Z] > git --version # 'git version 2.17.1' [2020-09-09T04:36:06.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:36:06.206Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:36:09.059Z] Fetching without tags [2020-09-09T04:36:09.532Z] Merging remotes/origin/master commit c89ea64ed19499ab5ba28d42d39506f385498632 into PR head commit bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [2020-09-09T04:36:08.953Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-09T04:36:08.968Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-09-09T04:36:08.991Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:36:09.019Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-09T04:36:09.055Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-09T04:36:09.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:36:09.068Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T04:36:09.536Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T04:36:09.559Z] > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 [2020-09-09T04:36:09.889Z] Merge succeeded, producing bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 [2020-09-09T04:36:09.889Z] Checking out Revision bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 (PR-474) [2020-09-09T04:36:09.671Z] > git remote # timeout=10 [2020-09-09T04:36:09.735Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T04:36:09.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T04:36:09.795Z] > git merge c89ea64ed19499ab5ba28d42d39506f385498632 # timeout=10 [2020-09-09T04:36:09.832Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T04:36:09.879Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T04:36:09.935Z] > git checkout -f bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 [2020-09-09T04:36:12.136Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.040s coverage: 56.1% of statements [2020-09-09T04:36:12.136Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-09T04:36:12.136Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-09T04:36:12.136Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.043s coverage: 53.5% of statements [2020-09-09T04:36:12.136Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-09T04:36:12.136Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.434s coverage: 69.1% of statements [2020-09-09T04:36:14.270Z] Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." [2020-09-09T04:36:14.309Z] > git --version # timeout=10 [2020-09-09T04:36:14.330Z] > git --version # 'git version 2.17.1' [2020-09-09T04:36:14.344Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T04:36:17.709Z] ========================================================= [2020-09-09T04:36:17.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T04:36:17.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:36:18.857Z] + 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-09T04:36:20.304Z] Sending build context to Docker daemon 37.13MB [2020-09-09T04:36:20.304Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T04:36:20.304Z] Step 2/8 : FROM ${BASE} [2020-09-09T04:36:20.304Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T04:36:20.304Z] b538f80385f9: Pulling fs layer [2020-09-09T04:36:20.304Z] 74f711af9a0d: Pulling fs layer [2020-09-09T04:36:20.304Z] 99f96fe45779: Pulling fs layer [2020-09-09T04:36:20.304Z] fd7a069fd194: Pulling fs layer [2020-09-09T04:36:20.304Z] 66aa3694b03b: Pulling fs layer [2020-09-09T04:36:20.304Z] 170f70906a0f: Pulling fs layer [2020-09-09T04:36:20.304Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T04:36:20.304Z] e772456be8f7: Pulling fs layer [2020-09-09T04:36:20.304Z] c890913d741a: Pulling fs layer [2020-09-09T04:36:20.304Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T04:36:20.304Z] 09adf4765672: Pulling fs layer [2020-09-09T04:36:20.304Z] 66aa3694b03b: Waiting [2020-09-09T04:36:20.304Z] 170f70906a0f: Waiting [2020-09-09T04:36:20.304Z] ad7c5574e4b9: Waiting [2020-09-09T04:36:20.304Z] e772456be8f7: Waiting [2020-09-09T04:36:20.304Z] c890913d741a: Waiting [2020-09-09T04:36:20.304Z] 2480fcc9aa5a: Waiting [2020-09-09T04:36:20.304Z] 09adf4765672: Waiting [2020-09-09T04:36:20.304Z] fd7a069fd194: Waiting [2020-09-09T04:36:20.304Z] 99f96fe45779: Download complete [2020-09-09T04:36:20.587Z] 74f711af9a0d: Verifying Checksum [2020-09-09T04:36:20.587Z] 74f711af9a0d: Download complete [2020-09-09T04:36:20.587Z] 66aa3694b03b: Download complete [2020-09-09T04:36:20.587Z] 170f70906a0f: Verifying Checksum [2020-09-09T04:36:20.587Z] 170f70906a0f: Download complete [2020-09-09T04:36:20.587Z] b538f80385f9: Verifying Checksum [2020-09-09T04:36:20.587Z] b538f80385f9: Download complete [2020-09-09T04:36:21.188Z] b538f80385f9: Pull complete [2020-09-09T04:36:22.173Z] 74f711af9a0d: Pull complete [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.502s coverage: 73.2% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.008s coverage: 89.5% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.007s coverage: 100.0% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.091s coverage: 100.0% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.022s coverage: 100.0% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.085s coverage: 100.0% of statements [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.007s coverage: 96.6% of statements [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-09T04:36:22.379Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.017s coverage: 9.4% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.074s coverage: 75.0% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.3% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements [2020-09-09T04:36:22.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.160s coverage: 81.3% of statements [2020-09-09T04:36:22.449Z] 99f96fe45779: Pull complete [2020-09-09T04:36:23.047Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T04:36:23.047Z] ad7c5574e4b9: Download complete [2020-09-09T04:36:23.047Z] c890913d741a: Verifying Checksum [2020-09-09T04:36:23.047Z] c890913d741a: Download complete [2020-09-09T04:36:24.487Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T04:36:24.487Z] 2480fcc9aa5a: Download complete [2020-09-09T04:36:25.926Z] e772456be8f7: Download complete [2020-09-09T04:36:26.197Z] fd7a069fd194: Download complete [2020-09-09T04:36:38.631Z] fd7a069fd194: Pull complete [2020-09-09T04:36:38.631Z] 66aa3694b03b: Pull complete [2020-09-09T04:36:38.631Z] 170f70906a0f: Pull complete [2020-09-09T04:36:42.036Z] ad7c5574e4b9: Pull complete [2020-09-09T04:36:44.541Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.527s coverage: 72.8% of statements [2020-09-09T04:36:44.542Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements [2020-09-09T04:36:44.542Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-09T04:36:46.362Z] e772456be8f7: Pull complete [2020-09-09T04:36:46.362Z] c890913d741a: Pull complete [2020-09-09T04:36:48.983Z] 2480fcc9aa5a: Pull complete [2020-09-09T04:36:49.257Z] 09adf4765672: Pull complete [2020-09-09T04:36:49.257Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T04:36:49.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T04:36:49.257Z] ---> 2248a725d1cf [2020-09-09T04:36:49.257Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-09T04:36:49.532Z] latest: Pulling from library/docker [2020-09-09T04:36:49.805Z] b538f80385f9: Already exists [2020-09-09T04:36:49.805Z] 259a493cd78d: Pulling fs layer [2020-09-09T04:36:49.805Z] b8e66b5100f5: Pulling fs layer [2020-09-09T04:36:49.805Z] 39dc9c94d07c: Pulling fs layer [2020-09-09T04:36:49.805Z] 551b823b3b82: Pulling fs layer [2020-09-09T04:36:49.805Z] 3c52a74df98c: Pulling fs layer [2020-09-09T04:36:49.805Z] 6c9b121b6998: Pulling fs layer [2020-09-09T04:36:49.805Z] 551b823b3b82: Waiting [2020-09-09T04:36:49.805Z] 3c52a74df98c: Waiting [2020-09-09T04:36:49.805Z] 6c9b121b6998: Waiting [2020-09-09T04:36:50.032Z] gofmt -l . [2020-09-09T04:36:50.032Z] [ "`gofmt -l .`" = "" ] [2020-09-09T04:36:50.084Z] b8e66b5100f5: Download complete [2020-09-09T04:36:50.317Z] ./bin/test-go-mod-tidy.sh [2020-09-09T04:36:50.685Z] 259a493cd78d: Verifying Checksum [2020-09-09T04:36:50.685Z] 259a493cd78d: Download complete [2020-09-09T04:36:50.685Z] 551b823b3b82: Verifying Checksum [2020-09-09T04:36:50.685Z] 551b823b3b82: Download complete [2020-09-09T04:36:50.685Z] 3c52a74df98c: Verifying Checksum [2020-09-09T04:36:50.685Z] 3c52a74df98c: Download complete [2020-09-09T04:36:50.968Z] 6c9b121b6998: Verifying Checksum [2020-09-09T04:36:50.968Z] 6c9b121b6998: Download complete [2020-09-09T04:36:51.244Z] 39dc9c94d07c: Verifying Checksum [2020-09-09T04:36:51.244Z] 39dc9c94d07c: Download complete [2020-09-09T04:36:51.244Z] 259a493cd78d: Pull complete [Pipeline] stash [2020-09-09T04:36:51.834Z] b8e66b5100f5: Pull complete [2020-09-09T04:36:51.879Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T04:36:51.904Z] $ docker stop --time=1 a176412e1ee8f25d6e1b778516a5526f6835c0374c48fc525e27c315e9d58e7b [2020-09-09T04:36:53.800Z] $ docker rm -f a176412e1ee8f25d6e1b778516a5526f6835c0374c48fc525e27c315e9d58e7b [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) [2020-09-09T04:36:55.217Z] 39dc9c94d07c: Pull complete [2020-09-09T04:36:55.217Z] 551b823b3b82: Pull complete Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-09-09T04:36:55.813Z] 3c52a74df98c: Pull complete [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-09T04:36:56.087Z] 6c9b121b6998: Pull complete [2020-09-09T04:36:56.087Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-09T04:36:56.087Z] Status: Downloaded newer image for docker:latest [Pipeline] // stage [Pipeline] } [2020-09-09T04:37:04.347Z] ---> 33b9e024d9f7 [2020-09-09T04:37:04.347Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-09T04:37:04.347Z] ---> Running in 2d326443e475 [2020-09-09T04:37:04.347Z] Removing intermediate container 2d326443e475 [2020-09-09T04:37:04.347Z] ---> 6190098aa0b7 [2020-09-09T04:37:04.347Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-09T04:37:04.347Z] ---> Running in 052c3307e4c7 [2020-09-09T04:37:05.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T04:37:06.743Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T04:37:07.335Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-09T04:37:07.335Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-09T04:37:07.603Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-09T04:37:07.603Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-09T04:37:07.603Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-09T04:37:07.874Z] Executing busybox-1.31.1-r16.trigger [2020-09-09T04:37:07.874Z] OK: 144 MiB in 44 packages [2020-09-09T04:37:09.305Z] Removing intermediate container 052c3307e4c7 [2020-09-09T04:37:09.305Z] ---> 6fe0a2db98df [2020-09-09T04:37:09.305Z] Step 6/8 : WORKDIR /build [2020-09-09T04:37:09.305Z] ---> Running in c666d38fc444 [2020-09-09T04:37:09.897Z] Removing intermediate container c666d38fc444 [2020-09-09T04:37:09.897Z] ---> ff8ed19ca654 [2020-09-09T04:37:09.897Z] Step 7/8 : COPY go.mod . [2020-09-09T04:37:10.494Z] ---> 14739bc09f8c [2020-09-09T04:37:10.494Z] Step 8/8 : RUN go mod download [2020-09-09T04:37:10.494Z] ---> Running in 9e14ace65b36 [2020-09-09T04:37:13.872Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-09-09T04:37:13.872Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T04:37:13.872Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T04:37:13.872Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T04:37:13.873Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T04:37:13.873Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T04:37:13.873Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T04:37:13.873Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T04:37:13.873Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-09-09T04:37:13.873Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-09-09T04:37:13.873Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T04:37:13.873Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T04:37:13.873Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 [2020-09-09T04:37:13.873Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 [2020-09-09T04:37:13.873Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-09T04:37:14.141Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 [2020-09-09T04:37:14.141Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T04:37:14.141Z] go: finding github.com/fsnotify/fsnotify v1.4.7 [2020-09-09T04:37:14.141Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T04:37:14.141Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T04:37:14.141Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T04:37:14.141Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-09T04:37:14.141Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-09T04:37:14.141Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-09T04:37:14.141Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-09T04:37:14.411Z] go: finding github.com/go-redis/redis/v7 v7.2.0 [2020-09-09T04:37:14.411Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T04:37:14.411Z] go: finding github.com/golang/protobuf v1.3.2 [2020-09-09T04:37:14.411Z] go: finding github.com/golang/snappy v0.0.1 [2020-09-09T04:37:14.411Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-09-09T04:37:14.411Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T04:37:14.411Z] go: finding github.com/google/go-cmp v0.4.0 [2020-09-09T04:37:14.411Z] go: finding github.com/google/uuid v1.1.1 [2020-09-09T04:37:14.411Z] go: finding github.com/gorilla/mux v1.8.0 [2020-09-09T04:37:14.411Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T04:37:14.680Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T04:37:14.949Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T04:37:14.949Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T04:37:14.949Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T04:37:14.949Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T04:37:14.949Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T04:37:14.949Z] go: finding github.com/hpcloud/tail v1.0.0 [2020-09-09T04:37:14.949Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T04:37:14.949Z] go: finding github.com/kr/pretty v0.1.0 [2020-09-09T04:37:14.949Z] go: finding github.com/kr/pty v1.1.1 [2020-09-09T04:37:14.949Z] go: finding github.com/kr/text v0.1.0 [2020-09-09T04:37:14.949Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T04:37:15.218Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T04:37:15.218Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T04:37:15.218Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T04:37:15.488Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T04:37:15.488Z] go: finding github.com/onsi/ginkgo v1.10.1 [2020-09-09T04:37:15.488Z] go: finding github.com/onsi/gomega v1.7.0 [2020-09-09T04:37:15.488Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T04:37:15.488Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-09-09T04:37:15.488Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T04:37:15.488Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T04:37:15.488Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T04:37:15.488Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T04:37:15.488Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T04:37:15.759Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T04:37:15.759Z] go: finding github.com/stretchr/objx v0.2.0 [2020-09-09T04:37:15.759Z] go: finding github.com/stretchr/testify v1.6.1 [2020-09-09T04:37:15.759Z] go: finding github.com/tidwall/pretty v1.0.1 [2020-09-09T04:37:15.759Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T04:37:15.759Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T04:37:15.759Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-09-09T04:37:16.033Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-09-09T04:37:16.033Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/text v0.3.2 [2020-09-09T04:37:16.033Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-09T04:37:16.033Z] go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 [2020-09-09T04:37:16.033Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-09-09T04:37:16.033Z] go: finding gopkg.in/fsnotify.v1 v1.4.7 [2020-09-09T04:37:16.304Z] go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2020-09-09T04:37:16.304Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T04:37:16.304Z] go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2020-09-09T04:37:38.464Z] Removing intermediate container 9e14ace65b36 [2020-09-09T04:37:38.464Z] ---> 909af4c8277f [2020-09-09T04:37:38.464Z] Successfully built 909af4c8277f [2020-09-09T04:37:38.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:37:39.369Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T04:37:39.369Z] . [Pipeline] withDockerContainer [2020-09-09T04:37:39.672Z] prd-ubuntu18.04-docker-arm64-4c-16g-1915 does not seem to be running inside a container [2020-09-09T04:37:39.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-09T04:37:41.545Z] $ docker top b011348d6b17f4363e699735b314fc9a3645400fa6200b342db78c6f7f04b239 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T04:37:43.089Z] + go version [2020-09-09T04:37:43.089Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T04:37:44.210Z] + make test [2020-09-09T04:37:44.210Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-09T04:37:46.196Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-09T04:38:04.531Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.111s coverage: 86.2% of statements [2020-09-09T04:38:51.576Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.121s coverage: 56.1% of statements [2020-09-09T04:38:51.576Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-09T04:38:51.576Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-09T04:38:51.576Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.118s coverage: 53.5% of statements [2020-09-09T04:38:51.576Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-09T04:38:51.576Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.401s coverage: 69.1% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.522s coverage: 73.2% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.021s coverage: 89.5% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.018s coverage: 100.0% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.137s coverage: 100.0% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.034s coverage: 100.0% of statements [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.020s coverage: 100.0% of statements [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.015s coverage: 96.6% of statements [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.038s coverage: 97.7% of statements [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-09T04:38:55.947Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-09T04:38:55.947Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.028s coverage: 9.4% of statements [2020-09-09T04:39:02.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.184s coverage: 75.0% of statements [2020-09-09T04:39:02.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.041s coverage: 89.3% of statements [2020-09-09T04:39:02.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.031s coverage: 88.9% of statements [2020-09-09T04:39:02.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.212s coverage: 81.3% of statements [2020-09-09T04:39:29.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.698s coverage: 72.8% of statements [2020-09-09T04:39:29.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.025s coverage: 94.4% of statements [2020-09-09T04:39:29.430Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-09T04:39:37.721Z] gofmt -l . [2020-09-09T04:39:37.721Z] [ "`gofmt -l .`" = "" ] [2020-09-09T04:39:38.314Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T04:39:38.946Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T04:39:39.673Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T04:39:39.642Z] $ docker stop --time=1 b011348d6b17f4363e699735b314fc9a3645400fa6200b342db78c6f7f04b239 [2020-09-09T04:39:41.855Z] $ docker rm -f b011348d6b17f4363e699735b314fc9a3645400fa6200b342db78c6f7f04b239 [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-09T04:39:45.331Z] provisioning config files... [2020-09-09T04:39:45.343Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/config1123930829357992849tmp [Pipeline] { [Pipeline] sh [2020-09-09T04:39:45.769Z] + curl -s https://codecov.io/bash [2020-09-09T04:39:45.770Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/config1123930829357992849tmp [Pipeline] } [2020-09-09T04:39:46.053Z] 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-09T04:39:49.191Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T04:39:49.788Z] ---> package-listing.sh [2020-09-09T04:39:49.788Z] ++ facter osfamily [2020-09-09T04:39:49.788Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T04:39:49.788Z] + OS_FAMILY=redhat [2020-09-09T04:39:49.788Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-474 [2020-09-09T04:39:49.788Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T04:39:49.788Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T04:39:49.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T04:39:49.788Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T04:39:49.788Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-474 ']' [2020-09-09T04:39:49.788Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T04:39:49.788Z] + case "${OS_FAMILY}" in [2020-09-09T04:39:49.788Z] + rpm -qa [2020-09-09T04:39:49.788Z] + sort [2020-09-09T04:39:54.009Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T04:39:54.009Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T04:39:54.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T04:39:54.009Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-474 ']' [2020-09-09T04:39:54.009Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-474/archives/ [2020-09-09T04:39:54.009Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:39:54.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T04:39:54.958Z] [2020-09-09T04:39:54.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T04:39:55.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T04:39:55.359Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T04:39:55.359Z] df20fa9351a1: Pulling fs layer [2020-09-09T04:39:55.359Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T04:39:55.359Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T04:39:55.359Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T04:39:55.359Z] 0dadc02b9964: Pulling fs layer [2020-09-09T04:39:55.359Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T04:39:55.359Z] 7a184a31f384: Pulling fs layer [2020-09-09T04:39:55.359Z] 0879bd2ef858: Pulling fs layer [2020-09-09T04:39:55.359Z] ce6a7cf60c04: Waiting [2020-09-09T04:39:55.359Z] 46f8f816bc3b: Waiting [2020-09-09T04:39:55.359Z] 7a184a31f384: Waiting [2020-09-09T04:39:55.359Z] 0879bd2ef858: Waiting [2020-09-09T04:39:55.359Z] 0dadc02b9964: Waiting [2020-09-09T04:39:55.359Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T04:39:55.359Z] 36b3adc4ff6f: Download complete [2020-09-09T04:39:55.359Z] 46f8f816bc3b: Download complete [2020-09-09T04:39:55.359Z] df20fa9351a1: Verifying Checksum [2020-09-09T04:39:55.359Z] df20fa9351a1: Download complete [2020-09-09T04:39:55.627Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T04:39:55.627Z] ce6a7cf60c04: Download complete [2020-09-09T04:39:55.627Z] 7a184a31f384: Download complete [2020-09-09T04:39:55.627Z] 0dadc02b9964: Verifying Checksum [2020-09-09T04:39:55.627Z] 0dadc02b9964: Download complete [2020-09-09T04:39:55.627Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T04:39:55.627Z] 8ad3a11d3b57: Download complete [2020-09-09T04:39:55.897Z] df20fa9351a1: Pull complete [2020-09-09T04:39:55.897Z] 0879bd2ef858: Verifying Checksum [2020-09-09T04:39:55.897Z] 0879bd2ef858: Download complete [2020-09-09T04:39:56.165Z] 36b3adc4ff6f: Pull complete [2020-09-09T04:39:56.744Z] 8ad3a11d3b57: Pull complete [2020-09-09T04:39:56.745Z] 46f8f816bc3b: Pull complete [2020-09-09T04:39:57.010Z] 0dadc02b9964: Pull complete [2020-09-09T04:39:57.270Z] ce6a7cf60c04: Pull complete [2020-09-09T04:39:57.270Z] 7a184a31f384: Pull complete [2020-09-09T04:40:00.601Z] 0879bd2ef858: Pull complete [2020-09-09T04:40:00.601Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T04:40:00.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T04:40:00.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T04:40:00.753Z] prd-centos7-docker-4c-2g-1912 does not seem to be running inside a container [2020-09-09T04:40:00.796Z] $ 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-474 -v /w/workspace/ndry_app-functions-sdk-go_PR-474:/w/workspace/ndry_app-functions-sdk-go_PR-474:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-474@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-09T04:40:04.377Z] $ docker top f498ab9c576bfb0e8c484781bd8d62cb8ccf42c72735c33eeae08a1a067451bd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T04:40:04.961Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T04:40:05.291Z] + ls /var/log/sa-host [2020-09-09T04:40:05.291Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T04:40:05.291Z] file_magic: OK [2020-09-09T04:40:05.291Z] HZ: Using current value: 100 [2020-09-09T04:40:05.291Z] file_header: OK [2020-09-09T04:40:05.291Z] 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-09T04:40:05.291Z] Statistics: [2020-09-09T04:40:05.291Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T04:40:05.291Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T04:40:05.291Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T04:40:05.291Z] file_magic: OK [2020-09-09T04:40:05.291Z] HZ: Using current value: 100 [2020-09-09T04:40:05.291Z] file_header: OK [2020-09-09T04:40:05.291Z] 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-09T04:40:05.291Z] Statistics: [2020-09-09T04:40:05.291Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T04:40:05.291Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T04:40:05.408Z] provisioning config files... [2020-09-09T04:40:05.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/config2357643107008027469tmp [Pipeline] { [Pipeline] echo [2020-09-09T04:40:05.540Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T04:40:05.872Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T04:40:05.903Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T04:40:06.235Z] ---> logs-deploy.sh [2020-09-09T04:40:06.235Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-474/1 [2020-09-09T04:40:06.235Z] INFO: archiving workspace using pattern(s): [2020-09-09T04:40:07.631Z] Archives upload complete. [2020-09-09T04:40:07.631Z] INFO: archiving logs to Nexus