Pull request #482 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from daec9a746d24fc144b071f904787d5dbf5adb208+e35ffebebb1e4787f82a73d0795a567a7eccbe33 (45a2cab427778008cdaef2208c84491143dac0b9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-258’ is offline; ‘prd-centos7-docker-4c-2g-259’ is offline Running on prd-centos7-docker-4c-2g-261 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-482 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit e35ffebebb1e4787f82a73d0795a567a7eccbe33 into PR head commit daec9a746d24fc144b071f904787d5dbf5adb208 Merge succeeded, producing daec9a746d24fc144b071f904787d5dbf5adb208 Checking out Revision daec9a746d24fc144b071f904787d5dbf5adb208 (PR-482) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # 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 e35ffebebb1e4787f82a73d0795a567a7eccbe33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. > git rev-list --no-walk 63f98b0b529679762573dc0697f6fa7a41d234f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T18:33:38.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T18:33:38.345Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T18:33:38.433Z] ========================================================= [2020-09-17T18:33:38.433Z] EdgeX Global Pipelines Version Info [2020-09-17T18:33:38.433Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:33:39.850Z] ------------------- [2020-09-17T18:33:39.850Z] stable info: [2020-09-17T18:33:39.850Z] ------------------- [2020-09-17T18:33:39.850Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T18:33:39.850Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T18:33:39.850Z] Message: update stable to v1.0.122 [2020-09-17T18:33:40.793Z] ------------------- [2020-09-17T18:33:40.793Z] experimental info: [2020-09-17T18:33:40.793Z] ------------------- [2020-09-17T18:33:40.793Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T18:33:40.793Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-17T18:33:40.793Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T18:33:41.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-17T18:33:41.263Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-17T18:33:41.356Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T18:33:41.484Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T18:33:41.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T18:33:41.670Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T18:33:41.819Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T18:33:41.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T18:33:42.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T18:33:42.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T18:33:42.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T18:33:42.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-17T18:33:42.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T18:33:42.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T18:33:42.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:33:42.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:33:42.817Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:33:42.923Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T18:33:43.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T18:33:43.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T18:33:43.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-17T18:33:43.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-17T18:33:43.438Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-482 [Pipeline] echo [2020-09-17T18:33:43.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-482 [Pipeline] echo [2020-09-17T18:33:43.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-482 [Pipeline] echo [2020-09-17T18:33:43.768Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daec9a746d24fc144b071f904787d5dbf5adb208 [Pipeline] echo [2020-09-17T18:33:43.857Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daec9a7 [Pipeline] echo [2020-09-17T18:33:43.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T18:33:44.535Z] + git log --format=format:%s -1 daec9a746d24fc144b071f904787d5dbf5adb208 [Pipeline] echo [2020-09-17T18:33:44.603Z] GIT_COMMIT: daec9a746d24fc144b071f904787d5dbf5adb208, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-09-17T18:33:44.648Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:33:45.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:33:45.489Z] [2020-09-17T18:33:45.489Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:33:45.843Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:33:45.844Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T18:33:45.844Z] 31603596830f: Pulling fs layer [2020-09-17T18:33:45.844Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T18:33:45.844Z] 6ca5941a6612: Pulling fs layer [2020-09-17T18:33:45.844Z] ecc8261a40a4: Pulling fs layer [2020-09-17T18:33:45.844Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T18:33:45.844Z] 2a8b12db71e7: Download complete [2020-09-17T18:33:46.108Z] 31603596830f: Verifying Checksum [2020-09-17T18:33:46.109Z] 31603596830f: Download complete [2020-09-17T18:33:46.109Z] ecc8261a40a4: Verifying Checksum [2020-09-17T18:33:46.109Z] ecc8261a40a4: Download complete [2020-09-17T18:33:46.109Z] 6ca5941a6612: Verifying Checksum [2020-09-17T18:33:46.109Z] 6ca5941a6612: Download complete [2020-09-17T18:33:46.376Z] 31603596830f: Pull complete [2020-09-17T18:33:46.376Z] 2a8b12db71e7: Pull complete [2020-09-17T18:33:47.326Z] 6ca5941a6612: Pull complete [2020-09-17T18:33:47.326Z] ecc8261a40a4: Pull complete [2020-09-17T18:33:47.326Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T18:33:47.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T18:33:47.326Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T18:33:47.423Z] prd-centos7-docker-4c-2g-261 does not seem to be running inside a container [2020-09-17T18:33:47.467Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T18:33:49.508Z] $ docker top f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T18:33:49.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T18:33:49.827Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T18:33:50.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T18:33:50.048Z] $ docker exec f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac ssh-agent [2020-09-17T18:33:50.194Z] SSH_AUTH_SOCK=/tmp/ssh-aK5qv5wB0sQp/agent.11 [2020-09-17T18:33:50.194Z] SSH_AGENT_PID=17 [2020-09-17T18:33:50.205Z] Running ssh-add (command line suppressed) [2020-09-17T18:33:50.321Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_423757739647623208.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_423757739647623208.key) [2020-09-17T18:33:50.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T18:33:50.733Z] + git describe --exact-match --tags HEAD [2020-09-17T18:33:50.733Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T18:33:50.754Z] $ docker exec --env ******** --env ******** f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac ssh-agent -k [2020-09-17T18:33:50.862Z] unset SSH_AUTH_SOCK; [2020-09-17T18:33:50.863Z] unset SSH_AGENT_PID; [2020-09-17T18:33:50.863Z] echo Agent pid 17 killed; [2020-09-17T18:33:50.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T18:33:51.075Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T18:33:51.075Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T18:33:51.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T18:33:51.193Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T18:33:51.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T18:33:51.352Z] $ docker exec f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac ssh-agent [2020-09-17T18:33:51.499Z] SSH_AUTH_SOCK=/tmp/ssh-pP4mDtBSV4x1/agent.45 [2020-09-17T18:33:51.499Z] SSH_AGENT_PID=50 [2020-09-17T18:33:51.505Z] Running ssh-add (command line suppressed) [2020-09-17T18:33:51.614Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_5458982989010571888.key (/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/private_key_5458982989010571888.key) [2020-09-17T18:33:51.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T18:33:52.005Z] + git semver init [2020-09-17T18:33:52.005Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T18:33:52.005Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.git [2020-09-17T18:33:52.005Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-17T18:33:52.005Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T18:33:52.005Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T18:33:52.005Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T18:33:52.005Z] # $SEMVER_BRANCH = PR-482 [2020-09-17T18:33:52.005Z] # $SEMVER_TEMP = /tmp/semver-335850115 [2020-09-17T18:33:52.005Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-17T18:33:54.568Z] # '/tmp/semver-335850115' -> '/w/workspace/ndry_app-functions-sdk-go_PR-482/.semver' [2020-09-17T18:33:54.568Z] # -> Force: false [2020-09-17T18:33:54.568Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-482/.semver [Pipeline] } [2020-09-17T18:33:54.579Z] $ docker exec --env ******** --env ******** f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac ssh-agent -k [2020-09-17T18:33:54.682Z] unset SSH_AUTH_SOCK; [2020-09-17T18:33:54.683Z] unset SSH_AGENT_PID; [2020-09-17T18:33:54.683Z] echo Agent pid 50 killed; [2020-09-17T18:33:54.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T18:33:55.204Z] + git semver [Pipeline] } [2020-09-17T18:33:55.221Z] $ docker stop --time=1 f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac [2020-09-17T18:33:56.652Z] $ docker rm -f f15ea5a965f4ce2d4dc459b5fe3e7b95401397b30dfa7b0ab214528d91489bac [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T18:33:59.057Z] Stashed 44 file(s) [Pipeline] echo [2020-09-17T18:33:59.060Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T18:33:59.145Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-17T18:34:14.612Z] Still waiting to schedule task [2020-09-17T18:34:14.613Z] ‘prd-centos7-docker-4c-2g-260’ is offline; ‘prd-centos7-docker-4c-2g-266’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-262’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-17T18:34:14.614Z] Still waiting to schedule task [2020-09-17T18:34:14.614Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-262’ is offline [2020-09-17T18:36:08.828Z] Running on prd-centos7-docker-4c-2g-268 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-17T18:36:08.876Z] Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-17T18:36:12.449Z] using credential edgex-jenkins-ssh [2020-09-17T18:36:12.502Z] Cloning the remote Git repository [2020-09-17T18:36:12.503Z] Cloning with configured refspecs honoured and without tags [2020-09-17T18:36:12.541Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:12.618Z] > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 [2020-09-17T18:36:12.935Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:12.936Z] > git --version # timeout=10 [2020-09-17T18:36:12.943Z] > git --version # 'git version 2.16.5' [2020-09-17T18:36:12.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:12.973Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:14.361Z] Fetching without tags [2020-09-17T18:36:14.755Z] Merging remotes/origin/master commit e35ffebebb1e4787f82a73d0795a567a7eccbe33 into PR head commit daec9a746d24fc144b071f904787d5dbf5adb208 [2020-09-17T18:36:14.878Z] Merge succeeded, producing daec9a746d24fc144b071f904787d5dbf5adb208 [2020-09-17T18:36:14.879Z] Checking out Revision daec9a746d24fc144b071f904787d5dbf5adb208 (PR-482) [2020-09-17T18:36:14.328Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:36:14.335Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-17T18:36:14.344Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:14.355Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:36:14.368Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:14.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:14.373Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:14.766Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:36:14.772Z] > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 [2020-09-17T18:36:14.842Z] > git remote # timeout=10 [2020-09-17T18:36:14.849Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T18:36:14.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:14.861Z] > git merge e35ffebebb1e4787f82a73d0795a567a7eccbe33 # timeout=10 [2020-09-17T18:36:14.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T18:36:14.884Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:36:14.892Z] > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 [2020-09-17T18:36:18.522Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T18:36:20.866Z] ========================================================= [2020-09-17T18:36:20.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T18:36:20.866Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:36:21.684Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-17T18:36:22.268Z] Sending build context to Docker daemon 37.18MB [2020-09-17T18:36:22.268Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T18:36:22.268Z] Step 2/8 : FROM ${BASE} [2020-09-17T18:36:22.268Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T18:36:22.268Z] df20fa9351a1: Pulling fs layer [2020-09-17T18:36:22.268Z] ed8968b2872e: Pulling fs layer [2020-09-17T18:36:22.268Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T18:36:22.268Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T18:36:22.268Z] e73272ec9a57: Pulling fs layer [2020-09-17T18:36:22.268Z] 1e910a182e73: Pulling fs layer [2020-09-17T18:36:22.268Z] 4e634b169226: Pulling fs layer [2020-09-17T18:36:22.268Z] 1e910a182e73: Waiting [2020-09-17T18:36:22.268Z] e871e8e8d7a9: Waiting [2020-09-17T18:36:22.268Z] 4e634b169226: Waiting [2020-09-17T18:36:22.268Z] e73272ec9a57: Waiting [2020-09-17T18:36:22.531Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T18:36:22.531Z] a92cc7c5fd73: Download complete [2020-09-17T18:36:22.531Z] ed8968b2872e: Download complete [2020-09-17T18:36:22.531Z] e73272ec9a57: Verifying Checksum [2020-09-17T18:36:22.531Z] e73272ec9a57: Download complete [2020-09-17T18:36:22.531Z] 1e910a182e73: Verifying Checksum [2020-09-17T18:36:22.531Z] 1e910a182e73: Download complete [2020-09-17T18:36:22.531Z] df20fa9351a1: Verifying Checksum [2020-09-17T18:36:22.531Z] df20fa9351a1: Download complete [2020-09-17T18:36:22.800Z] df20fa9351a1: Pull complete [2020-09-17T18:36:23.061Z] ed8968b2872e: Pull complete [2020-09-17T18:36:23.061Z] a92cc7c5fd73: Pull complete [2020-09-17T18:36:24.466Z] 4e634b169226: Verifying Checksum [2020-09-17T18:36:24.466Z] 4e634b169226: Download complete [2020-09-17T18:36:25.442Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T18:36:25.442Z] e871e8e8d7a9: Download complete [2020-09-17T18:36:30.796Z] e871e8e8d7a9: Pull complete [2020-09-17T18:36:30.796Z] e73272ec9a57: Pull complete [2020-09-17T18:36:31.062Z] 1e910a182e73: Pull complete [2020-09-17T18:36:41.105Z] 4e634b169226: Pull complete [2020-09-17T18:36:41.105Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T18:36:41.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T18:36:41.105Z] ---> f7629b54cfaa [2020-09-17T18:36:41.105Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-17T18:36:41.105Z] latest: Pulling from library/docker [2020-09-17T18:36:41.105Z] df20fa9351a1: Already exists [2020-09-17T18:36:41.105Z] 25ad7478873d: Pulling fs layer [2020-09-17T18:36:41.105Z] 4684f6177b5d: Pulling fs layer [2020-09-17T18:36:41.105Z] 46e300cec669: Pulling fs layer [2020-09-17T18:36:41.105Z] 63038576ad94: Pulling fs layer [2020-09-17T18:36:41.105Z] 0fdb76c4706c: Pulling fs layer [2020-09-17T18:36:41.105Z] cb7edeffdfd5: Pulling fs layer [2020-09-17T18:36:41.105Z] 63038576ad94: Waiting [2020-09-17T18:36:41.105Z] 0fdb76c4706c: Waiting [2020-09-17T18:36:41.105Z] cb7edeffdfd5: Waiting [2020-09-17T18:36:41.105Z] 4684f6177b5d: Verifying Checksum [2020-09-17T18:36:41.105Z] 4684f6177b5d: Download complete [2020-09-17T18:36:41.105Z] 25ad7478873d: Verifying Checksum [2020-09-17T18:36:41.105Z] 25ad7478873d: Download complete [2020-09-17T18:36:41.105Z] 0fdb76c4706c: Verifying Checksum [2020-09-17T18:36:41.105Z] 0fdb76c4706c: Download complete [2020-09-17T18:36:41.105Z] 63038576ad94: Verifying Checksum [2020-09-17T18:36:41.105Z] 63038576ad94: Download complete [2020-09-17T18:36:41.105Z] cb7edeffdfd5: Verifying Checksum [2020-09-17T18:36:41.105Z] cb7edeffdfd5: Download complete [2020-09-17T18:36:41.105Z] 25ad7478873d: Pull complete [2020-09-17T18:36:41.105Z] 4684f6177b5d: Pull complete [2020-09-17T18:36:41.371Z] 46e300cec669: Download complete [2020-09-17T18:36:43.956Z] 46e300cec669: Pull complete [2020-09-17T18:36:43.956Z] 63038576ad94: Pull complete [2020-09-17T18:36:43.956Z] 0fdb76c4706c: Pull complete [2020-09-17T18:36:44.236Z] cb7edeffdfd5: Pull complete [2020-09-17T18:36:44.236Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T18:36:44.236Z] Status: Downloaded newer image for docker:latest [2020-09-17T18:36:45.165Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-267 in /w/workspace/ndry_app-functions-sdk-go_PR-482 [Pipeline] { [Pipeline] ws [2020-09-17T18:36:45.221Z] Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-17T18:36:46.178Z] ---> 9279158c6759 [2020-09-17T18:36:46.178Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T18:36:46.178Z] ---> Running in 51bf2e323cc1 [2020-09-17T18:36:46.178Z] Removing intermediate container 51bf2e323cc1 [2020-09-17T18:36:46.178Z] ---> c1ba8af711b6 [2020-09-17T18:36:46.178Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T18:36:46.178Z] ---> Running in 911d76fdc59b [2020-09-17T18:36:47.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T18:36:48.085Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T18:36:48.347Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T18:36:48.611Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T18:36:48.611Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T18:36:48.611Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T18:36:48.878Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T18:36:48.878Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T18:36:48.878Z] OK: 167 MiB in 44 packages [2020-09-17T18:36:49.465Z] Removing intermediate container 911d76fdc59b [2020-09-17T18:36:49.465Z] ---> 3f0cff1c35d2 [2020-09-17T18:36:49.465Z] Step 6/8 : WORKDIR /build [2020-09-17T18:36:49.465Z] ---> Running in be76b35bf8d4 [2020-09-17T18:36:49.728Z] Removing intermediate container be76b35bf8d4 [2020-09-17T18:36:49.728Z] ---> ea0c75923973 [2020-09-17T18:36:49.728Z] Step 7/8 : COPY go.mod . [2020-09-17T18:36:49.995Z] ---> 19b7558e4a27 [2020-09-17T18:36:49.995Z] Step 8/8 : RUN go mod download [2020-09-17T18:36:49.995Z] ---> Running in 6ef21b892c5e [2020-09-17T18:36:50.507Z] using credential edgex-jenkins-ssh [2020-09-17T18:36:50.680Z] Cloning the remote Git repository [2020-09-17T18:36:50.680Z] Cloning with configured refspecs honoured and without tags [2020-09-17T18:36:50.746Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:50.857Z] > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 [2020-09-17T18:36:50.929Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:50.930Z] > git --version # timeout=10 [2020-09-17T18:36:50.950Z] > git --version # 'git version 2.17.1' [2020-09-17T18:36:50.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:51.036Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:53.896Z] Fetching without tags [2020-09-17T18:36:53.820Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:36:53.839Z] > git config --add remote.origin.fetch +refs/pull/482/head:refs/remotes/origin/PR-482 # timeout=10 [2020-09-17T18:36:53.853Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:53.887Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-17T18:36:53.913Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-17T18:36:53.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:53.924Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/482/head:refs/remotes/origin/PR-482 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T18:36:54.641Z] Merging remotes/origin/master commit e35ffebebb1e4787f82a73d0795a567a7eccbe33 into PR head commit daec9a746d24fc144b071f904787d5dbf5adb208 [2020-09-17T18:36:54.879Z] Merge succeeded, producing daec9a746d24fc144b071f904787d5dbf5adb208 [2020-09-17T18:36:54.880Z] Checking out Revision daec9a746d24fc144b071f904787d5dbf5adb208 (PR-482) [2020-09-17T18:36:54.670Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:36:54.693Z] > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 [2020-09-17T18:36:54.802Z] > git remote # timeout=10 [2020-09-17T18:36:54.818Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T18:36:54.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T18:36:54.845Z] > git merge e35ffebebb1e4787f82a73d0795a567a7eccbe33 # timeout=10 [2020-09-17T18:36:54.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T18:36:54.895Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T18:36:54.905Z] > git checkout -f daec9a746d24fc144b071f904787d5dbf5adb208 # timeout=10 [2020-09-17T18:36:59.209Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T18:37:02.769Z] ========================================================= [2020-09-17T18:37:02.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T18:37:02.769Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:37:03.958Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-17T18:37:05.432Z] Sending build context to Docker daemon 37.17MB [2020-09-17T18:37:05.432Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T18:37:05.432Z] Step 2/8 : FROM ${BASE} [2020-09-17T18:37:05.432Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T18:37:05.432Z] b538f80385f9: Pulling fs layer [2020-09-17T18:37:05.432Z] 74f711af9a0d: Pulling fs layer [2020-09-17T18:37:05.432Z] 99f96fe45779: Pulling fs layer [2020-09-17T18:37:05.432Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T18:37:05.432Z] 45590311c82a: Pulling fs layer [2020-09-17T18:37:05.432Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T18:37:05.432Z] 209524e5b208: Pulling fs layer [2020-09-17T18:37:05.432Z] 8529a6b9a6be: Waiting [2020-09-17T18:37:05.432Z] 45590311c82a: Waiting [2020-09-17T18:37:05.432Z] 209524e5b208: Waiting [2020-09-17T18:37:05.432Z] 69ca0ff8b7b3: Waiting [2020-09-17T18:37:05.714Z] 99f96fe45779: Verifying Checksum [2020-09-17T18:37:05.714Z] 99f96fe45779: Download complete [2020-09-17T18:37:05.714Z] 74f711af9a0d: Verifying Checksum [2020-09-17T18:37:05.714Z] 74f711af9a0d: Download complete [2020-09-17T18:37:05.714Z] 45590311c82a: Verifying Checksum [2020-09-17T18:37:05.714Z] 45590311c82a: Download complete [2020-09-17T18:37:05.714Z] 69ca0ff8b7b3: Download complete [2020-09-17T18:37:05.714Z] b538f80385f9: Verifying Checksum [2020-09-17T18:37:05.714Z] b538f80385f9: Download complete [2020-09-17T18:37:06.313Z] b538f80385f9: Pull complete [2020-09-17T18:37:06.915Z] 74f711af9a0d: Pull complete [2020-09-17T18:37:07.519Z] 99f96fe45779: Pull complete [2020-09-17T18:37:08.132Z] 209524e5b208: Verifying Checksum [2020-09-17T18:37:08.132Z] 209524e5b208: Download complete [2020-09-17T18:37:09.126Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T18:37:09.126Z] 8529a6b9a6be: Download complete [2020-09-17T18:37:19.353Z] 8529a6b9a6be: Pull complete [2020-09-17T18:37:19.353Z] 45590311c82a: Pull complete [2020-09-17T18:37:19.632Z] 69ca0ff8b7b3: Pull complete [2020-09-17T18:37:22.218Z] Removing intermediate container 6ef21b892c5e [2020-09-17T18:37:22.218Z] ---> ca76545279ca [2020-09-17T18:37:22.218Z] Successfully built ca76545279ca [2020-09-17T18:37:22.218Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:37:22.717Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T18:37:23.010Z] . [2020-09-17T18:37:23.027Z] 209524e5b208: Pull complete [2020-09-17T18:37:23.027Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T18:37:23.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T18:37:23.027Z] ---> 5bddaf1c2fca [2020-09-17T18:37:23.027Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [Pipeline] withDockerContainer [2020-09-17T18:37:23.139Z] prd-centos7-docker-4c-2g-268 does not seem to be running inside a container [2020-09-17T18:37:23.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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-17T18:37:23.300Z] latest: Pulling from library/docker [2020-09-17T18:37:23.578Z] b538f80385f9: Already exists [2020-09-17T18:37:23.578Z] 259a493cd78d: Pulling fs layer [2020-09-17T18:37:23.578Z] b8e66b5100f5: Pulling fs layer [2020-09-17T18:37:23.578Z] 39dc9c94d07c: Pulling fs layer [2020-09-17T18:37:23.578Z] 551b823b3b82: Pulling fs layer [2020-09-17T18:37:23.578Z] 3c52a74df98c: Pulling fs layer [2020-09-17T18:37:23.578Z] 6c9b121b6998: Pulling fs layer [2020-09-17T18:37:23.578Z] 551b823b3b82: Waiting [2020-09-17T18:37:23.578Z] 3c52a74df98c: Waiting [2020-09-17T18:37:23.578Z] 6c9b121b6998: Waiting [2020-09-17T18:37:23.578Z] b8e66b5100f5: Verifying Checksum [2020-09-17T18:37:23.578Z] b8e66b5100f5: Download complete [2020-09-17T18:37:23.854Z] 259a493cd78d: Verifying Checksum [2020-09-17T18:37:23.854Z] 259a493cd78d: Download complete [2020-09-17T18:37:23.854Z] 551b823b3b82: Download complete [2020-09-17T18:37:23.854Z] 3c52a74df98c: Verifying Checksum [2020-09-17T18:37:23.854Z] 3c52a74df98c: Download complete [2020-09-17T18:37:24.030Z] $ docker top bdb68da229338be7d50cba3f7d0dfc54e9b31aad285245b33f73d17de586f801 -eo pid,comm [2020-09-17T18:37:24.133Z] 6c9b121b6998: Verifying Checksum [2020-09-17T18:37:24.133Z] 6c9b121b6998: Download complete [Pipeline] { [Pipeline] sh [2020-09-17T18:37:24.409Z] 259a493cd78d: Pull complete [2020-09-17T18:37:24.523Z] + go version [2020-09-17T18:37:24.523Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T18:37:24.539Z] $ docker stop --time=1 bdb68da229338be7d50cba3f7d0dfc54e9b31aad285245b33f73d17de586f801 [2020-09-17T18:37:25.009Z] b8e66b5100f5: Pull complete [2020-09-17T18:37:25.285Z] 39dc9c94d07c: Verifying Checksum [2020-09-17T18:37:25.285Z] 39dc9c94d07c: Download complete [2020-09-17T18:37:25.887Z] $ docker rm -f bdb68da229338be7d50cba3f7d0dfc54e9b31aad285245b33f73d17de586f801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:37:26.941Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T18:37:26.941Z] . [Pipeline] withDockerContainer [2020-09-17T18:37:27.037Z] prd-centos7-docker-4c-2g-268 does not seem to be running inside a container [2020-09-17T18:37:27.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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-17T18:37:27.727Z] $ docker top da4a6c81adff7900c04b4ba3724afc5c907eea6d060873e9fb759b47379feb1d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:37:28.259Z] + make test [2020-09-17T18:37:28.259Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T18:37:28.706Z] 39dc9c94d07c: Pull complete [2020-09-17T18:37:28.706Z] 551b823b3b82: Pull complete [2020-09-17T18:37:29.304Z] 3c52a74df98c: Pull complete [2020-09-17T18:37:29.578Z] 6c9b121b6998: Pull complete [2020-09-17T18:37:29.578Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-17T18:37:29.578Z] Status: Downloaded newer image for docker:latest [2020-09-17T18:37:29.668Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T18:37:36.297Z] ---> c9c55169e54d [2020-09-17T18:37:36.297Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T18:37:36.297Z] ---> Running in ab356dc1d10f [2020-09-17T18:37:36.297Z] Removing intermediate container ab356dc1d10f [2020-09-17T18:37:36.297Z] ---> 26ff08084509 [2020-09-17T18:37:36.297Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-17T18:37:36.297Z] ---> Running in c220f26d0537 [2020-09-17T18:37:36.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.131s coverage: 86.2% of statements [2020-09-17T18:37:38.273Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T18:37:38.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T18:37:40.303Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-17T18:37:40.303Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-17T18:37:40.575Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-17T18:37:40.853Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-17T18:37:40.853Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-17T18:37:40.853Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T18:37:41.128Z] OK: 144 MiB in 44 packages [2020-09-17T18:37:42.570Z] Removing intermediate container c220f26d0537 [2020-09-17T18:37:42.570Z] ---> 264c995601f5 [2020-09-17T18:37:42.570Z] Step 6/8 : WORKDIR /build [2020-09-17T18:37:42.570Z] ---> Running in 28c78dd506da [2020-09-17T18:37:42.846Z] Removing intermediate container 28c78dd506da [2020-09-17T18:37:42.846Z] ---> 1d8748d6ac66 [2020-09-17T18:37:42.846Z] Step 7/8 : COPY go.mod . [2020-09-17T18:37:43.832Z] ---> 17c59ff1a753 [2020-09-17T18:37:43.832Z] Step 8/8 : RUN go mod download [2020-09-17T18:37:43.832Z] ---> Running in ed59bc544eb4 [2020-09-17T18:37:54.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 56.1% of statements [2020-09-17T18:37:54.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T18:37:54.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T18:37:54.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.044s coverage: 53.5% of statements [2020-09-17T18:37:54.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T18:37:54.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.308s coverage: 69.1% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.500s coverage: 61.6% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.007s coverage: 100.0% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.080s coverage: 100.0% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T18:38:06.885Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.011s coverage: 9.4% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.001s coverage: 75.0% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-17T18:38:06.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.093s coverage: 80.0% of statements [2020-09-17T18:38:16.200Z] Removing intermediate container ed59bc544eb4 [2020-09-17T18:38:16.200Z] ---> 4207cd3c0e54 [2020-09-17T18:38:16.200Z] Successfully built 4207cd3c0e54 [2020-09-17T18:38:16.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:38:16.627Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T18:38:16.627Z] . [Pipeline] withDockerContainer [2020-09-17T18:38:16.879Z] prd-ubuntu18.04-docker-arm64-4c-16g-267 does not seem to be running inside a container [2020-09-17T18:38:16.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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-17T18:38:19.014Z] $ docker top de4b17c425bf863bae2459b67e2d3daf89096868a08cf4532a1f8fd781dd27b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:38:20.471Z] + go version [2020-09-17T18:38:20.471Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T18:38:20.499Z] $ docker stop --time=1 de4b17c425bf863bae2459b67e2d3daf89096868a08cf4532a1f8fd781dd27b1 [2020-09-17T18:38:22.500Z] $ docker rm -f de4b17c425bf863bae2459b67e2d3daf89096868a08cf4532a1f8fd781dd27b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:38:23.603Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T18:38:23.603Z] . [Pipeline] withDockerContainer [2020-09-17T18:38:23.894Z] prd-ubuntu18.04-docker-arm64-4c-16g-267 does not seem to be running inside a container [2020-09-17T18:38:24.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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-17T18:38:25.066Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 26.739s coverage: 71.6% of statements [2020-09-17T18:38:25.067Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-17T18:38:25.067Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T18:38:25.993Z] $ docker top 55e74a219e35fca24dce758f45b9e7b8fd8f78db760aaf65f28d03449f0be52a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:38:27.455Z] + make test [2020-09-17T18:38:27.455Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-17T18:38:28.441Z] gofmt -l . [2020-09-17T18:38:28.709Z] [ "`gofmt -l .`" = "" ] [2020-09-17T18:38:28.709Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T18:38:29.458Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-17T18:38:29.709Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T18:38:29.717Z] $ docker stop --time=1 da4a6c81adff7900c04b4ba3724afc5c907eea6d060873e9fb759b47379feb1d [2020-09-17T18:38:31.323Z] $ docker rm -f da4a6c81adff7900c04b4ba3724afc5c907eea6d060873e9fb759b47379feb1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-17T18:38:56.349Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.103s coverage: 86.2% of statements [2020-09-17T18:39:35.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 56.1% of statements [2020-09-17T18:39:35.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-17T18:39:35.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-17T18:39:35.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.064s coverage: 53.5% of statements [2020-09-17T18:39:35.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-17T18:39:35.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.387s coverage: 69.1% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.504s coverage: 61.6% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.217s coverage: 100.0% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-17T18:39:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-17T18:39:45.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-17T18:39:47.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.204s coverage: 75.0% of statements [2020-09-17T18:39:47.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements [2020-09-17T18:39:47.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-09-17T18:39:47.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.136s coverage: 80.0% of statements [2020-09-17T18:40:14.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.572s coverage: 71.6% of statements [2020-09-17T18:40:14.352Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.022s coverage: 94.4% of statements [2020-09-17T18:40:14.352Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-17T18:40:24.539Z] gofmt -l . [2020-09-17T18:40:24.539Z] [ "`gofmt -l .`" = "" ] [2020-09-17T18:40:24.539Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T18:40:25.155Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T18:40:25.976Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T18:40:25.985Z] $ docker stop --time=1 55e74a219e35fca24dce758f45b9e7b8fd8f78db760aaf65f28d03449f0be52a [2020-09-17T18:40:28.017Z] $ docker rm -f 55e74a219e35fca24dce758f45b9e7b8fd8f78db760aaf65f28d03449f0be52a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-17T18:40:31.185Z] provisioning config files... [2020-09-17T18:40:31.197Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config838822147275690661tmp [Pipeline] { [Pipeline] sh [2020-09-17T18:40:31.572Z] + curl -s https://codecov.io/bash [2020-09-17T18:40:31.572Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config838822147275690661tmp [Pipeline] } [2020-09-17T18:40:31.846Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:40:34.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:40:35.079Z] ---> package-listing.sh [2020-09-17T18:40:35.079Z] ++ facter osfamily [2020-09-17T18:40:35.079Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T18:40:35.079Z] + OS_FAMILY=redhat [2020-09-17T18:40:35.079Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-482 [2020-09-17T18:40:35.079Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T18:40:35.079Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T18:40:35.079Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T18:40:35.079Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T18:40:35.079Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T18:40:35.079Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T18:40:35.079Z] + case "${OS_FAMILY}" in [2020-09-17T18:40:35.079Z] + rpm -qa [2020-09-17T18:40:35.079Z] + sort [2020-09-17T18:40:39.303Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T18:40:39.303Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T18:40:39.303Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T18:40:39.303Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-482 ']' [2020-09-17T18:40:39.303Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [2020-09-17T18:40:39.303Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-482/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:40:39.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:40:39.774Z] [2020-09-17T18:40:39.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T18:40:40.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:40:40.130Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T18:40:40.130Z] df20fa9351a1: Pulling fs layer [2020-09-17T18:40:40.130Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T18:40:40.130Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T18:40:40.130Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T18:40:40.130Z] 0dadc02b9964: Pulling fs layer [2020-09-17T18:40:40.130Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T18:40:40.130Z] 7a184a31f384: Pulling fs layer [2020-09-17T18:40:40.130Z] 0879bd2ef858: Pulling fs layer [2020-09-17T18:40:40.130Z] 0dadc02b9964: Waiting [2020-09-17T18:40:40.130Z] 7a184a31f384: Waiting [2020-09-17T18:40:40.130Z] 0879bd2ef858: Waiting [2020-09-17T18:40:40.130Z] ce6a7cf60c04: Waiting [2020-09-17T18:40:40.130Z] 46f8f816bc3b: Waiting [2020-09-17T18:40:40.130Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T18:40:40.130Z] 36b3adc4ff6f: Download complete [2020-09-17T18:40:40.130Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T18:40:40.130Z] 46f8f816bc3b: Download complete [2020-09-17T18:40:40.130Z] df20fa9351a1: Verifying Checksum [2020-09-17T18:40:40.130Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T18:40:40.130Z] ce6a7cf60c04: Download complete [2020-09-17T18:40:40.130Z] 7a184a31f384: Verifying Checksum [2020-09-17T18:40:40.130Z] 7a184a31f384: Download complete [2020-09-17T18:40:40.397Z] 0dadc02b9964: Verifying Checksum [2020-09-17T18:40:40.397Z] 0dadc02b9964: Download complete [2020-09-17T18:40:40.397Z] df20fa9351a1: Pull complete [2020-09-17T18:40:40.664Z] 36b3adc4ff6f: Pull complete [2020-09-17T18:40:40.664Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T18:40:40.664Z] 8ad3a11d3b57: Download complete [2020-09-17T18:40:40.929Z] 0879bd2ef858: Verifying Checksum [2020-09-17T18:40:40.929Z] 0879bd2ef858: Download complete [2020-09-17T18:40:41.194Z] 8ad3a11d3b57: Pull complete [2020-09-17T18:40:41.463Z] 46f8f816bc3b: Pull complete [2020-09-17T18:40:41.727Z] 0dadc02b9964: Pull complete [2020-09-17T18:40:41.727Z] ce6a7cf60c04: Pull complete [2020-09-17T18:40:41.992Z] 7a184a31f384: Pull complete [2020-09-17T18:40:43.917Z] 0879bd2ef858: Pull complete [2020-09-17T18:40:43.917Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T18:40:43.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T18:40:43.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T18:40:44.134Z] prd-centos7-docker-4c-2g-261 does not seem to be running inside a container [2020-09-17T18:40:44.178Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-482 -v /w/workspace/ndry_app-functions-sdk-go_PR-482:/w/workspace/ndry_app-functions-sdk-go_PR-482:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T18:40:49.247Z] $ docker top a9d4847517fde54e412e9e391fd41e792c49b677937bc7c4e1f26e10e53651c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T18:40:49.861Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T18:40:50.155Z] + ls /var/log/sa-host [2020-09-17T18:40:50.155Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T18:40:50.155Z] file_magic: OK [2020-09-17T18:40:50.155Z] HZ: Using current value: 100 [2020-09-17T18:40:50.155Z] file_header: OK [2020-09-17T18:40:50.155Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T18:40:50.155Z] Statistics: [2020-09-17T18:40:50.155Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T18:40:50.155Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T18:40:50.155Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T18:40:50.155Z] file_magic: OK [2020-09-17T18:40:50.155Z] HZ: Using current value: 100 [2020-09-17T18:40:50.155Z] file_header: OK [2020-09-17T18:40:50.155Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T18:40:50.155Z] Statistics: [2020-09-17T18:40:50.155Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T18:40:50.155Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T18:40:50.284Z] provisioning config files... [2020-09-17T18:40:50.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-482@tmp/config3986537906836175782tmp [Pipeline] { [Pipeline] echo [2020-09-17T18:40:50.413Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:40:50.711Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T18:40:50.721Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T18:40:51.021Z] ---> logs-deploy.sh [2020-09-17T18:40:51.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-482/7 [2020-09-17T18:40:51.021Z] INFO: archiving workspace using pattern(s): [2020-09-17T18:40:51.986Z] Archives upload complete. [2020-09-17T18:40:52.251Z] INFO: archiving logs to Nexus