Pull request #553 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d6cd4852e24562d5f0daceb49080bb0a4757c470+10e68ac7c91ef0a5c8c99ad9d778819a8d46231e (db603af8ada661864aa538eef774065ec29a096b) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7495 in /w/workspace/ndry_app-functions-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-553 # 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 --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e into PR head commit d6cd4852e24562d5f0daceb49080bb0a4757c470 Merge succeeded, producing d6cd4852e24562d5f0daceb49080bb0a4757c470 Checking out Revision d6cd4852e24562d5f0daceb49080bb0a4757c470 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # 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 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" First time build. Skipping changelog. > git rev-list --no-walk 49d69b8aca84d1a132e0e7f0316439f88c52691d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-21T15:26:53.096Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T15:26:53.370Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T15:26:53.543Z] ========================================================= [2020-10-21T15:26:53.543Z] EdgeX Global Pipelines Version Info [2020-10-21T15:26:53.543Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:26:55.523Z] ------------------- [2020-10-21T15:26:55.523Z] stable info: [2020-10-21T15:26:55.523Z] ------------------- [2020-10-21T15:26:55.523Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T15:26:55.523Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T15:26:55.523Z] Message: update stable to v1.0.144 [2020-10-21T15:26:56.097Z] ------------------- [2020-10-21T15:26:56.097Z] experimental info: [2020-10-21T15:26:56.097Z] ------------------- [2020-10-21T15:26:56.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T15:26:56.097Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T15:26:56.097Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T15:26:56.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-10-21T15:26:56.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-10-21T15:26:56.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-21T15:26:56.825Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-21T15:26:56.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-21T15:26:57.021Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-21T15:26:57.121Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-21T15:26:57.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-21T15:26:57.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-21T15:26:57.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-21T15:26:57.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T15:26:57.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-10-21T15:26:57.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-21T15:26:57.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-21T15:26:57.982Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T15:26:58.099Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T15:26:58.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T15:26:59.507Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T15:26:59.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T15:26:59.724Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-21T15:26:59.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-21T15:26:59.991Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-10-21T15:27:00.153Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-21T15:27:00.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-21T15:27:00.730Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-10-21T15:27:00.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2020-10-21T15:27:00.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2020-10-21T15:27:01.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2020-10-21T15:27:01.194Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6cd4852e24562d5f0daceb49080bb0a4757c470 [Pipeline] echo [2020-10-21T15:27:01.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6cd485 [Pipeline] echo [2020-10-21T15:27:01.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T15:27:02.011Z] + git log --format=format:%s -1 d6cd4852e24562d5f0daceb49080bb0a4757c470 [Pipeline] echo [2020-10-21T15:27:02.091Z] GIT_COMMIT: d6cd4852e24562d5f0daceb49080bb0a4757c470, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo [2020-10-21T15:27:02.142Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:27:02.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T15:27:03.109Z] [2020-10-21T15:27:03.109Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:27:03.499Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T15:27:03.499Z] latest: Pulling from edgex-devops/git-semver [2020-10-21T15:27:03.499Z] 31603596830f: Pulling fs layer [2020-10-21T15:27:03.499Z] 2a8b12db71e7: Pulling fs layer [2020-10-21T15:27:03.499Z] 6ca5941a6612: Pulling fs layer [2020-10-21T15:27:03.499Z] ecc8261a40a4: Pulling fs layer [2020-10-21T15:27:03.499Z] ecc8261a40a4: Waiting [2020-10-21T15:27:03.499Z] 2a8b12db71e7: Verifying Checksum [2020-10-21T15:27:03.499Z] 2a8b12db71e7: Download complete [2020-10-21T15:27:03.769Z] 31603596830f: Verifying Checksum [2020-10-21T15:27:03.769Z] 31603596830f: Download complete [2020-10-21T15:27:03.769Z] ecc8261a40a4: Verifying Checksum [2020-10-21T15:27:03.769Z] ecc8261a40a4: Download complete [2020-10-21T15:27:04.038Z] 6ca5941a6612: Verifying Checksum [2020-10-21T15:27:04.038Z] 6ca5941a6612: Download complete [2020-10-21T15:27:04.303Z] 31603596830f: Pull complete [2020-10-21T15:27:04.569Z] 2a8b12db71e7: Pull complete [2020-10-21T15:27:05.532Z] 6ca5941a6612: Pull complete [2020-10-21T15:27:05.532Z] ecc8261a40a4: Pull complete [2020-10-21T15:27:05.799Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-21T15:27:05.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T15:27:05.799Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-21T15:27:05.915Z] prd-centos7-docker-4c-2g-7495 does not seem to be running inside a container [2020-10-21T15:27:05.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-553 -v /w/workspace/ndry_app-functions-sdk-go_PR-553:/w/workspace/ndry_app-functions-sdk-go_PR-553:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-553@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-553@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:10004/edgex-devops/git-semver:latest cat [2020-10-21T15:27:08.427Z] $ docker top 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-21T15:27:08.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T15:27:08.733Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T15:27:09.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T15:27:09.032Z] $ docker exec 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 ssh-agent [2020-10-21T15:27:09.282Z] SSH_AUTH_SOCK=/tmp/ssh-f6v2ghGmAI8I/agent.13 [2020-10-21T15:27:09.282Z] SSH_AGENT_PID=19 [2020-10-21T15:27:09.297Z] Running ssh-add (command line suppressed) [2020-10-21T15:27:09.439Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-553@tmp/private_key_7896551523220270817.key (/w/workspace/ndry_app-functions-sdk-go_PR-553@tmp/private_key_7896551523220270817.key) [2020-10-21T15:27:09.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T15:27:09.832Z] + git tag --points-at HEAD [Pipeline] } [2020-10-21T15:27:09.856Z] $ docker exec --env ******** --env ******** 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 ssh-agent -k [2020-10-21T15:27:09.996Z] unset SSH_AUTH_SOCK; [2020-10-21T15:27:09.996Z] unset SSH_AGENT_PID; [2020-10-21T15:27:09.996Z] echo Agent pid 19 killed; [2020-10-21T15:27:10.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-21T15:27:10.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T15:27:10.248Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T15:27:10.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T15:27:10.441Z] $ docker exec 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 ssh-agent [2020-10-21T15:27:10.626Z] SSH_AUTH_SOCK=/tmp/ssh-Chz1XA77Kp3D/agent.48 [2020-10-21T15:27:10.626Z] SSH_AGENT_PID=53 [2020-10-21T15:27:10.638Z] Running ssh-add (command line suppressed) [2020-10-21T15:27:10.785Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-553@tmp/private_key_4258404477513161364.key (/w/workspace/ndry_app-functions-sdk-go_PR-553@tmp/private_key_4258404477513161364.key) [2020-10-21T15:27:10.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T15:27:11.168Z] + git semver init [2020-10-21T15:27:11.168Z] # -> Open(): unable to determine branch for HEAD [2020-10-21T15:27:11.168Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-553/.git [2020-10-21T15:27:11.168Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-553 [2020-10-21T15:27:11.168Z] # $SEMVER_REMOTE_NAME = origin [2020-10-21T15:27:11.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-21T15:27:11.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-21T15:27:11.168Z] # $SEMVER_BRANCH = PR-553 [2020-10-21T15:27:11.168Z] # $SEMVER_TEMP = /tmp/semver-547351322 [2020-10-21T15:27:11.168Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-10-21T15:27:13.738Z] # '/tmp/semver-547351322' -> '/w/workspace/ndry_app-functions-sdk-go_PR-553/.semver' [2020-10-21T15:27:14.009Z] # -> Force: false [2020-10-21T15:27:14.009Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-553/.semver [Pipeline] } [2020-10-21T15:27:14.027Z] $ docker exec --env ******** --env ******** 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 ssh-agent -k [2020-10-21T15:27:14.167Z] unset SSH_AUTH_SOCK; [2020-10-21T15:27:14.167Z] unset SSH_AGENT_PID; [2020-10-21T15:27:14.167Z] echo Agent pid 53 killed; [2020-10-21T15:27:14.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-21T15:27:14.679Z] + git semver [Pipeline] } [2020-10-21T15:27:14.701Z] $ docker stop --time=1 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 [2020-10-21T15:27:16.250Z] $ docker rm -f 8bee8ecc36415007f956ca5f990b1d174cacdf244f9f13259781e36a27815d00 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-21T15:27:16.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-21T15:27:17.422Z] Stashed 1 file(s) [Pipeline] echo [2020-10-21T15:27:17.424Z] [edgeXSemver]: initialized semver on 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-10-21T15:27:33.059Z] Still waiting to schedule task [2020-10-21T15:27:33.059Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-7494’ is offline; ‘prd-centos7-docker-4c-2g-7498’ is offline; ‘prd-centos7-docker-4c-2g-7499’ is offline; ‘prd-centos7-docker-4c-2g-7500’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-7493’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-21T15:27:33.062Z] Still waiting to schedule task [2020-10-21T15:27:33.062Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-21T15:27:49.559Z] Running on prd-centos7-docker-4c-2g-7500 in /w/workspace/ndry_app-functions-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-10-21T15:27:49.615Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-21T15:27:53.934Z] using credential edgex-jenkins-ssh [2020-10-21T15:27:54.040Z] Cloning the remote Git repository [2020-10-21T15:27:54.091Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:27:54.186Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-10-21T15:27:54.255Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:27:54.256Z] > git --version # timeout=10 [2020-10-21T15:27:54.265Z] > git --version # 'git version 2.16.5' [2020-10-21T15:27:54.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:27:54.300Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T15:27:56.549Z] Merging remotes/origin/master commit 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e into PR head commit d6cd4852e24562d5f0daceb49080bb0a4757c470 [2020-10-21T15:27:56.715Z] Merge succeeded, producing d6cd4852e24562d5f0daceb49080bb0a4757c470 [2020-10-21T15:27:56.715Z] Checking out Revision d6cd4852e24562d5f0daceb49080bb0a4757c470 (PR-553) [2020-10-21T15:27:55.959Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-10-21T15:27:55.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T15:27:55.979Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-10-21T15:27:56.006Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:27:56.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:27:56.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T15:27:56.563Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T15:27:56.570Z] > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # timeout=10 [2020-10-21T15:27:56.679Z] > git remote # timeout=10 [2020-10-21T15:27:56.686Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T15:27:56.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:27:56.699Z] > git merge 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e # timeout=10 [2020-10-21T15:27:56.711Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T15:27:56.721Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T15:27:56.726Z] > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # timeout=10 [2020-10-21T15:28:00.427Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T15:28:02.664Z] ========================================================= [2020-10-21T15:28:02.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-21T15:28:02.664Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:28:03.366Z] + 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-10-21T15:28:03.947Z] Sending build context to Docker daemon 19.13MB [2020-10-21T15:28:03.947Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T15:28:03.947Z] Step 2/8 : FROM ${BASE} [2020-10-21T15:28:04.213Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-21T15:28:04.213Z] df20fa9351a1: Pulling fs layer [2020-10-21T15:28:04.213Z] ed8968b2872e: Pulling fs layer [2020-10-21T15:28:04.213Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T15:28:04.213Z] e871e8e8d7a9: Pulling fs layer [2020-10-21T15:28:04.213Z] e73272ec9a57: Pulling fs layer [2020-10-21T15:28:04.213Z] 1e910a182e73: Pulling fs layer [2020-10-21T15:28:04.213Z] 4e634b169226: Pulling fs layer [2020-10-21T15:28:04.213Z] e73272ec9a57: Waiting [2020-10-21T15:28:04.213Z] 1e910a182e73: Waiting [2020-10-21T15:28:04.213Z] 4e634b169226: Waiting [2020-10-21T15:28:04.213Z] e871e8e8d7a9: Waiting [2020-10-21T15:28:04.213Z] a92cc7c5fd73: Verifying Checksum [2020-10-21T15:28:04.213Z] a92cc7c5fd73: Download complete [2020-10-21T15:28:04.213Z] ed8968b2872e: Verifying Checksum [2020-10-21T15:28:04.213Z] ed8968b2872e: Download complete [2020-10-21T15:28:04.213Z] e73272ec9a57: Verifying Checksum [2020-10-21T15:28:04.213Z] e73272ec9a57: Download complete [2020-10-21T15:28:04.213Z] 1e910a182e73: Verifying Checksum [2020-10-21T15:28:04.213Z] 1e910a182e73: Download complete [2020-10-21T15:28:04.213Z] df20fa9351a1: Verifying Checksum [2020-10-21T15:28:04.213Z] df20fa9351a1: Download complete [2020-10-21T15:28:04.477Z] df20fa9351a1: Pull complete [2020-10-21T15:28:04.743Z] ed8968b2872e: Pull complete [2020-10-21T15:28:05.010Z] a92cc7c5fd73: Pull complete [2020-10-21T15:28:06.956Z] 4e634b169226: Verifying Checksum [2020-10-21T15:28:06.956Z] 4e634b169226: Download complete [2020-10-21T15:28:07.910Z] e871e8e8d7a9: Verifying Checksum [2020-10-21T15:28:07.910Z] e871e8e8d7a9: Download complete [2020-10-21T15:28:13.297Z] e871e8e8d7a9: Pull complete [2020-10-21T15:28:13.297Z] e73272ec9a57: Pull complete [2020-10-21T15:28:13.297Z] 1e910a182e73: Pull complete [2020-10-21T15:28:19.966Z] 4e634b169226: Pull complete [2020-10-21T15:28:20.231Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-21T15:28:20.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-21T15:28:20.231Z] ---> f7629b54cfaa [2020-10-21T15:28:20.231Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-10-21T15:28:20.809Z] latest: Pulling from library/docker [2020-10-21T15:28:20.809Z] df20fa9351a1: Already exists [2020-10-21T15:28:20.809Z] 25ad7478873d: Pulling fs layer [2020-10-21T15:28:20.809Z] 4684f6177b5d: Pulling fs layer [2020-10-21T15:28:20.809Z] 206f78d23536: Pulling fs layer [2020-10-21T15:28:20.809Z] cee0542293f3: Pulling fs layer [2020-10-21T15:28:20.809Z] d951dd9fd09f: Pulling fs layer [2020-10-21T15:28:20.809Z] dce9c88c04bd: Pulling fs layer [2020-10-21T15:28:20.809Z] cee0542293f3: Waiting [2020-10-21T15:28:20.809Z] d951dd9fd09f: Waiting [2020-10-21T15:28:20.809Z] dce9c88c04bd: Waiting [2020-10-21T15:28:21.090Z] 4684f6177b5d: Verifying Checksum [2020-10-21T15:28:21.090Z] 4684f6177b5d: Download complete [2020-10-21T15:28:21.090Z] 25ad7478873d: Verifying Checksum [2020-10-21T15:28:21.090Z] 25ad7478873d: Download complete [2020-10-21T15:28:21.090Z] cee0542293f3: Verifying Checksum [2020-10-21T15:28:21.090Z] cee0542293f3: Download complete [2020-10-21T15:28:21.090Z] d951dd9fd09f: Verifying Checksum [2020-10-21T15:28:21.090Z] d951dd9fd09f: Download complete [2020-10-21T15:28:21.090Z] dce9c88c04bd: Verifying Checksum [2020-10-21T15:28:21.090Z] dce9c88c04bd: Download complete [2020-10-21T15:28:21.362Z] 25ad7478873d: Pull complete [2020-10-21T15:28:21.629Z] 4684f6177b5d: Pull complete [2020-10-21T15:28:22.219Z] 206f78d23536: Verifying Checksum [2020-10-21T15:28:22.219Z] 206f78d23536: Download complete [2020-10-21T15:28:25.591Z] 206f78d23536: Pull complete [2020-10-21T15:28:25.591Z] cee0542293f3: Pull complete [2020-10-21T15:28:25.591Z] d951dd9fd09f: Pull complete [2020-10-21T15:28:25.591Z] dce9c88c04bd: Pull complete [2020-10-21T15:28:25.591Z] Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 [2020-10-21T15:28:25.591Z] Status: Downloaded newer image for docker:latest [2020-10-21T15:28:27.591Z] ---> 53ddf2e17bbf [2020-10-21T15:28:27.591Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-21T15:28:27.591Z] ---> Running in 97ebbc33e8b8 [2020-10-21T15:28:27.591Z] Removing intermediate container 97ebbc33e8b8 [2020-10-21T15:28:27.591Z] ---> 2bd2e9ca4ae6 [2020-10-21T15:28:27.591Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-10-21T15:28:27.858Z] ---> Running in 6a9b9d1309b9 [2020-10-21T15:28:28.828Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T15:28:29.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T15:28:29.668Z] (1/5) Installing libsodium (1.0.18-r0) [2020-10-21T15:28:29.931Z] (2/5) Installing libzmq (4.3.3-r0) [2020-10-21T15:28:29.931Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-10-21T15:28:29.931Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-10-21T15:28:30.202Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-10-21T15:28:30.202Z] Executing busybox-1.31.1-r16.trigger [2020-10-21T15:28:30.202Z] OK: 167 MiB in 44 packages [2020-10-21T15:28:31.160Z] Removing intermediate container 6a9b9d1309b9 [2020-10-21T15:28:31.160Z] ---> cdfb4b8e2124 [2020-10-21T15:28:31.160Z] Step 6/8 : WORKDIR /build [2020-10-21T15:28:31.160Z] ---> Running in 928b50375e11 [2020-10-21T15:28:31.160Z] Removing intermediate container 928b50375e11 [2020-10-21T15:28:31.160Z] ---> fda45f7d09bd [2020-10-21T15:28:31.160Z] Step 7/8 : COPY go.mod . [2020-10-21T15:28:31.423Z] ---> 755485d57056 [2020-10-21T15:28:31.423Z] Step 8/8 : RUN go mod download [2020-10-21T15:28:31.423Z] ---> Running in 6338187feb46 [2020-10-21T15:28:58.107Z] Removing intermediate container 6338187feb46 [2020-10-21T15:28:58.107Z] ---> 4346533d94a6 [2020-10-21T15:28:58.107Z] Successfully built 4346533d94a6 [2020-10-21T15:28:58.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:28:58.497Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T15:28:58.497Z] . [Pipeline] withDockerContainer [2020-10-21T15:28:58.620Z] prd-centos7-docker-4c-2g-7500 does not seem to be running inside a container [2020-10-21T15:28:58.681Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T15:28:59.750Z] $ docker top fa3879cb697533e961b3fd0271c248508ab1e36030549dbb706674dbca41f06a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T15:29:00.300Z] + go version [2020-10-21T15:29:00.300Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-21T15:29:00.317Z] $ docker stop --time=1 fa3879cb697533e961b3fd0271c248508ab1e36030549dbb706674dbca41f06a [2020-10-21T15:29:01.758Z] $ docker rm -f fa3879cb697533e961b3fd0271c248508ab1e36030549dbb706674dbca41f06a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:29:02.764Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T15:29:02.764Z] . [Pipeline] withDockerContainer [2020-10-21T15:29:02.895Z] prd-centos7-docker-4c-2g-7500 does not seem to be running inside a container [2020-10-21T15:29:03.063Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T15:29:04.710Z] $ docker top 5d969a04c6fa65e5a1af5d86ce53506cc6c04ba81a24f6b8eccbf10e1e403f02 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T15:29:05.341Z] + make test [2020-10-21T15:29:05.341Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-21T15:29:06.769Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-10-21T15:29:15.110Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.014s coverage: 86.2% of statements [2020-10-21T15:29:25.400Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7501 in /w/workspace/ndry_app-functions-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-10-21T15:29:25.497Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-21T15:29:30.735Z] using credential edgex-jenkins-ssh [2020-10-21T15:29:30.823Z] Cloning the remote Git repository [2020-10-21T15:29:30.914Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:29:31.049Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-10-21T15:29:31.130Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:29:31.131Z] > git --version # timeout=10 [2020-10-21T15:29:31.150Z] > git --version # 'git version 2.17.1' [2020-10-21T15:29:31.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:29:31.241Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T15:29:33.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.057s coverage: 51.7% of statements [2020-10-21T15:29:33.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-10-21T15:29:33.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-10-21T15:29:33.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.026s coverage: 54.7% of statements [2020-10-21T15:29:33.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-10-21T15:29:33.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.054s coverage: 69.1% of statements [2020-10-21T15:29:34.526Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-10-21T15:29:34.541Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T15:29:35.403Z] Merging remotes/origin/master commit 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e into PR head commit d6cd4852e24562d5f0daceb49080bb0a4757c470 [2020-10-21T15:29:35.715Z] Merge succeeded, producing d6cd4852e24562d5f0daceb49080bb0a4757c470 [2020-10-21T15:29:35.717Z] Checking out Revision d6cd4852e24562d5f0daceb49080bb0a4757c470 (PR-553) [2020-10-21T15:29:34.584Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-10-21T15:29:34.616Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-10-21T15:29:34.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:29:34.629Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T15:29:35.445Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T15:29:35.459Z] > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # timeout=10 [2020-10-21T15:29:35.570Z] > git remote # timeout=10 [2020-10-21T15:29:35.637Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T15:29:35.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T15:29:35.668Z] > git merge 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e # timeout=10 [2020-10-21T15:29:35.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T15:29:35.749Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T15:29:35.764Z] > git checkout -f d6cd4852e24562d5f0daceb49080bb0a4757c470 # timeout=10 [2020-10-21T15:29:40.069Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T15:29:41.440Z] ========================================================= [2020-10-21T15:29:41.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-21T15:29:41.440Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:29:42.528Z] + 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-10-21T15:29:44.012Z] Sending build context to Docker daemon 19.13MB [2020-10-21T15:29:44.012Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T15:29:44.012Z] Step 2/8 : FROM ${BASE} [2020-10-21T15:29:44.312Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-21T15:29:44.312Z] b538f80385f9: Pulling fs layer [2020-10-21T15:29:44.312Z] 74f711af9a0d: Pulling fs layer [2020-10-21T15:29:44.312Z] 99f96fe45779: Pulling fs layer [2020-10-21T15:29:44.312Z] 8529a6b9a6be: Pulling fs layer [2020-10-21T15:29:44.312Z] 45590311c82a: Pulling fs layer [2020-10-21T15:29:44.312Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-21T15:29:44.312Z] 209524e5b208: Pulling fs layer [2020-10-21T15:29:44.312Z] 8529a6b9a6be: Waiting [2020-10-21T15:29:44.312Z] 45590311c82a: Waiting [2020-10-21T15:29:44.312Z] 69ca0ff8b7b3: Waiting [2020-10-21T15:29:44.312Z] 209524e5b208: Waiting [2020-10-21T15:29:44.312Z] 99f96fe45779: Verifying Checksum [2020-10-21T15:29:44.312Z] 99f96fe45779: Download complete [2020-10-21T15:29:44.312Z] 74f711af9a0d: Verifying Checksum [2020-10-21T15:29:44.312Z] 74f711af9a0d: Download complete [2020-10-21T15:29:44.312Z] 45590311c82a: Verifying Checksum [2020-10-21T15:29:44.312Z] 45590311c82a: Download complete [2020-10-21T15:29:44.312Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-21T15:29:44.312Z] 69ca0ff8b7b3: Download complete [2020-10-21T15:29:44.312Z] b538f80385f9: Download complete [2020-10-21T15:29:45.320Z] b538f80385f9: Pull complete [2020-10-21T15:29:45.618Z] 74f711af9a0d: Pull complete [2020-10-21T15:29:45.655Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.446s coverage: 61.6% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.008s coverage: 89.5% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.011s coverage: 9.4% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.919s coverage: 75.0% of statements [2020-10-21T15:29:45.656Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.011s coverage: 80.5% of statements [2020-10-21T15:29:45.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.009s coverage: 71.7% of statements [2020-10-21T15:29:46.238Z] 99f96fe45779: Pull complete [2020-10-21T15:29:46.853Z] 209524e5b208: Verifying Checksum [2020-10-21T15:29:46.853Z] 209524e5b208: Download complete [2020-10-21T15:29:48.309Z] 8529a6b9a6be: Verifying Checksum [2020-10-21T15:29:48.309Z] 8529a6b9a6be: Download complete [2020-10-21T15:29:58.485Z] 8529a6b9a6be: Pull complete [2020-10-21T15:29:58.485Z] 45590311c82a: Pull complete [2020-10-21T15:29:58.758Z] 69ca0ff8b7b3: Pull complete [2020-10-21T15:30:00.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 70.8% of statements [2020-10-21T15:30:00.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-10-21T15:30:00.875Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-10-21T15:30:03.108Z] 209524e5b208: Pull complete [2020-10-21T15:30:03.108Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-21T15:30:03.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-21T15:30:03.108Z] ---> 5bddaf1c2fca [2020-10-21T15:30:03.108Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-10-21T15:30:03.108Z] latest: Pulling from library/docker [2020-10-21T15:30:03.108Z] b538f80385f9: Already exists [2020-10-21T15:30:03.108Z] 259a493cd78d: Pulling fs layer [2020-10-21T15:30:03.108Z] b8e66b5100f5: Pulling fs layer [2020-10-21T15:30:03.108Z] 203964748c9f: Pulling fs layer [2020-10-21T15:30:03.108Z] d6fc4445224b: Pulling fs layer [2020-10-21T15:30:03.108Z] 5ea39d09386c: Pulling fs layer [2020-10-21T15:30:03.108Z] 78a785fe32a7: Pulling fs layer [2020-10-21T15:30:03.108Z] d6fc4445224b: Waiting [2020-10-21T15:30:03.108Z] 5ea39d09386c: Waiting [2020-10-21T15:30:03.395Z] 78a785fe32a7: Waiting [2020-10-21T15:30:03.395Z] b8e66b5100f5: Verifying Checksum [2020-10-21T15:30:03.395Z] 259a493cd78d: Verifying Checksum [2020-10-21T15:30:03.677Z] d6fc4445224b: Verifying Checksum [2020-10-21T15:30:03.677Z] d6fc4445224b: Download complete [2020-10-21T15:30:03.677Z] 5ea39d09386c: Verifying Checksum [2020-10-21T15:30:03.677Z] 5ea39d09386c: Download complete [2020-10-21T15:30:03.677Z] 78a785fe32a7: Verifying Checksum [2020-10-21T15:30:03.677Z] 78a785fe32a7: Download complete [2020-10-21T15:30:04.312Z] 259a493cd78d: Pull complete [2020-10-21T15:30:04.589Z] b8e66b5100f5: Pull complete [2020-10-21T15:30:04.864Z] 203964748c9f: Verifying Checksum [2020-10-21T15:30:04.864Z] 203964748c9f: Download complete [2020-10-21T15:30:07.657Z] gofmt -l . [2020-10-21T15:30:07.657Z] [ "`gofmt -l .`" = "" ] [2020-10-21T15:30:07.657Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T15:30:08.271Z] 203964748c9f: Pull complete [2020-10-21T15:30:08.296Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T15:30:08.305Z] $ docker stop --time=1 5d969a04c6fa65e5a1af5d86ce53506cc6c04ba81a24f6b8eccbf10e1e403f02 [2020-10-21T15:30:08.547Z] d6fc4445224b: Pull complete [2020-10-21T15:30:09.155Z] 5ea39d09386c: Pull complete [2020-10-21T15:30:09.433Z] 78a785fe32a7: Pull complete [2020-10-21T15:30:09.433Z] Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 [2020-10-21T15:30:09.433Z] Status: Downloaded newer image for docker:latest [2020-10-21T15:30:09.952Z] $ docker rm -f 5d969a04c6fa65e5a1af5d86ce53506cc6c04ba81a24f6b8eccbf10e1e403f02 [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-10-21T15:30:16.141Z] ---> 50a3930c2f2f [2020-10-21T15:30:16.141Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-21T15:30:16.141Z] ---> Running in 12de63d8ebaa [2020-10-21T15:30:16.141Z] Removing intermediate container 12de63d8ebaa [2020-10-21T15:30:16.141Z] ---> cc89533a4188 [2020-10-21T15:30:16.141Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-10-21T15:30:16.141Z] ---> Running in c538a2dc8249 [2020-10-21T15:30:18.160Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T15:30:18.757Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T15:30:19.356Z] (1/5) Installing libsodium (1.0.18-r0) [2020-10-21T15:30:19.630Z] (2/5) Installing libzmq (4.3.3-r0) [2020-10-21T15:30:19.630Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-10-21T15:30:19.906Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-10-21T15:30:19.906Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-10-21T15:30:19.906Z] Executing busybox-1.31.1-r16.trigger [2020-10-21T15:30:20.188Z] OK: 144 MiB in 44 packages [2020-10-21T15:30:21.633Z] Removing intermediate container c538a2dc8249 [2020-10-21T15:30:21.633Z] ---> 8776a92f79e9 [2020-10-21T15:30:21.633Z] Step 6/8 : WORKDIR /build [2020-10-21T15:30:21.633Z] ---> Running in f359518dacdf [2020-10-21T15:30:22.236Z] Removing intermediate container f359518dacdf [2020-10-21T15:30:22.236Z] ---> 399d7efc6c0c [2020-10-21T15:30:22.236Z] Step 7/8 : COPY go.mod . [2020-10-21T15:30:22.865Z] ---> 165189786ae4 [2020-10-21T15:30:22.865Z] Step 8/8 : RUN go mod download [2020-10-21T15:30:22.865Z] ---> Running in ab2c469227ab [2020-10-21T15:30:55.275Z] Removing intermediate container ab2c469227ab [2020-10-21T15:30:55.275Z] ---> df941c8e16f9 [2020-10-21T15:30:55.275Z] Successfully built df941c8e16f9 [2020-10-21T15:30:55.275Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:30:55.708Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T15:30:55.708Z] . [Pipeline] withDockerContainer [2020-10-21T15:30:56.018Z] prd-ubuntu18.04-docker-arm64-4c-16g-7501 does not seem to be running inside a container [2020-10-21T15:30:56.135Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-10-21T15:30:58.226Z] $ docker top c6beb45d2604e8f330845e341ba9b36e10da3a80c7f33a67458e366b54403aab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T15:30:59.704Z] + go version [2020-10-21T15:30:59.704Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-21T15:30:59.757Z] $ docker stop --time=1 c6beb45d2604e8f330845e341ba9b36e10da3a80c7f33a67458e366b54403aab [2020-10-21T15:31:01.864Z] $ docker rm -f c6beb45d2604e8f330845e341ba9b36e10da3a80c7f33a67458e366b54403aab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:31:02.946Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T15:31:02.946Z] . [Pipeline] withDockerContainer [2020-10-21T15:31:03.245Z] prd-ubuntu18.04-docker-arm64-4c-16g-7501 does not seem to be running inside a container [2020-10-21T15:31:03.353Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-10-21T15:31:05.363Z] $ docker top 7978458c1b5e8a0e380a1b747ec5dc234cfbc06f1e89d1118f62e71dd0b32db5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T15:31:06.834Z] + make test [2020-10-21T15:31:06.835Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-21T15:31:08.834Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-10-21T15:31:35.753Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.042s coverage: 86.2% of statements [2020-10-21T15:32:14.812Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.056s coverage: 51.7% of statements [2020-10-21T15:32:14.812Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-10-21T15:32:14.812Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-10-21T15:32:14.812Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.094s coverage: 54.7% of statements [2020-10-21T15:32:14.812Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-10-21T15:32:14.812Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.056s coverage: 69.1% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.487s coverage: 61.6% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.045s coverage: 100.0% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.019s coverage: 100.0% of statements [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-10-21T15:32:25.014Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-10-21T15:32:25.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.025s coverage: 9.4% of statements [2020-10-21T15:32:27.019Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.32s) [2020-10-21T15:32:27.019Z] messaging_test.go:174: [2020-10-21T15:32:27.019Z] Error Trace: messaging_test.go:174 [2020-10-21T15:32:27.019Z] Error: Should be true [2020-10-21T15:32:27.019Z] Test: TestInitializeAndProcessEventWithNoOutput [2020-10-21T15:32:27.019Z] Messages: Transform never called [2020-10-21T15:32:27.019Z] FAIL [2020-10-21T15:32:27.019Z] coverage: 75.0% of statements [2020-10-21T15:32:27.019Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.949s [2020-10-21T15:32:27.019Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-10-21T15:32:27.019Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements [2020-10-21T15:32:27.019Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-10-21T15:32:27.019Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.034s coverage: 80.5% of statements [2020-10-21T15:32:27.019Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.022s coverage: 71.7% of statements [2020-10-21T15:32:53.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.062s coverage: 70.8% of statements [2020-10-21T15:32:53.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.015s coverage: 94.4% of statements [2020-10-21T15:32:53.802Z] FAIL [2020-10-21T15:32:53.802Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-10-21T15:32:53.853Z] $ docker stop --time=1 7978458c1b5e8a0e380a1b747ec5dc234cfbc06f1e89d1118f62e71dd0b32db5 [2020-10-21T15:32:56.146Z] $ docker rm -f 7978458c1b5e8a0e380a1b747ec5dc234cfbc06f1e89d1118f62e71dd0b32db5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-21T15:32:58.723Z] Failed in branch arm64 [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] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:02.086Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:02.661Z] ---> package-listing.sh [2020-10-21T15:33:02.661Z] ++ facter osfamily [2020-10-21T15:33:02.661Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T15:33:02.661Z] + OS_FAMILY=redhat [2020-10-21T15:33:02.661Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-553 [2020-10-21T15:33:02.661Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T15:33:02.661Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T15:33:02.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T15:33:02.661Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T15:33:02.661Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-553 ']' [2020-10-21T15:33:02.661Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T15:33:02.661Z] + case "${OS_FAMILY}" in [2020-10-21T15:33:02.661Z] + rpm -qa [2020-10-21T15:33:02.661Z] + sort [2020-10-21T15:33:06.926Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T15:33:06.926Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T15:33:06.926Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T15:33:06.926Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-553 ']' [2020-10-21T15:33:06.926Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-553/archives/ [2020-10-21T15:33:06.926Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-553/archives/ [Pipeline] echo [2020-10-21T15:33:06.942Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-21T15:33:07.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:33:07.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T15:33:07.564Z] [2020-10-21T15:33:07.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T15:33:07.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T15:33:07.950Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T15:33:07.951Z] df20fa9351a1: Pulling fs layer [2020-10-21T15:33:07.951Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T15:33:07.951Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T15:33:07.951Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T15:33:07.951Z] 93b61091891f: Pulling fs layer [2020-10-21T15:33:07.951Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T15:33:07.951Z] 5e14af77c1be: Pulling fs layer [2020-10-21T15:33:07.951Z] 01666e4c0597: Pulling fs layer [2020-10-21T15:33:07.951Z] aa168da1d23b: Pulling fs layer [2020-10-21T15:33:07.951Z] 93b9cdb0e59b: Waiting [2020-10-21T15:33:07.951Z] 5e14af77c1be: Waiting [2020-10-21T15:33:07.951Z] 01666e4c0597: Waiting [2020-10-21T15:33:07.951Z] aa168da1d23b: Waiting [2020-10-21T15:33:07.951Z] 46f8f816bc3b: Waiting [2020-10-21T15:33:07.951Z] 93b61091891f: Waiting [2020-10-21T15:33:07.951Z] 36b3adc4ff6f: Verifying Checksum [2020-10-21T15:33:07.951Z] 36b3adc4ff6f: Download complete [2020-10-21T15:33:07.951Z] 46f8f816bc3b: Verifying Checksum [2020-10-21T15:33:07.951Z] 46f8f816bc3b: Download complete [2020-10-21T15:33:08.221Z] df20fa9351a1: Verifying Checksum [2020-10-21T15:33:08.221Z] df20fa9351a1: Download complete [2020-10-21T15:33:08.221Z] 93b9cdb0e59b: Verifying Checksum [2020-10-21T15:33:08.221Z] 93b9cdb0e59b: Download complete [2020-10-21T15:33:08.221Z] 93b61091891f: Verifying Checksum [2020-10-21T15:33:08.221Z] 93b61091891f: Download complete [2020-10-21T15:33:08.221Z] 5e14af77c1be: Download complete [2020-10-21T15:33:08.221Z] 01666e4c0597: Verifying Checksum [2020-10-21T15:33:08.221Z] 01666e4c0597: Download complete [2020-10-21T15:33:08.487Z] df20fa9351a1: Pull complete [2020-10-21T15:33:08.753Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T15:33:08.753Z] 8ad3a11d3b57: Download complete [2020-10-21T15:33:08.753Z] 36b3adc4ff6f: Pull complete [2020-10-21T15:33:09.727Z] 8ad3a11d3b57: Pull complete [2020-10-21T15:33:09.994Z] 46f8f816bc3b: Pull complete [2020-10-21T15:33:10.579Z] 93b61091891f: Pull complete [2020-10-21T15:33:10.579Z] 93b9cdb0e59b: Pull complete [2020-10-21T15:33:10.845Z] aa168da1d23b: Verifying Checksum [2020-10-21T15:33:10.845Z] aa168da1d23b: Download complete [2020-10-21T15:33:10.845Z] 5e14af77c1be: Pull complete [2020-10-21T15:33:10.845Z] 01666e4c0597: Pull complete [2020-10-21T15:33:19.075Z] aa168da1d23b: Pull complete [2020-10-21T15:33:19.075Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T15:33:19.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T15:33:19.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T15:33:19.343Z] prd-centos7-docker-4c-2g-7495 does not seem to be running inside a container [2020-10-21T15:33:19.403Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-553 -v /w/workspace/ndry_app-functions-sdk-go_PR-553:/w/workspace/ndry_app-functions-sdk-go_PR-553:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-553@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-553@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-21T15:33:23.369Z] $ docker top c64671627b37c7ae7f1f28f0c8d825cbfc745d6e4d779da6ba873662aa39a674 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T15:33:23.937Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T15:33:24.249Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T15:33:24.554Z] + ls /var/log/sa-host [2020-10-21T15:33:24.554Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T15:33:24.554Z] file_magic: OK [2020-10-21T15:33:24.554Z] HZ: Using current value: 100 [2020-10-21T15:33:24.554Z] file_header: OK [2020-10-21T15:33:24.554Z] 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-10-21T15:33:24.554Z] Statistics: [2020-10-21T15:33:24.554Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T15:33:24.554Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T15:33:24.554Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T15:33:24.554Z] file_magic: OK [2020-10-21T15:33:24.554Z] HZ: Using current value: 100 [2020-10-21T15:33:24.554Z] file_header: OK [2020-10-21T15:33:24.554Z] 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-10-21T15:33:24.554Z] Statistics: [2020-10-21T15:33:24.554Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T15:33:24.554Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T15:33:24.846Z] provisioning config files... [2020-10-21T15:33:24.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-553@tmp/config3631736955631028610tmp [Pipeline] { [Pipeline] echo [2020-10-21T15:33:24.949Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:25.254Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T15:33:25.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T15:33:25.377Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:25.677Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T15:33:25.688Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:25.997Z] ---> sudo-logs.sh [2020-10-21T15:33:25.997Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T15:33:26.009Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:26.311Z] ---> job-cost.sh [2020-10-21T15:33:26.311Z] lf-activate-venv: SKIPPING [2020-10-21T15:33:26.311Z] INFO: No Stack... [2020-10-21T15:33:28.237Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T15:33:28.501Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T15:33:28.516Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T15:33:28.821Z] ---> logs-deploy.sh [2020-10-21T15:33:28.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-553/2 [2020-10-21T15:33:28.821Z] INFO: archiving workspace using pattern(s): [2020-10-21T15:33:30.754Z] Archives upload complete. [2020-10-21T15:33:30.754Z] INFO: archiving logs to Nexus