Pull request #474 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 8606d8269a4d4303db2b40c373bce192e2acb746+c89ea64ed19499ab5ba28d42d39506f385498632 (4afbdbc7f7a72e01999630da4d3f91186b563d4c) 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 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1989 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 8606d8269a4d4303db2b40c373bce192e2acb746 Merge succeeded, producing 8606d8269a4d4303db2b40c373bce192e2acb746 Checking out Revision 8606d8269a4d4303db2b40c373bce192e2acb746 (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 8606d8269a4d4303db2b40c373bce192e2acb746 # 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 8606d8269a4d4303db2b40c373bce192e2acb746 # timeout=10 Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." First time build. Skipping changelog. > git rev-list --no-walk bad20e1e267e0fd2c4040391f43fa2c6e6c2cc35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:05:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:05:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:05:53 ========================================================= 21:05:53 EdgeX Global Pipelines Version Info 21:05:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:05:54 ------------------- 21:05:54 stable info: 21:05:54 ------------------- 21:05:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:05:54 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 21:05:54 Message: update stable to v1.0.119 21:05:55 ------------------- 21:05:55 experimental info: 21:05:55 ------------------- 21:05:55 Commited By: **** collab-it+edgex@linuxfoundation.org 21:05:55 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 21:05:55 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 21:05:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:05:55 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:05:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:05:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8606d8269a4d4303db2b40c373bce192e2acb746 [Pipeline] echo 21:05:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8606d82 [Pipeline] echo 21:05:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:58 + git log --format=format:%s -1 8606d8269a4d4303db2b40c373bce192e2acb746 [Pipeline] echo 21:05:58 GIT_COMMIT: 8606d8269a4d4303db2b40c373bce192e2acb746, Commit Message: fix: Add locking around MQTT client setup and around connecting to avoid race conditions. [Pipeline] echo 21:05:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:05:59 21:05:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:06:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:06:00 latest: Pulling from edgex-devops/git-semver 21:06:00 31603596830f: Pulling fs layer 21:06:00 2a8b12db71e7: Pulling fs layer 21:06:00 6ca5941a6612: Pulling fs layer 21:06:00 ecc8261a40a4: Pulling fs layer 21:06:00 ecc8261a40a4: Waiting 21:06:00 2a8b12db71e7: Verifying Checksum 21:06:00 2a8b12db71e7: Download complete 21:06:00 31603596830f: Download complete 21:06:00 ecc8261a40a4: Verifying Checksum 21:06:00 ecc8261a40a4: Download complete 21:06:00 6ca5941a6612: Verifying Checksum 21:06:00 6ca5941a6612: Download complete 21:06:00 31603596830f: Pull complete 21:06:00 2a8b12db71e7: Pull complete 21:06:01 6ca5941a6612: Pull complete 21:06:01 ecc8261a40a4: Pull complete 21:06:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:06:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:06:01 prd-centos7-docker-4c-2g-1989 does not seem to be running inside a container 21:06:01 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:06:04 $ docker top c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:04 [ssh-agent] Looking for ssh-agent implementation... 21:06:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:04 $ docker exec c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c ssh-agent 21:06:04 SSH_AUTH_SOCK=/tmp/ssh-cNZ7QrtFNgCA/agent.11 21:06:04 SSH_AGENT_PID=16 21:06:04 Running ssh-add (command line suppressed) 21:06:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_3170382224556149737.key (/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_3170382224556149737.key) 21:06:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:05 + git describe --exact-match --tags HEAD 21:06:05 fatal: No names found, cannot describe anything. [Pipeline] } 21:06:05 $ docker exec --env ******** --env ******** c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c ssh-agent -k 21:06:05 unset SSH_AUTH_SOCK; 21:06:05 unset SSH_AGENT_PID; 21:06:05 echo Agent pid 16 killed; 21:06:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:06:05 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:06:05 This usually means this commit has not been tagged. [Pipeline] sshagent 21:06:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:05 [ssh-agent] Looking for ssh-agent implementation... 21:06:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:05 $ docker exec c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c ssh-agent 21:06:05 SSH_AUTH_SOCK=/tmp/ssh-jx46WMgfhpmR/agent.45 21:06:05 SSH_AGENT_PID=51 21:06:05 Running ssh-add (command line suppressed) 21:06:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_6075717659876247809.key (/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/private_key_6075717659876247809.key) 21:06:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:06 + git semver init 21:06:06 # -> Open(): unable to determine branch for HEAD 21:06:06 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-474/.git 21:06:06 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-474 21:06:06 # $SEMVER_REMOTE_NAME = origin 21:06:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:06:06 # $SEMVER_USER_NAME = edgex-jenkins 21:06:06 # $SEMVER_BRANCH = PR-474 21:06:06 # $SEMVER_TEMP = /tmp/semver-102139191 21:06:06 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:06:08 # '/tmp/semver-102139191' -> '/w/workspace/ndry_app-functions-sdk-go_PR-474/.semver' 21:06:08 # -> Force: false 21:06:08 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-474/.semver [Pipeline] } 21:06:08 $ docker exec --env ******** --env ******** c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c ssh-agent -k 21:06:08 unset SSH_AUTH_SOCK; 21:06:08 unset SSH_AGENT_PID; 21:06:08 echo Agent pid 51 killed; 21:06:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:09 + git semver [Pipeline] } 21:06:09 $ docker stop --time=1 c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c 21:06:10 $ docker rm -f c84a1020977e90e15e71cc611d996c6ce08d90fa319a676d15ea7ce4664d7b6c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:06:13 Stashed 39 file(s) [Pipeline] echo 21:06:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 21:06:13 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 21:06:28 Still waiting to schedule task 21:06:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:06:28 Still waiting to schedule task 21:06:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:08:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1990 in /w/workspace/ndry_app-functions-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 21:08:24 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 21:08:29 using credential edgex-jenkins-ssh 21:08:29 Cloning the remote Git repository 21:08:29 Cloning with configured refspecs honoured and without tags 21:08:29 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:08:29 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 21:08:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:08:29 > git --version # timeout=10 21:08:29 > git --version # 'git version 2.17.1' 21:08:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:29 > 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 21:08:32 Fetching without tags 21:08:32 Merging remotes/origin/master commit c89ea64ed19499ab5ba28d42d39506f385498632 into PR head commit 8606d8269a4d4303db2b40c373bce192e2acb746 21:08:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:08:32 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 21:08:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:08:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:08:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:08:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:32 > 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 21:08:32 > git config core.sparsecheckout # timeout=10 21:08:32 > git checkout -f 8606d8269a4d4303db2b40c373bce192e2acb746 # timeout=10 21:08:33 > git remote # timeout=10 21:08:33 > git config --get remote.origin.url # timeout=10 21:08:33 Merge succeeded, producing 8606d8269a4d4303db2b40c373bce192e2acb746 21:08:33 Checking out Revision 8606d8269a4d4303db2b40c373bce192e2acb746 (PR-474) 21:08:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:33 > git merge c89ea64ed19499ab5ba28d42d39506f385498632 # timeout=10 21:08:33 > git rev-parse HEAD^{commit} # timeout=10 21:08:33 > git config core.sparsecheckout # timeout=10 21:08:33 > git checkout -f 8606d8269a4d4303db2b40c373bce192e2acb746 # timeout=10 21:08:37 Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:08:41 ========================================================= 21:08:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:08:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:08:42 + 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 . 21:08:43 Sending build context to Docker daemon 37.13MB 21:08:43 Step 1/8 : ARG BASE=golang:1.13-alpine 21:08:43 Step 2/8 : FROM ${BASE} 21:08:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:08:43 b538f80385f9: Pulling fs layer 21:08:43 74f711af9a0d: Pulling fs layer 21:08:43 99f96fe45779: Pulling fs layer 21:08:43 fd7a069fd194: Pulling fs layer 21:08:43 66aa3694b03b: Pulling fs layer 21:08:43 170f70906a0f: Pulling fs layer 21:08:43 ad7c5574e4b9: Pulling fs layer 21:08:43 e772456be8f7: Pulling fs layer 21:08:43 c890913d741a: Pulling fs layer 21:08:43 2480fcc9aa5a: Pulling fs layer 21:08:43 09adf4765672: Pulling fs layer 21:08:43 fd7a069fd194: Waiting 21:08:43 66aa3694b03b: Waiting 21:08:43 170f70906a0f: Waiting 21:08:43 ad7c5574e4b9: Waiting 21:08:43 e772456be8f7: Waiting 21:08:43 c890913d741a: Waiting 21:08:43 2480fcc9aa5a: Waiting 21:08:43 09adf4765672: Waiting 21:08:43 99f96fe45779: Verifying Checksum 21:08:43 99f96fe45779: Download complete 21:08:43 74f711af9a0d: Verifying Checksum 21:08:43 74f711af9a0d: Download complete 21:08:44 66aa3694b03b: Download complete 21:08:44 170f70906a0f: Download complete 21:08:44 b538f80385f9: Download complete 21:08:44 b538f80385f9: Pull complete 21:08:45 74f711af9a0d: Pull complete 21:08:45 99f96fe45779: Pull complete 21:08:47 ad7c5574e4b9: Verifying Checksum 21:08:47 ad7c5574e4b9: Download complete 21:08:47 c890913d741a: Download complete 21:08:48 2480fcc9aa5a: Verifying Checksum 21:08:48 2480fcc9aa5a: Download complete 21:08:48 09adf4765672: Download complete 21:08:49 e772456be8f7: Verifying Checksum 21:08:49 e772456be8f7: Download complete 21:08:50 fd7a069fd194: Verifying Checksum 21:08:50 fd7a069fd194: Download complete 21:09:02 fd7a069fd194: Pull complete 21:09:02 66aa3694b03b: Pull complete 21:09:02 170f70906a0f: Pull complete 21:09:06 ad7c5574e4b9: Pull complete 21:09:10 e772456be8f7: Pull complete 21:09:10 c890913d741a: Pull complete 21:09:13 2480fcc9aa5a: Pull complete 21:09:13 09adf4765672: Pull complete 21:09:13 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 21:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:09:13 ---> 2248a725d1cf 21:09:13 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:09:13 latest: Pulling from library/docker 21:09:14 b538f80385f9: Already exists 21:09:14 259a493cd78d: Pulling fs layer 21:09:14 b8e66b5100f5: Pulling fs layer 21:09:14 39dc9c94d07c: Pulling fs layer 21:09:14 551b823b3b82: Pulling fs layer 21:09:14 3c52a74df98c: Pulling fs layer 21:09:14 6c9b121b6998: Pulling fs layer 21:09:14 551b823b3b82: Waiting 21:09:14 3c52a74df98c: Waiting 21:09:14 6c9b121b6998: Waiting 21:09:14 b8e66b5100f5: Download complete 21:09:14 259a493cd78d: Verifying Checksum 21:09:14 259a493cd78d: Download complete 21:09:14 551b823b3b82: Download complete 21:09:14 3c52a74df98c: Verifying Checksum 21:09:14 3c52a74df98c: Download complete 21:09:14 6c9b121b6998: Verifying Checksum 21:09:14 6c9b121b6998: Download complete 21:09:15 259a493cd78d: Pull complete 21:09:15 b8e66b5100f5: Pull complete 21:09:15 39dc9c94d07c: Verifying Checksum 21:09:15 39dc9c94d07c: Download complete 21:09:18 Running on prd-centos7-docker-4c-2g-1991 in /w/workspace/ndry_app-functions-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 21:09:18 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { 21:09:19 39dc9c94d07c: Pull complete [Pipeline] checkout 21:09:19 551b823b3b82: Pull complete 21:09:19 3c52a74df98c: Pull complete 21:09:19 6c9b121b6998: Pull complete 21:09:19 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 21:09:19 Status: Downloaded newer image for docker:latest 21:09:26 using credential edgex-jenkins-ssh 21:09:26 Cloning the remote Git repository 21:09:26 Cloning with configured refspecs honoured and without tags 21:09:26 ---> 6015b706b2b3 21:09:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:09:26 ---> Running in de9b7394adf5 21:09:26 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:26 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 21:09:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:26 > git --version # timeout=10 21:09:26 > git --version # 'git version 2.16.5' 21:09:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:26 > 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 21:09:27 Removing intermediate container de9b7394adf5 21:09:27 ---> 3b88127937bd 21:09:27 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:09:27 ---> Running in 4d305831476b 21:09:28 Fetching without tags 21:09:29 Merging remotes/origin/master commit c89ea64ed19499ab5ba28d42d39506f385498632 into PR head commit 8606d8269a4d4303db2b40c373bce192e2acb746 21:09:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:09:29 Merge succeeded, producing 8606d8269a4d4303db2b40c373bce192e2acb746 21:09:29 Checking out Revision 8606d8269a4d4303db2b40c373bce192e2acb746 (PR-474) 21:09:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:09:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:09:28 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 21:09:28 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:09:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:09:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:28 > 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 21:09:29 > git config core.sparsecheckout # timeout=10 21:09:29 > git checkout -f 8606d8269a4d4303db2b40c373bce192e2acb746 # timeout=10 21:09:29 > git remote # timeout=10 21:09:29 > git config --get remote.origin.url # timeout=10 21:09:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:29 > git merge c89ea64ed19499ab5ba28d42d39506f385498632 # timeout=10 21:09:29 > git rev-parse HEAD^{commit} # timeout=10 21:09:29 > git config core.sparsecheckout # timeout=10 21:09:29 > git checkout -f 8606d8269a4d4303db2b40c373bce192e2acb746 # timeout=10 21:09:30 (1/5) Installing libsodium (1.0.18-r0) 21:09:30 (2/5) Installing libzmq (4.3.3-r0) 21:09:30 (3/5) Installing pkgconf (1.7.2-r0) 21:09:30 (4/5) Installing libsodium-dev (1.0.18-r0) 21:09:30 (5/5) Installing zeromq-dev (4.3.3-r0) 21:09:30 Executing busybox-1.31.1-r16.trigger 21:09:30 OK: 144 MiB in 44 packages 21:09:32 Removing intermediate container 4d305831476b 21:09:32 ---> 3e47387b61f8 21:09:32 Step 6/8 : WORKDIR /build 21:09:32 ---> Running in 1f4383c46e0f 21:09:32 Removing intermediate container 1f4383c46e0f 21:09:32 ---> 9c02a71c39cd 21:09:32 Step 7/8 : COPY go.mod . 21:09:33 ---> d4a3243995cd 21:09:33 Step 8/8 : RUN go mod download 21:09:33 Commit message: "fix: Add locking around MQTT client setup and around connecting to avoid race conditions." 21:09:33 ---> Running in a51bdee5e625 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:09:36 ========================================================= 21:09:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:09:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:09:37 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:09:37 go: finding github.com/BurntSushi/toml v0.3.1 21:09:37 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:09:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:09:37 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:09:37 go: finding github.com/bgentry/speakeasy v0.1.0 21:09:37 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:09:37 go: finding github.com/davecgh/go-spew v1.1.1 21:09:37 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:09:37 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 21:09:37 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 21:09:37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:09:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 21:09:37 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 21:09:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 21:09:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 21:09:37 go: finding github.com/fatih/color v1.7.0 21:09:37 go: finding github.com/fsnotify/fsnotify v1.4.7 21:09:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:09:37 go: finding github.com/go-kit/kit v0.8.0 21:09:37 go: finding github.com/go-logfmt/logfmt v0.4.0 21:09:37 go: finding github.com/go-playground/assert/v2 v2.0.1 21:09:37 go: finding github.com/go-playground/locales v0.13.0 21:09:37 go: finding github.com/go-playground/universal-translator v0.17.0 21:09:37 go: finding github.com/go-playground/validator/v10 v10.3.0 21:09:37 go: finding github.com/go-redis/redis/v7 v7.2.0 21:09:37 go: finding github.com/go-stack/stack v1.8.0 21:09:37 go: finding github.com/golang/protobuf v1.3.2 21:09:37 go: finding github.com/golang/snappy v0.0.1 21:09:37 go: finding github.com/gomodule/redigo v2.0.0+incompatible 21:09:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:09:37 go: finding github.com/google/go-cmp v0.4.0 21:09:37 go: finding github.com/google/uuid v1.1.1 21:09:37 go: finding github.com/gorilla/mux v1.8.0 21:09:37 + 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 . 21:09:37 go: finding github.com/hashicorp/consul/api v1.1.0 21:09:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:09:37 go: finding github.com/hashicorp/errwrap v1.0.0 21:09:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:09:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:09:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:09:37 go: finding github.com/hashicorp/go-multierror v1.0.0 21:09:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:09:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:09:37 go: finding github.com/hashicorp/go-syslog v1.0.0 21:09:37 go: finding github.com/hashicorp/go-uuid v1.0.1 21:09:37 go: finding github.com/hashicorp/go.net v0.0.1 21:09:38 go: finding github.com/hashicorp/golang-lru v0.5.0 21:09:38 go: finding github.com/hashicorp/logutils v1.0.0 21:09:38 go: finding github.com/hashicorp/mdns v1.0.0 21:09:38 go: finding github.com/hashicorp/memberlist v0.1.3 21:09:38 go: finding github.com/hashicorp/serf v0.8.2 21:09:38 go: finding github.com/hpcloud/tail v1.0.0 21:09:38 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:09:38 go: finding github.com/kr/pretty v0.1.0 21:09:38 go: finding github.com/kr/pty v1.1.1 21:09:38 go: finding github.com/kr/text v0.1.0 21:09:38 go: finding github.com/leodido/go-urn v1.2.0 21:09:38 go: finding github.com/mattn/go-colorable v0.0.9 21:09:38 go: finding github.com/mattn/go-isatty v0.0.3 21:09:38 go: finding github.com/miekg/dns v1.0.14 21:09:38 go: finding github.com/mitchellh/cli v1.0.0 21:09:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:09:38 go: finding github.com/mitchellh/copystructure v1.0.0 21:09:38 go: finding github.com/mitchellh/go-homedir v1.0.0 21:09:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:09:38 go: finding github.com/mitchellh/gox v0.4.0 21:09:38 go: finding github.com/mitchellh/iochan v1.0.0 21:09:38 go: finding github.com/mitchellh/mapstructure v1.1.2 21:09:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:09:38 go: finding github.com/onsi/ginkgo v1.10.1 21:09:38 Sending build context to Docker daemon 37.13MB 21:09:38 Step 1/8 : ARG BASE=golang:1.13-alpine 21:09:38 Step 2/8 : FROM ${BASE} 21:09:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:09:38 df20fa9351a1: Pulling fs layer 21:09:38 ed8968b2872e: Pulling fs layer 21:09:38 a92cc7c5fd73: Pulling fs layer 21:09:38 2dd03ba5bac4: Pulling fs layer 21:09:38 1e091d79d1de: Pulling fs layer 21:09:38 481702a1767f: Pulling fs layer 21:09:38 f64a6f60c768: Pulling fs layer 21:09:38 e78d2573fc39: Pulling fs layer 21:09:38 e876d2f968b6: Pulling fs layer 21:09:38 ce8a83651883: Pulling fs layer 21:09:38 07967f4d0e4b: Pulling fs layer 21:09:38 2dd03ba5bac4: Waiting 21:09:38 1e091d79d1de: Waiting 21:09:38 481702a1767f: Waiting 21:09:38 f64a6f60c768: Waiting 21:09:38 e78d2573fc39: Waiting 21:09:38 e876d2f968b6: Waiting 21:09:38 ce8a83651883: Waiting 21:09:38 07967f4d0e4b: Waiting 21:09:38 a92cc7c5fd73: Verifying Checksum 21:09:38 a92cc7c5fd73: Download complete 21:09:38 ed8968b2872e: Verifying Checksum 21:09:38 ed8968b2872e: Download complete 21:09:38 1e091d79d1de: Download complete 21:09:38 go: finding github.com/onsi/gomega v1.7.0 21:09:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:09:38 go: finding github.com/pebbe/zmq4 v1.0.0 21:09:38 go: finding github.com/pelletier/go-toml v1.2.0 21:09:38 go: finding github.com/pkg/errors v0.8.1 21:09:38 go: finding github.com/pmezard/go-difflib v1.0.0 21:09:38 go: finding github.com/posener/complete v1.1.1 21:09:38 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:09:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:09:38 go: finding github.com/stretchr/objx v0.2.0 21:09:38 go: finding github.com/stretchr/testify v1.6.1 21:09:38 go: finding github.com/tidwall/pretty v1.0.1 21:09:38 481702a1767f: Verifying Checksum 21:09:38 481702a1767f: Download complete 21:09:38 df20fa9351a1: Verifying Checksum 21:09:38 df20fa9351a1: Download complete 21:09:38 go: finding github.com/ugorji/go v1.1.4 21:09:38 go: finding github.com/x448/float16 v0.8.4 21:09:38 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 21:09:38 go: finding github.com/xdg/stringprep v1.0.0 21:09:38 go: finding go.mongodb.org/mongo-driver v1.1.1 21:09:38 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 21:09:38 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 21:09:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:09:38 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 21:09:38 go: finding golang.org/x/text v0.3.2 21:09:38 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 21:09:39 df20fa9351a1: Pull complete 21:09:39 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 21:09:39 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:09:39 go: finding gopkg.in/fsnotify.v1 v1.4.7 21:09:39 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:09:39 go: finding gopkg.in/yaml.v2 v2.2.8 21:09:39 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:09:39 ed8968b2872e: Pull complete 21:09:39 a92cc7c5fd73: Pull complete 21:09:44 f64a6f60c768: Verifying Checksum 21:09:44 f64a6f60c768: Download complete 21:09:44 e876d2f968b6: Verifying Checksum 21:09:44 e876d2f968b6: Download complete 21:09:46 ce8a83651883: Verifying Checksum 21:09:46 ce8a83651883: Download complete 21:09:46 07967f4d0e4b: Verifying Checksum 21:09:46 07967f4d0e4b: Download complete 21:09:47 e78d2573fc39: Verifying Checksum 21:09:47 e78d2573fc39: Download complete 21:09:48 2dd03ba5bac4: Verifying Checksum 21:09:48 2dd03ba5bac4: Download complete 21:09:56 2dd03ba5bac4: Pull complete 21:09:57 1e091d79d1de: Pull complete 21:09:57 481702a1767f: Pull complete 21:10:01 Removing intermediate container a51bdee5e625 21:10:01 ---> 0790cb110a13 21:10:01 Successfully built 0790cb110a13 21:10:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:10:02 + docker inspect -f . ci-base-image-arm64 21:10:02 . [Pipeline] withDockerContainer 21:10:02 prd-ubuntu18.04-docker-arm64-4c-16g-1990 does not seem to be running inside a container 21:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 21:10:03 f64a6f60c768: Pull complete 21:10:04 $ docker top d385ea564a24d7d0a195f75d6f3d957a1deceed88a1db44466e0a106fffc0912 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:06 + go version 21:10:06 go version go1.13.13 linux/arm64 [Pipeline] sh 21:10:07 e78d2573fc39: Pull complete 21:10:07 e876d2f968b6: Pull complete 21:10:07 + make test 21:10:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:10:08 ce8a83651883: Pull complete 21:10:08 07967f4d0e4b: Pull complete 21:10:08 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 21:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:10:08 ---> 5d7c900382c6 21:10:08 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:10:09 latest: Pulling from library/docker 21:10:09 df20fa9351a1: Already exists 21:10:09 25ad7478873d: Pulling fs layer 21:10:09 4684f6177b5d: Pulling fs layer 21:10:09 46e300cec669: Pulling fs layer 21:10:09 63038576ad94: Pulling fs layer 21:10:09 0fdb76c4706c: Pulling fs layer 21:10:09 cb7edeffdfd5: Pulling fs layer 21:10:09 63038576ad94: Waiting 21:10:09 0fdb76c4706c: Waiting 21:10:09 cb7edeffdfd5: Waiting 21:10:09 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 21:10:09 4684f6177b5d: Verifying Checksum 21:10:09 4684f6177b5d: Download complete 21:10:09 25ad7478873d: Download complete 21:10:09 63038576ad94: Verifying Checksum 21:10:09 63038576ad94: Download complete 21:10:09 0fdb76c4706c: Verifying Checksum 21:10:09 0fdb76c4706c: Download complete 21:10:09 25ad7478873d: Pull complete 21:10:09 4684f6177b5d: Pull complete 21:10:09 cb7edeffdfd5: Verifying Checksum 21:10:09 cb7edeffdfd5: Download complete 21:10:11 46e300cec669: Verifying Checksum 21:10:11 46e300cec669: Download complete 21:10:14 46e300cec669: Pull complete 21:10:14 63038576ad94: Pull complete 21:10:14 0fdb76c4706c: Pull complete 21:10:14 cb7edeffdfd5: Pull complete 21:10:14 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 21:10:14 Status: Downloaded newer image for docker:latest 21:10:16 ---> 28c5f60f34e1 21:10:16 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:10:16 ---> Running in d80354dafe6c 21:10:16 Removing intermediate container d80354dafe6c 21:10:16 ---> 1c985456e015 21:10:16 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:10:16 ---> Running in 32f97dc37e4b 21:10:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:10:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:10:18 (1/5) Installing libsodium (1.0.18-r0) 21:10:18 (2/5) Installing libzmq (4.3.3-r0) 21:10:18 (3/5) Installing pkgconf (1.7.2-r0) 21:10:19 (4/5) Installing libsodium-dev (1.0.18-r0) 21:10:19 (5/5) Installing zeromq-dev (4.3.3-r0) 21:10:19 Executing busybox-1.31.1-r16.trigger 21:10:19 OK: 167 MiB in 44 packages 21:10:20 Removing intermediate container 32f97dc37e4b 21:10:20 ---> f940f1014072 21:10:20 Step 6/8 : WORKDIR /build 21:10:20 ---> Running in bd14f4129edf 21:10:20 Removing intermediate container bd14f4129edf 21:10:20 ---> a82badcb67e7 21:10:20 Step 7/8 : COPY go.mod . 21:10:20 ---> 06188f5107af 21:10:20 Step 8/8 : RUN go mod download 21:10:20 ---> Running in f43acbf291b4 21:10:23 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:10:23 go: finding github.com/BurntSushi/toml v0.3.1 21:10:23 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:10:23 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:10:23 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:10:23 go: finding github.com/bgentry/speakeasy v0.1.0 21:10:23 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:10:23 go: finding github.com/davecgh/go-spew v1.1.1 21:10:23 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:10:23 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 21:10:23 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 21:10:23 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:10:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.75 21:10:23 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.21 21:10:23 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 21:10:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.19 21:10:23 go: finding github.com/fatih/color v1.7.0 21:10:23 go: finding github.com/fsnotify/fsnotify v1.4.7 21:10:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:10:23 go: finding github.com/go-kit/kit v0.8.0 21:10:23 go: finding github.com/go-logfmt/logfmt v0.4.0 21:10:23 go: finding github.com/go-playground/assert/v2 v2.0.1 21:10:23 go: finding github.com/go-playground/locales v0.13.0 21:10:23 go: finding github.com/go-playground/universal-translator v0.17.0 21:10:23 go: finding github.com/go-playground/validator/v10 v10.3.0 21:10:23 go: finding github.com/go-redis/redis/v7 v7.2.0 21:10:24 go: finding github.com/go-stack/stack v1.8.0 21:10:24 go: finding github.com/golang/protobuf v1.3.2 21:10:24 go: finding github.com/golang/snappy v0.0.1 21:10:24 go: finding github.com/gomodule/redigo v2.0.0+incompatible 21:10:24 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:10:24 go: finding github.com/google/go-cmp v0.4.0 21:10:24 go: finding github.com/google/uuid v1.1.1 21:10:24 go: finding github.com/gorilla/mux v1.8.0 21:10:24 go: finding github.com/hashicorp/consul/api v1.1.0 21:10:24 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:10:24 go: finding github.com/hashicorp/errwrap v1.0.0 21:10:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:10:24 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:10:24 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:10:24 go: finding github.com/hashicorp/go-multierror v1.0.0 21:10:24 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:10:24 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:10:24 go: finding github.com/hashicorp/go-syslog v1.0.0 21:10:24 go: finding github.com/hashicorp/go-uuid v1.0.1 21:10:24 go: finding github.com/hashicorp/go.net v0.0.1 21:10:24 go: finding github.com/hashicorp/golang-lru v0.5.0 21:10:24 go: finding github.com/hashicorp/logutils v1.0.0 21:10:24 go: finding github.com/hashicorp/mdns v1.0.0 21:10:24 go: finding github.com/hashicorp/memberlist v0.1.3 21:10:24 go: finding github.com/hashicorp/serf v0.8.2 21:10:24 go: finding github.com/hpcloud/tail v1.0.0 21:10:24 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:10:24 go: finding github.com/kr/pretty v0.1.0 21:10:24 go: finding github.com/kr/pty v1.1.1 21:10:24 go: finding github.com/kr/text v0.1.0 21:10:24 go: finding github.com/leodido/go-urn v1.2.0 21:10:24 go: finding github.com/mattn/go-colorable v0.0.9 21:10:24 go: finding github.com/mattn/go-isatty v0.0.3 21:10:24 go: finding github.com/miekg/dns v1.0.14 21:10:24 go: finding github.com/mitchellh/cli v1.0.0 21:10:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:10:24 go: finding github.com/mitchellh/copystructure v1.0.0 21:10:24 go: finding github.com/mitchellh/go-homedir v1.0.0 21:10:24 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:10:24 go: finding github.com/mitchellh/gox v0.4.0 21:10:24 go: finding github.com/mitchellh/iochan v1.0.0 21:10:24 go: finding github.com/mitchellh/mapstructure v1.1.2 21:10:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:10:24 go: finding github.com/onsi/ginkgo v1.10.1 21:10:25 go: finding github.com/onsi/gomega v1.7.0 21:10:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:10:25 go: finding github.com/pebbe/zmq4 v1.0.0 21:10:25 go: finding github.com/pelletier/go-toml v1.2.0 21:10:25 go: finding github.com/pkg/errors v0.8.1 21:10:25 go: finding github.com/pmezard/go-difflib v1.0.0 21:10:25 go: finding github.com/posener/complete v1.1.1 21:10:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:10:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:10:25 go: finding github.com/stretchr/objx v0.2.0 21:10:25 go: finding github.com/stretchr/testify v1.6.1 21:10:25 go: finding github.com/tidwall/pretty v1.0.1 21:10:25 go: finding github.com/ugorji/go v1.1.4 21:10:25 go: finding github.com/x448/float16 v0.8.4 21:10:25 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 21:10:25 go: finding github.com/xdg/stringprep v1.0.0 21:10:25 go: finding go.mongodb.org/mongo-driver v1.1.1 21:10:25 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 21:10:25 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 21:10:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:10:25 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 21:10:25 go: finding golang.org/x/text v0.3.2 21:10:25 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 21:10:25 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 21:10:25 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:10:25 go: finding gopkg.in/fsnotify.v1 v1.4.7 21:10:25 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:10:25 go: finding gopkg.in/yaml.v2 v2.2.8 21:10:25 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:10:31 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.094s coverage: 86.2% of statements 21:10:52 Removing intermediate container f43acbf291b4 21:10:52 ---> b6b13bc5c102 21:10:52 Successfully built b6b13bc5c102 21:10:52 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 21:10:53 + docker inspect -f . ci-base-image-x86_64 21:10:54 . [Pipeline] withDockerContainer 21:10:54 prd-centos7-docker-4c-2g-1991 does not seem to be running inside a container 21:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:55 $ docker top e6b50347c6bae386682dd9cc7f1ddfecbf52ef49695ce25018cff06b1ceccac4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:55 + go version 21:10:56 go version go1.13.13 linux/amd64 [Pipeline] sh 21:10:56 + make test 21:10:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:10:59 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 21:11:09 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.124s coverage: 86.2% of statements 21:11:10 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.069s coverage: 56.1% of statements 21:11:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:11:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:11:10 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.120s coverage: 53.5% of statements 21:11:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:11:10 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.413s coverage: 69.1% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.711s coverage: 73.2% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.019s coverage: 100.0% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.101s coverage: 100.0% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.017s coverage: 100.0% of statements 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.021s coverage: 100.0% of statements 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.017s coverage: 96.6% of statements 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.018s coverage: 97.7% of statements 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:11:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:11:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.029s coverage: 9.4% of statements 21:11:26 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.080s coverage: 75.0% of statements 21:11:26 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.038s coverage: 89.3% of statements 21:11:26 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.031s coverage: 88.9% of statements 21:11:26 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.154s coverage: 81.3% of statements 21:11:36 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.135s coverage: 56.1% of statements 21:11:36 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:11:36 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:11:36 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.061s coverage: 53.5% of statements 21:11:36 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:11:36 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.863s coverage: 69.1% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.606s coverage: 73.2% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.007s coverage: 100.0% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.161s coverage: 100.0% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.007s coverage: 100.0% of statements 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.145s coverage: 97.7% of statements 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:11:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.014s coverage: 9.4% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.055s coverage: 75.0% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.3% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.045s coverage: 88.9% of statements 21:11:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.132s coverage: 81.3% of statements 21:11:48 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.666s coverage: 70.9% of statements 21:11:48 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.018s coverage: 94.4% of statements 21:11:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:11:58 # github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 21:11:58 pkg/transforms/mqtt.go:113:14: MQTTSend passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:11:58 pkg/transforms/mqtt.go:144:14: connectToBroker passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:11:58 pkg/transforms/mqtt.go:167:14: setRetryData passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:11:59 make: *** [Makefile:7: test] Error 2 [Pipeline] } 21:11:59 $ docker stop --time=1 d385ea564a24d7d0a195f75d6f3d957a1deceed88a1db44466e0a106fffc0912 21:12:02 $ docker rm -f d385ea564a24d7d0a195f75d6f3d957a1deceed88a1db44466e0a106fffc0912 [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] } 21:12:04 Failed in branch arm64 21:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.572s coverage: 70.9% of statements 21:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.023s coverage: 94.4% of statements 21:12:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:12:14 # github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 21:12:14 pkg/transforms/mqtt.go:113:14: MQTTSend passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:12:14 pkg/transforms/mqtt.go:144:14: connectToBroker passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:12:14 pkg/transforms/mqtt.go:167:14: setRetryData passes lock by value: github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.MQTTSender contains sync.Mutex 21:12:15 make: *** [Makefile:7: test] Error 2 [Pipeline] } 21:12:15 $ docker stop --time=1 e6b50347c6bae386682dd9cc7f1ddfecbf52ef49695ce25018cff06b1ceccac4 21:12:16 $ docker rm -f e6b50347c6bae386682dd9cc7f1ddfecbf52ef49695ce25018cff06b1ceccac4 [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] } 21:12:18 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 21:12:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:21 ---> package-listing.sh 21:12:21 ++ facter osfamily 21:12:21 ++ tr '[:upper:]' '[:lower:]' 21:12:21 + OS_FAMILY=redhat 21:12:21 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-474 21:12:21 + START_PACKAGES=/tmp/packages_start.txt 21:12:21 + END_PACKAGES=/tmp/packages_end.txt 21:12:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:21 + PACKAGES=/tmp/packages_start.txt 21:12:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-474 ']' 21:12:21 + PACKAGES=/tmp/packages_end.txt 21:12:21 + case "${OS_FAMILY}" in 21:12:21 + rpm -qa 21:12:21 + sort 21:12:25 + '[' -f /tmp/packages_start.txt ']' 21:12:25 + '[' -f /tmp/packages_end.txt ']' 21:12:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:25 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-474 ']' 21:12:25 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-474/archives/ 21:12:25 + 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 21:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:12:26 21:12:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:12:27 alpine: Pulling from edgex-lftools-log-publisher 21:12:27 df20fa9351a1: Pulling fs layer 21:12:27 36b3adc4ff6f: Pulling fs layer 21:12:27 8ad3a11d3b57: Pulling fs layer 21:12:27 46f8f816bc3b: Pulling fs layer 21:12:27 0dadc02b9964: Pulling fs layer 21:12:27 ce6a7cf60c04: Pulling fs layer 21:12:27 7a184a31f384: Pulling fs layer 21:12:27 0879bd2ef858: Pulling fs layer 21:12:27 46f8f816bc3b: Waiting 21:12:27 0dadc02b9964: Waiting 21:12:27 ce6a7cf60c04: Waiting 21:12:27 7a184a31f384: Waiting 21:12:27 0879bd2ef858: Waiting 21:12:27 36b3adc4ff6f: Verifying Checksum 21:12:27 36b3adc4ff6f: Download complete 21:12:27 46f8f816bc3b: Verifying Checksum 21:12:27 46f8f816bc3b: Download complete 21:12:27 df20fa9351a1: Verifying Checksum 21:12:27 df20fa9351a1: Download complete 21:12:27 ce6a7cf60c04: Verifying Checksum 21:12:27 ce6a7cf60c04: Download complete 21:12:27 0dadc02b9964: Verifying Checksum 21:12:27 0dadc02b9964: Download complete 21:12:27 7a184a31f384: Verifying Checksum 21:12:27 7a184a31f384: Download complete 21:12:27 8ad3a11d3b57: Verifying Checksum 21:12:27 8ad3a11d3b57: Download complete 21:12:27 df20fa9351a1: Pull complete 21:12:27 36b3adc4ff6f: Pull complete 21:12:27 0879bd2ef858: Verifying Checksum 21:12:27 0879bd2ef858: Download complete 21:12:28 8ad3a11d3b57: Pull complete 21:12:28 46f8f816bc3b: Pull complete 21:12:29 0dadc02b9964: Pull complete 21:12:29 ce6a7cf60c04: Pull complete 21:12:29 7a184a31f384: Pull complete 21:12:31 0879bd2ef858: Pull complete 21:12:31 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 21:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:12:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:12:31 prd-centos7-docker-4c-2g-1989 does not seem to be running inside a container 21:12:31 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:12:34 $ docker top f87916ae6a88993f588694257bc2af0cf603bcaaa4aa75d952a1cf1b75c571e8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:35 + mkdir -p /var/log/sa [Pipeline] sh 21:12:35 + ls /var/log/sa-host 21:12:35 + sadf -c /var/log/sa-host/sa05 21:12:35 file_magic: OK 21:12:35 HZ: Using current value: 100 21:12:35 file_header: OK 21:12:35 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 21:12:35 Statistics: 21:12:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:12:35 File successfully converted to sysstat format version 12.2.1 21:12:35 + sadf -c /var/log/sa-host/sa09 21:12:35 file_magic: OK 21:12:35 HZ: Using current value: 100 21:12:35 file_header: OK 21:12:35 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 21:12:35 Statistics: 21:12:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:12:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:35 provisioning config files... 21:12:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-474@tmp/config889895521260203374tmp [Pipeline] { [Pipeline] echo 21:12:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:35 ---> create-netrc.sh [Pipeline] echo 21:12:35 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:36 ---> logs-deploy.sh 21:12:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-474/2 21:12:36 INFO: archiving workspace using pattern(s): 21:12:37 Archives upload complete. 21:12:37 INFO: archiving logs to Nexus