Push event to branch hanoi Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22868 in /w/workspace/undry_app-functions-sdk-go_hanoi [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/undry_app-functions-sdk-go_hanoi # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) > 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 --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" > git rev-list --no-walk a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T22:04:43.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T22:04:44.050Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T22:04:44.158Z] ========================================================= [2021-01-26T22:04:44.158Z] EdgeX Global Pipelines Version Info [2021-01-26T22:04:44.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:04:45.610Z] ------------------- [2021-01-26T22:04:45.610Z] stable info: [2021-01-26T22:04:45.610Z] ------------------- [2021-01-26T22:04:45.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T22:04:45.610Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T22:04:45.610Z] Message: update stable to v1.0.179 [2021-01-26T22:04:46.556Z] ------------------- [2021-01-26T22:04:46.556Z] experimental info: [2021-01-26T22:04:46.556Z] ------------------- [2021-01-26T22:04:46.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T22:04:46.556Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T22:04:46.556Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T22:04:46.841Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-26T22:04:46.948Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-26T22:04:47.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T22:04:47.162Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T22:04:47.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T22:04:47.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T22:04:47.466Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T22:04:47.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T22:04:47.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-26T22:04:47.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T22:04:47.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T22:04:47.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-26T22:04:48.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T22:04:48.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T22:04:48.282Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:04:48.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:04:48.498Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:04:48.592Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:04:48.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T22:04:48.786Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T22:04:48.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-26T22:04:49.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-26T22:04:49.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T22:04:49.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T22:04:49.356Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-26T22:04:49.456Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T22:04:49.551Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T22:04:49.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = hanoi [Pipeline] echo [2021-01-26T22:04:49.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = hanoi [Pipeline] echo [2021-01-26T22:04:49.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = hanoi [Pipeline] echo [2021-01-26T22:04:49.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] echo [2021-01-26T22:04:50.074Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eab384c [Pipeline] echo [2021-01-26T22:04:50.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T22:04:51.181Z] + git log --format=format:%s -1 eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] echo [2021-01-26T22:04:51.253Z] GIT_COMMIT: eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b, Commit Message: fix: Upgrade to go-mod-messaging with ZMQ fix (#660) [Pipeline] echo [2021-01-26T22:04:51.307Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:04:52.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:04:52.576Z] [2021-01-26T22:04:52.576Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:04:52.923Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:04:52.924Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T22:04:52.924Z] 31603596830f: Pulling fs layer [2021-01-26T22:04:52.924Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T22:04:52.924Z] 6ca5941a6612: Pulling fs layer [2021-01-26T22:04:52.924Z] ecc8261a40a4: Pulling fs layer [2021-01-26T22:04:52.924Z] ecc8261a40a4: Waiting [2021-01-26T22:04:52.924Z] 2a8b12db71e7: Download complete [2021-01-26T22:04:53.190Z] 31603596830f: Verifying Checksum [2021-01-26T22:04:53.190Z] 31603596830f: Download complete [2021-01-26T22:04:53.453Z] 6ca5941a6612: Verifying Checksum [2021-01-26T22:04:53.453Z] 6ca5941a6612: Download complete [2021-01-26T22:04:53.453Z] ecc8261a40a4: Verifying Checksum [2021-01-26T22:04:53.453Z] ecc8261a40a4: Download complete [2021-01-26T22:04:53.453Z] 31603596830f: Pull complete [2021-01-26T22:04:53.715Z] 2a8b12db71e7: Pull complete [2021-01-26T22:04:54.661Z] 6ca5941a6612: Pull complete [2021-01-26T22:04:54.661Z] ecc8261a40a4: Pull complete [2021-01-26T22:04:54.661Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T22:04:54.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:04:54.661Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T22:04:54.765Z] prd-centos7-docker-4c-2g-22868 does not seem to be running inside a container [2021-01-26T22:04:54.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 [2021-01-26T22:04:56.711Z] $ docker top 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T22:04:57.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:04:57.004Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:04:57.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:04:57.251Z] $ docker exec 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 ssh-agent [2021-01-26T22:04:57.551Z] SSH_AUTH_SOCK=/tmp/ssh-aeFwQaJ9Wp7q/agent.12 [2021-01-26T22:04:57.551Z] SSH_AGENT_PID=17 [2021-01-26T22:04:57.605Z] Running ssh-add (command line suppressed) [2021-01-26T22:04:57.733Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_537941126590770990.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_537941126590770990.key) [2021-01-26T22:04:57.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:04:58.117Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T22:04:58.137Z] $ docker exec --env ******** --env ******** 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 ssh-agent -k [2021-01-26T22:04:58.244Z] unset SSH_AUTH_SOCK; [2021-01-26T22:04:58.244Z] unset SSH_AGENT_PID; [2021-01-26T22:04:58.244Z] echo Agent pid 17 killed; [2021-01-26T22:04:58.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T22:04:58.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:04:58.429Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:04:58.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:04:58.597Z] $ docker exec 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 ssh-agent [2021-01-26T22:04:58.748Z] SSH_AUTH_SOCK=/tmp/ssh-6eXMQ7jTwjYR/agent.46 [2021-01-26T22:04:58.748Z] SSH_AGENT_PID=52 [2021-01-26T22:04:58.755Z] Running ssh-add (command line suppressed) [2021-01-26T22:04:58.861Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_503816569381368446.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_503816569381368446.key) [2021-01-26T22:04:58.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:04:59.247Z] + git semver init [2021-01-26T22:04:59.248Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T22:04:59.248Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-26T22:04:59.248Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:04:59.248Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T22:04:59.248Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T22:04:59.248Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T22:04:59.248Z] # $SEMVER_BRANCH = hanoi [2021-01-26T22:04:59.248Z] # $SEMVER_TEMP = /tmp/semver-415240695 [2021-01-26T22:04:59.248Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-26T22:05:01.795Z] # '/tmp/semver-415240695' -> '/w/workspace/undry_app-functions-sdk-go_hanoi/.semver' [2021-01-26T22:05:01.795Z] # -> Force: false [2021-01-26T22:05:01.795Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } [2021-01-26T22:05:01.810Z] $ docker exec --env ******** --env ******** 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 ssh-agent -k [2021-01-26T22:05:01.925Z] unset SSH_AUTH_SOCK; [2021-01-26T22:05:01.928Z] unset SSH_AGENT_PID; [2021-01-26T22:05:01.928Z] echo Agent pid 52 killed; [2021-01-26T22:05:01.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T22:05:02.485Z] + git semver [Pipeline] } [2021-01-26T22:05:02.501Z] $ docker stop --time=1 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 [2021-01-26T22:05:03.991Z] $ docker rm -f 0abd28fe16a09d178f0ca3550ea30c1c0f849c465e88b3fb29d44ecb367459c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T22:05:04.485Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T22:05:05.088Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T22:05:05.091Z] [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 [2021-01-26T22:05:20.630Z] Still waiting to schedule task [2021-01-26T22:05:20.630Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-26T22:05:20.632Z] Still waiting to schedule task [2021-01-26T22:05:20.632Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-26T22:06:59.970Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22869 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-26T22:07:00.104Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-26T22:07:04.794Z] using credential edgex-jenkins-ssh [2021-01-26T22:07:04.853Z] Cloning the remote Git repository [2021-01-26T22:07:04.930Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:05.072Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-01-26T22:07:05.145Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:05.146Z] > git --version # timeout=10 [2021-01-26T22:07:05.161Z] > git --version # 'git version 2.17.1' [2021-01-26T22:07:05.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:07:05.246Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:07:08.706Z] Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) [2021-01-26T22:07:08.145Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:07:08.168Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:07:08.197Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:07:08.234Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:08.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:07:08.248Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T22:07:08.728Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T22:07:08.740Z] > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [2021-01-26T22:07:13.174Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T22:07:14.887Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:07:15.296Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:07:15.641Z] + true [2021-01-26T22:07:15.641Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-26T22:07:18.709Z] ========================================================= [2021-01-26T22:07:18.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T22:07:18.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:07:19.099Z] + 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 . [2021-01-26T22:07:20.094Z] Sending build context to Docker daemon 19.2MB [2021-01-26T22:07:20.094Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T22:07:20.094Z] Step 2/8 : FROM ${BASE} [2021-01-26T22:07:20.368Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T22:07:20.368Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T22:07:20.368Z] a4357932f1b6: Pulling fs layer [2021-01-26T22:07:20.368Z] 18c013af1878: Pulling fs layer [2021-01-26T22:07:20.368Z] 00ac8860ef70: Pulling fs layer [2021-01-26T22:07:20.368Z] 63d7cb157983: Pulling fs layer [2021-01-26T22:07:20.368Z] b116817d02f9: Pulling fs layer [2021-01-26T22:07:20.368Z] 745a02a5169b: Pulling fs layer [2021-01-26T22:07:20.368Z] 00ac8860ef70: Waiting [2021-01-26T22:07:20.368Z] 63d7cb157983: Waiting [2021-01-26T22:07:20.368Z] b116817d02f9: Waiting [2021-01-26T22:07:20.368Z] 745a02a5169b: Waiting [2021-01-26T22:07:20.645Z] 18c013af1878: Verifying Checksum [2021-01-26T22:07:20.645Z] 18c013af1878: Download complete [2021-01-26T22:07:20.645Z] a4357932f1b6: Verifying Checksum [2021-01-26T22:07:20.645Z] a4357932f1b6: Download complete [2021-01-26T22:07:20.645Z] 63d7cb157983: Download complete [2021-01-26T22:07:20.645Z] b116817d02f9: Verifying Checksum [2021-01-26T22:07:20.645Z] b116817d02f9: Download complete [2021-01-26T22:07:20.645Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T22:07:20.645Z] 5f621e34cdf4: Download complete [2021-01-26T22:07:21.248Z] 5f621e34cdf4: Pull complete [2021-01-26T22:07:21.876Z] a4357932f1b6: Pull complete [2021-01-26T22:07:22.158Z] 18c013af1878: Pull complete [2021-01-26T22:07:23.601Z] 745a02a5169b: Verifying Checksum [2021-01-26T22:07:23.601Z] 745a02a5169b: Download complete [2021-01-26T22:07:24.582Z] 00ac8860ef70: Verifying Checksum [2021-01-26T22:07:24.582Z] 00ac8860ef70: Download complete [2021-01-26T22:07:34.747Z] 00ac8860ef70: Pull complete [2021-01-26T22:07:34.747Z] 63d7cb157983: Pull complete [2021-01-26T22:07:34.747Z] b116817d02f9: Pull complete [2021-01-26T22:07:38.136Z] 745a02a5169b: Pull complete [2021-01-26T22:07:38.136Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T22:07:38.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T22:07:38.136Z] ---> b7e6874047d6 [2021-01-26T22:07:38.136Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-26T22:07:38.411Z] latest: Pulling from library/docker [2021-01-26T22:07:38.411Z] 159e5727ea61: Pulling fs layer [2021-01-26T22:07:38.411Z] 687389c36290: Pulling fs layer [2021-01-26T22:07:38.411Z] 94e28978939c: Pulling fs layer [2021-01-26T22:07:38.411Z] 81bd9c9fe1b1: Pulling fs layer [2021-01-26T22:07:38.411Z] 0c5a7137269a: Pulling fs layer [2021-01-26T22:07:38.411Z] 650eeba05d50: Pulling fs layer [2021-01-26T22:07:38.411Z] 283d3dba4d5b: Pulling fs layer [2021-01-26T22:07:38.411Z] 81bd9c9fe1b1: Waiting [2021-01-26T22:07:38.411Z] 0c5a7137269a: Waiting [2021-01-26T22:07:38.411Z] 650eeba05d50: Waiting [2021-01-26T22:07:38.411Z] 283d3dba4d5b: Waiting [2021-01-26T22:07:38.411Z] 94e28978939c: Verifying Checksum [2021-01-26T22:07:38.411Z] 94e28978939c: Download complete [2021-01-26T22:07:38.411Z] 687389c36290: Verifying Checksum [2021-01-26T22:07:38.411Z] 687389c36290: Download complete [2021-01-26T22:07:38.411Z] 0c5a7137269a: Download complete [2021-01-26T22:07:38.411Z] 650eeba05d50: Verifying Checksum [2021-01-26T22:07:38.411Z] 650eeba05d50: Download complete [2021-01-26T22:07:38.411Z] 159e5727ea61: Download complete [2021-01-26T22:07:38.411Z] 283d3dba4d5b: Verifying Checksum [2021-01-26T22:07:38.411Z] 283d3dba4d5b: Download complete [2021-01-26T22:07:39.395Z] 159e5727ea61: Pull complete [2021-01-26T22:07:40.000Z] 687389c36290: Pull complete [2021-01-26T22:07:40.000Z] 81bd9c9fe1b1: Verifying Checksum [2021-01-26T22:07:40.000Z] 81bd9c9fe1b1: Download complete [2021-01-26T22:07:40.273Z] 94e28978939c: Pull complete [2021-01-26T22:07:44.347Z] Running on prd-centos7-docker-4c-2g-22870 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-26T22:07:44.406Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-26T22:07:44.605Z] 81bd9c9fe1b1: Pull complete [2021-01-26T22:07:44.606Z] 0c5a7137269a: Pull complete [2021-01-26T22:07:44.880Z] 650eeba05d50: Pull complete [2021-01-26T22:07:45.156Z] 283d3dba4d5b: Pull complete [2021-01-26T22:07:45.156Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-26T22:07:45.156Z] Status: Downloaded newer image for docker:latest [2021-01-26T22:07:46.716Z] using credential edgex-jenkins-ssh [2021-01-26T22:07:46.773Z] Cloning the remote Git repository [2021-01-26T22:07:46.802Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:46.871Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-01-26T22:07:46.928Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:46.928Z] > git --version # timeout=10 [2021-01-26T22:07:46.936Z] > git --version # 'git version 2.24.3' [2021-01-26T22:07:46.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:07:46.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:07:48.890Z] Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) [2021-01-26T22:07:48.484Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:07:48.489Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:07:48.506Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:07:48.524Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:07:48.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:07:48.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T22:07:48.901Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T22:07:48.906Z] > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [2021-01-26T22:07:51.875Z] ---> 00a6b0a3ee38 [2021-01-26T22:07:51.875Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T22:07:51.875Z] ---> Running in 9a2cab329beb [2021-01-26T22:07:51.875Z] Removing intermediate container 9a2cab329beb [2021-01-26T22:07:51.875Z] ---> 2661de390046 [2021-01-26T22:07:51.875Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-26T22:07:51.875Z] ---> Running in a991f4201e12 [2021-01-26T22:07:52.542Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" [2021-01-26T22:07:52.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T22:07:53.788Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:07:53.849Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T22:07:54.117Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:07:54.418Z] + sudo service docker restart [2021-01-26T22:07:54.418Z] + true [2021-01-26T22:07:54.418Z] Redirecting to /bin/systemctl restart docker.service [2021-01-26T22:07:54.442Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-26T22:07:54.442Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-26T22:07:54.442Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-26T22:07:54.717Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-26T22:07:54.717Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-26T22:07:54.717Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T22:07:54.717Z] OK: 144 MiB in 44 packages [Pipeline] unstash [Pipeline] echo [2021-01-26T22:07:55.485Z] ========================================================= [2021-01-26T22:07:55.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T22:07:55.485Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:07:55.839Z] + 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 . [2021-01-26T22:07:56.151Z] Removing intermediate container a991f4201e12 [2021-01-26T22:07:56.151Z] ---> ff9d33072632 [2021-01-26T22:07:56.151Z] Step 6/8 : WORKDIR /build [2021-01-26T22:07:56.419Z] Sending build context to Docker daemon 19.2MB [2021-01-26T22:07:56.419Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T22:07:56.419Z] Step 2/8 : FROM ${BASE} [2021-01-26T22:07:56.419Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T22:07:56.419Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T22:07:56.419Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T22:07:56.419Z] de9db76c5a1d: Pulling fs layer [2021-01-26T22:07:56.419Z] bca2f99d35d6: Pulling fs layer [2021-01-26T22:07:56.419Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T22:07:56.419Z] 7c6f9722023f: Pulling fs layer [2021-01-26T22:07:56.419Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T22:07:56.419Z] 93359f2a8cfa: Waiting [2021-01-26T22:07:56.419Z] 7c6f9722023f: Waiting [2021-01-26T22:07:56.419Z] a35cf1a2eb13: Waiting [2021-01-26T22:07:56.419Z] bca2f99d35d6: Waiting [2021-01-26T22:07:56.419Z] de9db76c5a1d: Verifying Checksum [2021-01-26T22:07:56.419Z] de9db76c5a1d: Download complete [2021-01-26T22:07:56.419Z] 0ef7d3d256c8: Download complete [2021-01-26T22:07:56.419Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T22:07:56.419Z] 93359f2a8cfa: Download complete [2021-01-26T22:07:56.419Z] 7c6f9722023f: Verifying Checksum [2021-01-26T22:07:56.419Z] 7c6f9722023f: Download complete [2021-01-26T22:07:56.419Z] 188c0c94c7c5: Download complete [2021-01-26T22:07:56.426Z] ---> Running in eb32b3d31529 [2021-01-26T22:07:56.699Z] Removing intermediate container eb32b3d31529 [2021-01-26T22:07:56.699Z] ---> 508b923bc195 [2021-01-26T22:07:56.699Z] Step 7/8 : COPY go.mod . [2021-01-26T22:07:56.997Z] 188c0c94c7c5: Pull complete [2021-01-26T22:07:56.998Z] 0ef7d3d256c8: Pull complete [2021-01-26T22:07:57.273Z] de9db76c5a1d: Pull complete [2021-01-26T22:07:57.675Z] ---> b593b4c0396b [2021-01-26T22:07:57.675Z] Step 8/8 : RUN go mod download [2021-01-26T22:07:57.675Z] ---> Running in e7ace7abed6e [2021-01-26T22:07:58.237Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T22:07:58.237Z] a35cf1a2eb13: Download complete [2021-01-26T22:07:58.507Z] bca2f99d35d6: Verifying Checksum [2021-01-26T22:07:58.507Z] bca2f99d35d6: Download complete [2021-01-26T22:08:03.859Z] bca2f99d35d6: Pull complete [2021-01-26T22:08:03.859Z] 93359f2a8cfa: Pull complete [2021-01-26T22:08:03.859Z] 7c6f9722023f: Pull complete [2021-01-26T22:08:12.062Z] a35cf1a2eb13: Pull complete [2021-01-26T22:08:12.062Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T22:08:12.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T22:08:12.062Z] ---> a62c8e92a672 [2021-01-26T22:08:12.062Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-26T22:08:12.062Z] latest: Pulling from library/docker [2021-01-26T22:08:12.062Z] 801bfaa63ef2: Pulling fs layer [2021-01-26T22:08:12.062Z] 4f7dc993c79e: Pulling fs layer [2021-01-26T22:08:12.062Z] d39d95e4997f: Pulling fs layer [2021-01-26T22:08:12.062Z] ae283de69b7d: Pulling fs layer [2021-01-26T22:08:12.062Z] 1962c7344fe5: Pulling fs layer [2021-01-26T22:08:12.062Z] aa7a3367c785: Pulling fs layer [2021-01-26T22:08:12.062Z] 5e259227d438: Pulling fs layer [2021-01-26T22:08:12.062Z] 1962c7344fe5: Waiting [2021-01-26T22:08:12.062Z] aa7a3367c785: Waiting [2021-01-26T22:08:12.062Z] 5e259227d438: Waiting [2021-01-26T22:08:12.062Z] ae283de69b7d: Waiting [2021-01-26T22:08:12.062Z] d39d95e4997f: Verifying Checksum [2021-01-26T22:08:12.062Z] d39d95e4997f: Download complete [2021-01-26T22:08:12.062Z] 4f7dc993c79e: Verifying Checksum [2021-01-26T22:08:12.062Z] 4f7dc993c79e: Download complete [2021-01-26T22:08:12.062Z] 1962c7344fe5: Verifying Checksum [2021-01-26T22:08:12.062Z] 1962c7344fe5: Download complete [2021-01-26T22:08:12.062Z] 801bfaa63ef2: Verifying Checksum [2021-01-26T22:08:12.062Z] 801bfaa63ef2: Download complete [2021-01-26T22:08:12.062Z] aa7a3367c785: Download complete [2021-01-26T22:08:12.062Z] 5e259227d438: Verifying Checksum [2021-01-26T22:08:12.062Z] 5e259227d438: Download complete [2021-01-26T22:08:12.062Z] 801bfaa63ef2: Pull complete [2021-01-26T22:08:12.062Z] 4f7dc993c79e: Pull complete [2021-01-26T22:08:12.062Z] d39d95e4997f: Pull complete [2021-01-26T22:08:12.326Z] ae283de69b7d: Verifying Checksum [2021-01-26T22:08:12.327Z] ae283de69b7d: Download complete [2021-01-26T22:08:14.893Z] ae283de69b7d: Pull complete [2021-01-26T22:08:14.893Z] 1962c7344fe5: Pull complete [2021-01-26T22:08:14.893Z] aa7a3367c785: Pull complete [2021-01-26T22:08:15.155Z] 5e259227d438: Pull complete [2021-01-26T22:08:15.155Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-26T22:08:15.155Z] Status: Downloaded newer image for docker:latest [2021-01-26T22:08:16.661Z] ---> 3c4f51522d4c [2021-01-26T22:08:16.661Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T22:08:16.661Z] ---> Running in d56a29810b7f [2021-01-26T22:08:16.939Z] Removing intermediate container d56a29810b7f [2021-01-26T22:08:16.939Z] ---> aa08c9b28733 [2021-01-26T22:08:16.939Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-26T22:08:16.939Z] ---> Running in 7b17f4068026 [2021-01-26T22:08:17.908Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T22:08:18.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T22:08:19.123Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-26T22:08:19.123Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-26T22:08:19.388Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-26T22:08:19.388Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-26T22:08:19.388Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-26T22:08:19.652Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T22:08:19.652Z] OK: 167 MiB in 44 packages [2021-01-26T22:08:20.228Z] Removing intermediate container 7b17f4068026 [2021-01-26T22:08:20.228Z] ---> b763aa62da8f [2021-01-26T22:08:20.228Z] Step 6/8 : WORKDIR /build [2021-01-26T22:08:20.228Z] ---> Running in e71e9dc8beb5 [2021-01-26T22:08:20.490Z] Removing intermediate container e71e9dc8beb5 [2021-01-26T22:08:20.490Z] ---> 5f755a6404c8 [2021-01-26T22:08:20.490Z] Step 7/8 : COPY go.mod . [2021-01-26T22:08:20.753Z] ---> c62ba83274fb [2021-01-26T22:08:20.753Z] Step 8/8 : RUN go mod download [2021-01-26T22:08:20.753Z] ---> Running in f5df0de07fd8 [2021-01-26T22:08:24.475Z] Removing intermediate container e7ace7abed6e [2021-01-26T22:08:24.475Z] ---> cb05d4c3e209 [2021-01-26T22:08:24.475Z] Successfully built cb05d4c3e209 [2021-01-26T22:08:24.475Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:08:24.820Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T22:08:24.820Z] . [Pipeline] withDockerContainer [2021-01-26T22:08:25.046Z] prd-ubuntu18.04-docker-arm64-4c-16g-22869 does not seem to be running inside a container [2021-01-26T22:08:25.133Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-26T22:08:26.650Z] $ docker top 45fb8efae84c221a9fb3a32ba4d5626fe9fe32f80eeb574f0e5a4abb39a5ca69 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:08:27.671Z] + go version [2021-01-26T22:08:27.671Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T22:08:27.696Z] $ docker stop --time=1 45fb8efae84c221a9fb3a32ba4d5626fe9fe32f80eeb574f0e5a4abb39a5ca69 [2021-01-26T22:08:29.570Z] $ docker rm -f 45fb8efae84c221a9fb3a32ba4d5626fe9fe32f80eeb574f0e5a4abb39a5ca69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:08:30.511Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T22:08:30.511Z] . [Pipeline] withDockerContainer [2021-01-26T22:08:30.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-22869 does not seem to be running inside a container [2021-01-26T22:08:30.857Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-26T22:08:32.420Z] $ docker top 285911ad81a4a4ad9d8e2d67bb7b6b4e2d7b300af1eec5603927ff8f19a71519 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:08:33.438Z] + make test [2021-01-26T22:08:33.438Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-26T22:08:34.872Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-26T22:08:47.410Z] Removing intermediate container f5df0de07fd8 [2021-01-26T22:08:47.410Z] ---> 0879ecb0a781 [2021-01-26T22:08:47.411Z] Successfully built 0879ecb0a781 [2021-01-26T22:08:47.411Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:08:47.734Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T22:08:47.734Z] . [Pipeline] withDockerContainer [2021-01-26T22:08:48.130Z] prd-centos7-docker-4c-2g-22870 does not seem to be running inside a container [2021-01-26T22:08:48.186Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-26T22:08:49.105Z] $ docker top 9c43c4d642773ee35d6b66a2e8fca4595a278f3439403855c85ef2b3a9c568b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:08:49.618Z] + go version [2021-01-26T22:08:49.618Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T22:08:49.635Z] $ docker stop --time=1 9c43c4d642773ee35d6b66a2e8fca4595a278f3439403855c85ef2b3a9c568b4 [2021-01-26T22:08:51.009Z] $ docker rm -f 9c43c4d642773ee35d6b66a2e8fca4595a278f3439403855c85ef2b3a9c568b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:08:51.844Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T22:08:51.845Z] . [Pipeline] withDockerContainer [2021-01-26T22:08:51.951Z] prd-centos7-docker-4c-2g-22870 does not seem to be running inside a container [2021-01-26T22:08:52.005Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-26T22:08:52.737Z] $ docker top e2d7be178b6fe7735f662a42533473c322915b35e5116cd1f35439a28ef6ea2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:08:53.283Z] + make test [2021-01-26T22:08:53.283Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-26T22:08:55.238Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-26T22:09:01.779Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.042s coverage: 86.2% of statements [2021-01-26T22:09:02.099Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.028s coverage: 86.2% of statements [2021-01-26T22:09:20.352Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.026s coverage: 52.0% of statements [2021-01-26T22:09:20.352Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-26T22:09:20.352Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-26T22:09:20.352Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.060s coverage: 54.7% of statements [2021-01-26T22:09:20.352Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-26T22:09:20.352Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.023s coverage: 69.1% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.426s coverage: 61.6% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 8.8% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.918s coverage: 75.0% of statements [2021-01-26T22:09:32.614Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2021-01-26T22:09:32.614Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2021-01-26T22:09:40.829Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.061s coverage: 52.0% of statements [2021-01-26T22:09:40.829Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-26T22:09:40.829Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-26T22:09:40.829Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.086s coverage: 54.7% of statements [2021-01-26T22:09:40.829Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-26T22:09:40.829Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.087s coverage: 69.1% of statements [2021-01-26T22:09:47.551Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.033s coverage: 71.0% of statements [2021-01-26T22:09:47.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.465s coverage: 61.6% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.010s coverage: 100.0% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.039s coverage: 100.0% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.021s coverage: 100.0% of statements [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-26T22:09:47.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-26T22:09:47.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 8.8% of statements [2021-01-26T22:09:47.816Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-26T22:09:48.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.948s coverage: 75.0% of statements [2021-01-26T22:09:48.152Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-26T22:09:48.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.042s coverage: 89.7% of statements [2021-01-26T22:09:48.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.025s coverage: 88.9% of statements [2021-01-26T22:09:48.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.034s coverage: 80.5% of statements [2021-01-26T22:09:48.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements [2021-01-26T22:09:52.090Z] gofmt -l . [2021-01-26T22:09:52.090Z] [ "`gofmt -l .`" = "" ] [2021-01-26T22:09:52.356Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T22:09:52.954Z] $ docker stop --time=1 e2d7be178b6fe7735f662a42533473c322915b35e5116cd1f35439a28ef6ea2a [2021-01-26T22:09:54.677Z] $ docker rm -f e2d7be178b6fe7735f662a42533473c322915b35e5116cd1f35439a28ef6ea2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T22:09:55.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T22:09:55.805Z] Stashed 1 file(s) [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] } [2021-01-26T22:10:10.273Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2021-01-26T22:10:10.273Z] [2021-01-26T22:10:10.273Z] goroutine 15 [running]: [2021-01-26T22:10:10.273Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x400002ac20, 0x400002ac30, 0x4000158380, 0x4000188600, 0x400002ac10) [2021-01-26T22:10:10.273Z] /w/workspace/app-functions-sdk-go/2/pkg/transforms/batch_test.go:126 +0x224 [2021-01-26T22:10:10.274Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2021-01-26T22:10:10.274Z] /w/workspace/app-functions-sdk-go/2/pkg/transforms/batch_test.go:121 +0x17c [2021-01-26T22:10:10.274Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.019s [2021-01-26T22:10:10.274Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2021-01-26T22:10:10.274Z] FAIL [2021-01-26T22:10:10.274Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-26T22:10:10.314Z] $ docker stop --time=1 285911ad81a4a4ad9d8e2d67bb7b6b4e2d7b300af1eec5603927ff8f19a71519 [2021-01-26T22:10:12.962Z] $ docker rm -f 285911ad81a4a4ad9d8e2d67bb7b6b4e2d7b300af1eec5603927ff8f19a71519 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T22:10:14.794Z] 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2021-01-26T22:10:17.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:18.183Z] ---> package-listing.sh [2021-01-26T22:10:18.183Z] ++ facter osfamily [2021-01-26T22:10:18.183Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T22:10:18.183Z] + OS_FAMILY=redhat [2021-01-26T22:10:18.183Z] + workspace=/w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:10:18.183Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T22:10:18.183Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T22:10:18.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T22:10:18.183Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T22:10:18.183Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-26T22:10:18.183Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T22:10:18.183Z] + case "${OS_FAMILY}" in [2021-01-26T22:10:18.183Z] + rpm -qa [2021-01-26T22:10:18.183Z] + sort [2021-01-26T22:10:23.499Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T22:10:23.499Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T22:10:23.499Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T22:10:23.499Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-26T22:10:23.499Z] + mkdir -p /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [2021-01-26T22:10:23.499Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [Pipeline] echo [2021-01-26T22:10:23.514Z] 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T22:10:23.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:10:24.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:10:24.121Z] [2021-01-26T22:10:24.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:10:24.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:10:24.481Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T22:10:24.481Z] df20fa9351a1: Pulling fs layer [2021-01-26T22:10:24.481Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T22:10:24.481Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T22:10:24.481Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T22:10:24.481Z] 93b61091891f: Pulling fs layer [2021-01-26T22:10:24.481Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T22:10:24.481Z] 5e14af77c1be: Pulling fs layer [2021-01-26T22:10:24.481Z] 01666e4c0597: Pulling fs layer [2021-01-26T22:10:24.481Z] aa168da1d23b: Pulling fs layer [2021-01-26T22:10:24.481Z] 93b9cdb0e59b: Waiting [2021-01-26T22:10:24.481Z] 5e14af77c1be: Waiting [2021-01-26T22:10:24.481Z] 01666e4c0597: Waiting [2021-01-26T22:10:24.481Z] aa168da1d23b: Waiting [2021-01-26T22:10:24.481Z] 93b61091891f: Waiting [2021-01-26T22:10:24.481Z] 46f8f816bc3b: Waiting [2021-01-26T22:10:24.481Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T22:10:24.481Z] 36b3adc4ff6f: Download complete [2021-01-26T22:10:24.481Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T22:10:24.481Z] 46f8f816bc3b: Download complete [2021-01-26T22:10:24.746Z] df20fa9351a1: Verifying Checksum [2021-01-26T22:10:24.746Z] df20fa9351a1: Download complete [2021-01-26T22:10:24.746Z] 93b61091891f: Download complete [2021-01-26T22:10:24.746Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T22:10:24.746Z] 93b9cdb0e59b: Download complete [2021-01-26T22:10:24.746Z] 5e14af77c1be: Verifying Checksum [2021-01-26T22:10:24.746Z] 5e14af77c1be: Download complete [2021-01-26T22:10:24.746Z] 01666e4c0597: Verifying Checksum [2021-01-26T22:10:24.746Z] 01666e4c0597: Download complete [2021-01-26T22:10:25.011Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T22:10:25.011Z] 8ad3a11d3b57: Download complete [2021-01-26T22:10:25.011Z] df20fa9351a1: Pull complete [2021-01-26T22:10:25.279Z] 36b3adc4ff6f: Pull complete [2021-01-26T22:10:26.234Z] 8ad3a11d3b57: Pull complete [2021-01-26T22:10:26.234Z] 46f8f816bc3b: Pull complete [2021-01-26T22:10:26.821Z] aa168da1d23b: Verifying Checksum [2021-01-26T22:10:26.821Z] aa168da1d23b: Download complete [2021-01-26T22:10:27.398Z] 93b61091891f: Pull complete [2021-01-26T22:10:27.398Z] 93b9cdb0e59b: Pull complete [2021-01-26T22:10:27.662Z] 5e14af77c1be: Pull complete [2021-01-26T22:10:27.662Z] 01666e4c0597: Pull complete [2021-01-26T22:10:34.280Z] aa168da1d23b: Pull complete [2021-01-26T22:10:34.280Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T22:10:34.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:10:34.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T22:10:34.449Z] prd-centos7-docker-4c-2g-22868 does not seem to be running inside a container [2021-01-26T22:10:34.493Z] $ 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 [2021-01-26T22:10:39.266Z] $ docker top a537fd964f00a0a175c5a829b3537e99dadc992290c395c2e117a974aa25c004 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:10:39.810Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T22:10:40.108Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T22:10:40.405Z] + ls /var/log/sa-host [2021-01-26T22:10:40.405Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T22:10:40.405Z] file_magic: OK [2021-01-26T22:10:40.405Z] HZ: Using current value: 100 [2021-01-26T22:10:40.405Z] file_header: OK [2021-01-26T22:10:40.405Z] 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 [2021-01-26T22:10:40.405Z] Statistics: [2021-01-26T22:10:40.405Z] Hnuu...uuuununununu... [2021-01-26T22:10:40.405Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T22:10:40.405Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T22:10:40.405Z] file_magic: OK [2021-01-26T22:10:40.405Z] HZ: Using current value: 100 [2021-01-26T22:10:40.405Z] file_header: OK [2021-01-26T22:10:40.405Z] 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 [2021-01-26T22:10:40.405Z] Statistics: [2021-01-26T22:10:40.405Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T22:10:40.405Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T22:10:40.966Z] provisioning config files... [2021-01-26T22:10:40.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config7069410913548441195tmp [Pipeline] { [Pipeline] echo [2021-01-26T22:10:41.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:41.347Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T22:10:41.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T22:10:41.446Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:41.739Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T22:10:41.750Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:42.047Z] ---> sudo-logs.sh [2021-01-26T22:10:42.047Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T22:10:42.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:42.355Z] ---> job-cost.sh [2021-01-26T22:10:42.355Z] lf-activate-venv: SKIPPING [2021-01-26T22:10:42.355Z] INFO: No Stack... [2021-01-26T22:10:43.301Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T22:10:43.876Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T22:10:43.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:10:44.193Z] ---> logs-deploy.sh [2021-01-26T22:10:44.193Z] lf-activate-venv: SKIPPING [2021-01-26T22:10:44.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/hanoi/2 [2021-01-26T22:10:44.193Z] INFO: archiving workspace using pattern(s): [2021-01-26T22:10:45.586Z] Archives upload complete. [2021-01-26T22:10:45.847Z] INFO: archiving logs to Nexus