Pull request #689 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 44ac0f725b173ac5d26684997060745687660503+b47a0ce386124b7b74fceae84a41ab212cf3cd4d (dd201bdc2d47a291df8e9ef6e9b8ada6ed310dea) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26118 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [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-689 # 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 Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 44ac0f725b173ac5d26684997060745687660503 Merge succeeded, producing 44ac0f725b173ac5d26684997060745687660503 Checking out Revision 44ac0f725b173ac5d26684997060745687660503 (PR-689) > 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/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # 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 b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # timeout=10 Commit message: "fix: Fixed failing unit tests and added more tests" > git rev-list --no-walk 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-11T20:54:05.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-11T20:54:05.560Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-11T20:54:05.677Z] ========================================================= [2021-02-11T20:54:05.677Z] EdgeX Global Pipelines Version Info [2021-02-11T20:54:05.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:54:07.175Z] ------------------- [2021-02-11T20:54:07.176Z] stable info: [2021-02-11T20:54:07.176Z] ------------------- [2021-02-11T20:54:07.176Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T20:54:07.176Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T20:54:07.176Z] Message: update stable to v1.0.179 [2021-02-11T20:54:08.127Z] ------------------- [2021-02-11T20:54:08.127Z] experimental info: [2021-02-11T20:54:08.127Z] ------------------- [2021-02-11T20:54:08.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T20:54:08.127Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T20:54:08.127Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-11T20:54:08.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-11T20:54:08.561Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-11T20:54:08.676Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-11T20:54:08.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-11T20:54:08.908Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-11T20:54:09.005Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-11T20:54:09.185Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-11T20:54:09.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-11T20:54:09.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-11T20:54:09.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-11T20:54:09.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-11T20:54:09.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-11T20:54:09.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-11T20:54:09.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-11T20:54:09.984Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:54:10.087Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:54:10.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:54:10.296Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:54:10.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-11T20:54:10.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-11T20:54:10.638Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-11T20:54:10.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-11T20:54:10.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-11T20:54:11.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-11T20:54:11.107Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-11T20:54:11.199Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-11T20:54:11.308Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-11T20:54:11.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-689 [Pipeline] echo [2021-02-11T20:54:11.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-689 [Pipeline] echo [2021-02-11T20:54:11.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-689 [Pipeline] echo [2021-02-11T20:54:11.697Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44ac0f725b173ac5d26684997060745687660503 [Pipeline] echo [2021-02-11T20:54:11.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44ac0f7 [Pipeline] echo [2021-02-11T20:54:11.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T20:54:12.623Z] + git log --format=format:%s -1 44ac0f725b173ac5d26684997060745687660503 [Pipeline] echo [2021-02-11T20:54:12.696Z] GIT_COMMIT: 44ac0f725b173ac5d26684997060745687660503, Commit Message: fix: Fixed failing unit tests and added more tests [Pipeline] echo [2021-02-11T20:54:12.746Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:54:13.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:54:14.230Z] [2021-02-11T20:54:14.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:54:14.582Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:54:14.583Z] latest: Pulling from edgex-devops/git-semver [2021-02-11T20:54:14.583Z] 31603596830f: Pulling fs layer [2021-02-11T20:54:14.583Z] 2a8b12db71e7: Pulling fs layer [2021-02-11T20:54:14.583Z] 6ca5941a6612: Pulling fs layer [2021-02-11T20:54:14.583Z] ecc8261a40a4: Pulling fs layer [2021-02-11T20:54:14.583Z] ecc8261a40a4: Waiting [2021-02-11T20:54:14.583Z] 2a8b12db71e7: Verifying Checksum [2021-02-11T20:54:14.583Z] 2a8b12db71e7: Download complete [2021-02-11T20:54:14.845Z] 31603596830f: Verifying Checksum [2021-02-11T20:54:14.845Z] 31603596830f: Download complete [2021-02-11T20:54:14.845Z] ecc8261a40a4: Verifying Checksum [2021-02-11T20:54:14.845Z] ecc8261a40a4: Download complete [2021-02-11T20:54:15.109Z] 6ca5941a6612: Verifying Checksum [2021-02-11T20:54:15.109Z] 6ca5941a6612: Download complete [2021-02-11T20:54:15.109Z] 31603596830f: Pull complete [2021-02-11T20:54:15.376Z] 2a8b12db71e7: Pull complete [2021-02-11T20:54:16.332Z] 6ca5941a6612: Pull complete [2021-02-11T20:54:16.332Z] ecc8261a40a4: Pull complete [2021-02-11T20:54:16.332Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-11T20:54:16.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:54:16.595Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-11T20:54:16.699Z] prd-centos7-docker-4c-2g-26118 does not seem to be running inside a container [2021-02-11T20:54:16.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-11T20:54:19.020Z] $ docker top 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T20:54:19.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T20:54:19.442Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T20:54:19.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T20:54:19.682Z] $ docker exec 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 ssh-agent [2021-02-11T20:54:19.874Z] SSH_AUTH_SOCK=/tmp/ssh-npeaipMkKhLe/agent.11 [2021-02-11T20:54:19.874Z] SSH_AGENT_PID=16 [2021-02-11T20:54:19.887Z] Running ssh-add (command line suppressed) [2021-02-11T20:54:20.007Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_1639492204353221187.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_1639492204353221187.key) [2021-02-11T20:54:20.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T20:54:20.408Z] + git tag --points-at HEAD [Pipeline] } [2021-02-11T20:54:20.435Z] $ docker exec --env ******** --env ******** 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 ssh-agent -k [2021-02-11T20:54:20.566Z] unset SSH_AUTH_SOCK; [2021-02-11T20:54:20.567Z] unset SSH_AGENT_PID; [2021-02-11T20:54:20.567Z] echo Agent pid 16 killed; [2021-02-11T20:54:20.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-11T20:54:20.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T20:54:20.945Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T20:54:21.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T20:54:21.116Z] $ docker exec 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 ssh-agent [2021-02-11T20:54:21.285Z] SSH_AUTH_SOCK=/tmp/ssh-opnLxs35CcYk/agent.44 [2021-02-11T20:54:21.285Z] SSH_AGENT_PID=50 [2021-02-11T20:54:21.293Z] Running ssh-add (command line suppressed) [2021-02-11T20:54:21.413Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_1884888108503199343.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_1884888108503199343.key) [2021-02-11T20:54:21.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T20:54:21.801Z] + git semver init [2021-02-11T20:54:21.801Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T20:54:21.801Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.git [2021-02-11T20:54:21.801Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T20:54:21.801Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T20:54:21.801Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T20:54:21.801Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T20:54:21.801Z] # $SEMVER_BRANCH = PR-689 [2021-02-11T20:54:21.801Z] # $SEMVER_TEMP = /tmp/semver-240706812 [2021-02-11T20:54:21.801Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-11T20:54:26.022Z] # '/tmp/semver-240706812' -> '/w/workspace/ndry_app-functions-sdk-go_PR-689/.semver' [2021-02-11T20:54:26.022Z] # -> Force: false [2021-02-11T20:54:26.022Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.semver [Pipeline] } [2021-02-11T20:54:26.036Z] $ docker exec --env ******** --env ******** 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 ssh-agent -k [2021-02-11T20:54:26.153Z] unset SSH_AUTH_SOCK; [2021-02-11T20:54:26.153Z] unset SSH_AGENT_PID; [2021-02-11T20:54:26.153Z] echo Agent pid 50 killed; [2021-02-11T20:54:26.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T20:54:26.719Z] + git semver [Pipeline] } [2021-02-11T20:54:26.736Z] $ docker stop --time=1 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 [2021-02-11T20:54:28.381Z] $ docker rm -f 6b784b808c406064c46d6cec73d2fc669c53f1f871086c674a4154f3f4902f39 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T20:54:28.864Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-11T20:54:29.308Z] Stashed 1 file(s) [Pipeline] echo [2021-02-11T20:54:29.311Z] [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-02-11T20:54:44.841Z] Still waiting to schedule task [2021-02-11T20:54:44.841Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26118’ [2021-02-11T20:54:44.844Z] Still waiting to schedule task [2021-02-11T20:54:44.844Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-11T20:56:40.631Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26119 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T20:56:40.721Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-11T20:56:45.443Z] using credential edgex-jenkins-ssh [2021-02-11T20:56:45.502Z] Cloning the remote Git repository [2021-02-11T20:56:45.583Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:56:45.701Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-02-11T20:56:45.795Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:56:45.796Z] > git --version # timeout=10 [2021-02-11T20:56:45.822Z] > git --version # 'git version 2.17.1' [2021-02-11T20:56:45.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:56:45.893Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:56:49.042Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:56:49.065Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:56:49.094Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:56:49.131Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:56:49.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:56:49.144Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T20:56:49.752Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 44ac0f725b173ac5d26684997060745687660503 [2021-02-11T20:56:49.999Z] Merge succeeded, producing 44ac0f725b173ac5d26684997060745687660503 [2021-02-11T20:56:50.000Z] Checking out Revision 44ac0f725b173ac5d26684997060745687660503 (PR-689) [2021-02-11T20:56:49.783Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:56:49.796Z] > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # timeout=10 [2021-02-11T20:56:49.896Z] > git remote # timeout=10 [2021-02-11T20:56:49.911Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T20:56:49.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:56:49.935Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T20:56:49.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T20:56:50.019Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:56:50.062Z] > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # timeout=10 [2021-02-11T20:56:54.416Z] Commit message: "fix: Fixed failing unit tests and added more tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T20:56:56.271Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:56:56.709Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:56:57.050Z] + sudo service+ docker restart [2021-02-11T20:56:57.051Z] true [Pipeline] unstash [Pipeline] echo [2021-02-11T20:56:59.954Z] ========================================================= [2021-02-11T20:56:59.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-11T20:56:59.954Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:57:00.344Z] + 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-02-11T20:57:01.332Z] Sending build context to Docker daemon 19.17MB [2021-02-11T20:57:01.332Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T20:57:01.332Z] Step 2/8 : FROM ${BASE} [2021-02-11T20:57:01.933Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-11T20:57:01.933Z] 5f621e34cdf4: Pulling fs layer [2021-02-11T20:57:01.933Z] a4357932f1b6: Pulling fs layer [2021-02-11T20:57:01.933Z] 18c013af1878: Pulling fs layer [2021-02-11T20:57:01.933Z] 00ac8860ef70: Pulling fs layer [2021-02-11T20:57:01.933Z] 63d7cb157983: Pulling fs layer [2021-02-11T20:57:01.933Z] b116817d02f9: Pulling fs layer [2021-02-11T20:57:01.933Z] 745a02a5169b: Pulling fs layer [2021-02-11T20:57:01.933Z] 63d7cb157983: Waiting [2021-02-11T20:57:01.933Z] 00ac8860ef70: Waiting [2021-02-11T20:57:01.933Z] b116817d02f9: Waiting [2021-02-11T20:57:01.933Z] 745a02a5169b: Waiting [2021-02-11T20:57:01.933Z] 18c013af1878: Verifying Checksum [2021-02-11T20:57:01.933Z] 18c013af1878: Download complete [2021-02-11T20:57:01.933Z] a4357932f1b6: Verifying Checksum [2021-02-11T20:57:01.933Z] a4357932f1b6: Download complete [2021-02-11T20:57:01.933Z] 63d7cb157983: Verifying Checksum [2021-02-11T20:57:01.933Z] 63d7cb157983: Download complete [2021-02-11T20:57:01.933Z] b116817d02f9: Download complete [2021-02-11T20:57:01.933Z] 5f621e34cdf4: Verifying Checksum [2021-02-11T20:57:01.933Z] 5f621e34cdf4: Download complete [2021-02-11T20:57:02.529Z] 5f621e34cdf4: Pull complete [2021-02-11T20:57:03.134Z] a4357932f1b6: Pull complete [2021-02-11T20:57:03.730Z] 18c013af1878: Pull complete [2021-02-11T20:57:05.161Z] 745a02a5169b: Download complete [2021-02-11T20:57:05.758Z] 00ac8860ef70: Download complete [2021-02-11T20:57:15.919Z] 00ac8860ef70: Pull complete [2021-02-11T20:57:15.919Z] 63d7cb157983: Pull complete [2021-02-11T20:57:15.919Z] b116817d02f9: Pull complete [2021-02-11T20:57:15.923Z] Running on prd-centos7-docker-4c-2g-26120 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T20:57:15.983Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-11T20:57:18.412Z] using credential edgex-jenkins-ssh [2021-02-11T20:57:18.473Z] Cloning the remote Git repository [2021-02-11T20:57:18.158Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:57:18.232Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-02-11T20:57:18.295Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:57:18.295Z] > git --version # timeout=10 [2021-02-11T20:57:18.302Z] > git --version # 'git version 2.24.3' [2021-02-11T20:57:18.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:57:18.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:57:20.249Z] 745a02a5169b: Pull complete [2021-02-11T20:57:20.249Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-11T20:57:20.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-11T20:57:20.249Z] ---> b7e6874047d6 [2021-02-11T20:57:20.249Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T20:57:20.249Z] 20.10.0: Pulling from library/docker [2021-02-11T20:57:20.249Z] a3cc7d3b244e: Pulling fs layer [2021-02-11T20:57:20.249Z] 02a3295e0d61: Pulling fs layer [2021-02-11T20:57:20.249Z] 0f4f2e6d8100: Pulling fs layer [2021-02-11T20:57:20.249Z] 330b718f631f: Pulling fs layer [2021-02-11T20:57:20.249Z] a93816041522: Pulling fs layer [2021-02-11T20:57:20.249Z] bdb6da89ff94: Pulling fs layer [2021-02-11T20:57:20.249Z] 2a70c0c122f4: Pulling fs layer [2021-02-11T20:57:20.249Z] 330b718f631f: Waiting [2021-02-11T20:57:20.249Z] a93816041522: Waiting [2021-02-11T20:57:20.249Z] bdb6da89ff94: Waiting [2021-02-11T20:57:20.249Z] 2a70c0c122f4: Waiting [2021-02-11T20:57:20.249Z] 0f4f2e6d8100: Download complete [2021-02-11T20:57:20.249Z] 02a3295e0d61: Verifying Checksum [2021-02-11T20:57:20.249Z] 02a3295e0d61: Download complete [2021-02-11T20:57:20.249Z] a3cc7d3b244e: Verifying Checksum [2021-02-11T20:57:20.249Z] a93816041522: Verifying Checksum [2021-02-11T20:57:20.249Z] a93816041522: Download complete [2021-02-11T20:57:20.249Z] bdb6da89ff94: Verifying Checksum [2021-02-11T20:57:20.249Z] bdb6da89ff94: Download complete [2021-02-11T20:57:20.249Z] 2a70c0c122f4: Verifying Checksum [2021-02-11T20:57:20.249Z] 2a70c0c122f4: Download complete [2021-02-11T20:57:20.852Z] a3cc7d3b244e: Pull complete [2021-02-11T20:57:21.059Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 44ac0f725b173ac5d26684997060745687660503 [2021-02-11T20:57:21.153Z] Merge succeeded, producing 44ac0f725b173ac5d26684997060745687660503 [2021-02-11T20:57:21.153Z] Checking out Revision 44ac0f725b173ac5d26684997060745687660503 (PR-689) [2021-02-11T20:57:21.463Z] 02a3295e0d61: Pull complete [2021-02-11T20:57:20.345Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:57:20.352Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:57:20.367Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:57:20.381Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:57:20.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:57:20.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T20:57:20.938Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:57:20.944Z] > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # timeout=10 [2021-02-11T20:57:20.994Z] > git remote # timeout=10 [2021-02-11T20:57:20.999Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T20:57:21.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:57:21.010Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T20:57:21.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T20:57:21.031Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:57:21.036Z] > git checkout -f 44ac0f725b173ac5d26684997060745687660503 # timeout=10 [2021-02-11T20:57:21.738Z] 330b718f631f: Verifying Checksum [2021-02-11T20:57:21.738Z] 330b718f631f: Download complete [2021-02-11T20:57:21.738Z] 0f4f2e6d8100: Pull complete [2021-02-11T20:57:24.725Z] Commit message: "fix: Fixed failing unit tests and added more tests" [2021-02-11T20:57:25.131Z] 330b718f631f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-02-11T20:57:25.408Z] a93816041522: Pull complete [Pipeline] sh [2021-02-11T20:57:25.685Z] bdb6da89ff94: Pull complete [2021-02-11T20:57:26.011Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:57:26.294Z] 2a70c0c122f4: Pull complete [2021-02-11T20:57:26.294Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T20:57:26.294Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T20:57:26.342Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:57:26.644Z] + true [2021-02-11T20:57:26.644Z] + sudo service docker restart [2021-02-11T20:57:26.644Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-11T20:57:28.176Z] ========================================================= [2021-02-11T20:57:28.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-11T20:57:28.176Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:57:28.532Z] + 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-02-11T20:57:29.105Z] Sending build context to Docker daemon 19.17MB [2021-02-11T20:57:29.105Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T20:57:29.105Z] Step 2/8 : FROM ${BASE} [2021-02-11T20:57:29.105Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-11T20:57:29.105Z] 188c0c94c7c5: Pulling fs layer [2021-02-11T20:57:29.105Z] 0ef7d3d256c8: Pulling fs layer [2021-02-11T20:57:29.105Z] de9db76c5a1d: Pulling fs layer [2021-02-11T20:57:29.105Z] bca2f99d35d6: Pulling fs layer [2021-02-11T20:57:29.105Z] 93359f2a8cfa: Pulling fs layer [2021-02-11T20:57:29.105Z] 7c6f9722023f: Pulling fs layer [2021-02-11T20:57:29.105Z] a35cf1a2eb13: Pulling fs layer [2021-02-11T20:57:29.105Z] 93359f2a8cfa: Waiting [2021-02-11T20:57:29.105Z] a35cf1a2eb13: Waiting [2021-02-11T20:57:29.105Z] 7c6f9722023f: Waiting [2021-02-11T20:57:29.105Z] bca2f99d35d6: Waiting [2021-02-11T20:57:29.105Z] de9db76c5a1d: Verifying Checksum [2021-02-11T20:57:29.105Z] de9db76c5a1d: Download complete [2021-02-11T20:57:29.368Z] 0ef7d3d256c8: Download complete [2021-02-11T20:57:29.368Z] 93359f2a8cfa: Verifying Checksum [2021-02-11T20:57:29.368Z] 93359f2a8cfa: Download complete [2021-02-11T20:57:29.368Z] 7c6f9722023f: Verifying Checksum [2021-02-11T20:57:29.368Z] 7c6f9722023f: Download complete [2021-02-11T20:57:29.368Z] 188c0c94c7c5: Verifying Checksum [2021-02-11T20:57:29.368Z] 188c0c94c7c5: Download complete [2021-02-11T20:57:29.633Z] 188c0c94c7c5: Pull complete [2021-02-11T20:57:29.633Z] 0ef7d3d256c8: Pull complete [2021-02-11T20:57:29.902Z] de9db76c5a1d: Pull complete [2021-02-11T20:57:31.299Z] a35cf1a2eb13: Verifying Checksum [2021-02-11T20:57:31.299Z] a35cf1a2eb13: Download complete [2021-02-11T20:57:31.299Z] bca2f99d35d6: Verifying Checksum [2021-02-11T20:57:31.299Z] bca2f99d35d6: Download complete [2021-02-11T20:57:33.016Z] ---> 5adeb11ba807 [2021-02-11T20:57:33.016Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T20:57:33.016Z] ---> Running in 4030b670597a [2021-02-11T20:57:33.016Z] Removing intermediate container 4030b670597a [2021-02-11T20:57:33.016Z] ---> 136c93600c22 [2021-02-11T20:57:33.016Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T20:57:33.016Z] ---> Running in 36caa88c4c25 [2021-02-11T20:57:34.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-11T20:57:35.071Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-11T20:57:36.066Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T20:57:36.338Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T20:57:36.338Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T20:57:36.338Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T20:57:36.613Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T20:57:36.613Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T20:57:36.613Z] OK: 144 MiB in 44 packages [2021-02-11T20:57:36.628Z] bca2f99d35d6: Pull complete [2021-02-11T20:57:36.629Z] 93359f2a8cfa: Pull complete [2021-02-11T20:57:36.629Z] 7c6f9722023f: Pull complete [2021-02-11T20:57:38.041Z] Removing intermediate container 36caa88c4c25 [2021-02-11T20:57:38.041Z] ---> 91bc6b8b9e3b [2021-02-11T20:57:38.041Z] Step 6/8 : WORKDIR /build [2021-02-11T20:57:38.041Z] ---> Running in b87f6de1d866 [2021-02-11T20:57:38.636Z] Removing intermediate container b87f6de1d866 [2021-02-11T20:57:38.636Z] ---> 009eebad72e9 [2021-02-11T20:57:38.636Z] Step 7/8 : COPY go.mod . [2021-02-11T20:57:39.237Z] ---> 5c8e8d785789 [2021-02-11T20:57:39.237Z] Step 8/8 : RUN go mod download [2021-02-11T20:57:39.510Z] ---> Running in 20f2b9c51a45 [2021-02-11T20:57:43.252Z] a35cf1a2eb13: Pull complete [2021-02-11T20:57:43.252Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-11T20:57:43.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-11T20:57:43.252Z] ---> a62c8e92a672 [2021-02-11T20:57:43.252Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T20:57:43.252Z] 20.10.0: Pulling from library/docker [2021-02-11T20:57:43.252Z] 05e7bc50f07f: Pulling fs layer [2021-02-11T20:57:43.252Z] 6db28d0fdbf6: Pulling fs layer [2021-02-11T20:57:43.252Z] 292df0bc6bf3: Pulling fs layer [2021-02-11T20:57:43.252Z] 2e060f4bd70b: Pulling fs layer [2021-02-11T20:57:43.252Z] 80e8d568a223: Pulling fs layer [2021-02-11T20:57:43.252Z] 8dc6ef1a942a: Pulling fs layer [2021-02-11T20:57:43.252Z] 2312dd95470a: Pulling fs layer [2021-02-11T20:57:43.252Z] 80e8d568a223: Waiting [2021-02-11T20:57:43.252Z] 8dc6ef1a942a: Waiting [2021-02-11T20:57:43.252Z] 2312dd95470a: Waiting [2021-02-11T20:57:43.252Z] 2e060f4bd70b: Waiting [2021-02-11T20:57:43.252Z] 292df0bc6bf3: Verifying Checksum [2021-02-11T20:57:43.252Z] 292df0bc6bf3: Download complete [2021-02-11T20:57:43.521Z] 05e7bc50f07f: Verifying Checksum [2021-02-11T20:57:43.521Z] 6db28d0fdbf6: Download complete [2021-02-11T20:57:43.521Z] 8dc6ef1a942a: Verifying Checksum [2021-02-11T20:57:43.521Z] 8dc6ef1a942a: Download complete [2021-02-11T20:57:43.521Z] 80e8d568a223: Verifying Checksum [2021-02-11T20:57:43.521Z] 80e8d568a223: Download complete [2021-02-11T20:57:43.521Z] 2312dd95470a: Verifying Checksum [2021-02-11T20:57:43.521Z] 2312dd95470a: Download complete [2021-02-11T20:57:43.821Z] 05e7bc50f07f: Pull complete [2021-02-11T20:57:44.420Z] 6db28d0fdbf6: Pull complete [2021-02-11T20:57:44.420Z] 292df0bc6bf3: Pull complete [2021-02-11T20:57:44.687Z] 2e060f4bd70b: Verifying Checksum [2021-02-11T20:57:44.687Z] 2e060f4bd70b: Download complete [2021-02-11T20:57:47.256Z] 2e060f4bd70b: Pull complete [2021-02-11T20:57:47.256Z] 80e8d568a223: Pull complete [2021-02-11T20:57:47.256Z] 8dc6ef1a942a: Pull complete [2021-02-11T20:57:47.519Z] 2312dd95470a: Pull complete [2021-02-11T20:57:47.519Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T20:57:47.519Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T20:57:48.917Z] ---> d2e083560292 [2021-02-11T20:57:48.917Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T20:57:48.917Z] ---> Running in 8168f23ffc31 [2021-02-11T20:57:49.180Z] Removing intermediate container 8168f23ffc31 [2021-02-11T20:57:49.180Z] ---> 34f014c31552 [2021-02-11T20:57:49.180Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T20:57:49.180Z] ---> Running in a9be9a096a46 [2021-02-11T20:57:49.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-11T20:57:50.704Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-11T20:57:51.277Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T20:57:51.540Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T20:57:51.540Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T20:57:51.802Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T20:57:51.802Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T20:57:52.066Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T20:57:52.066Z] OK: 167 MiB in 44 packages [2021-02-11T20:57:52.641Z] Removing intermediate container a9be9a096a46 [2021-02-11T20:57:52.641Z] ---> bec31d1484ff [2021-02-11T20:57:52.641Z] Step 6/8 : WORKDIR /build [2021-02-11T20:57:52.641Z] ---> Running in e666f8bc90cf [2021-02-11T20:57:52.903Z] Removing intermediate container e666f8bc90cf [2021-02-11T20:57:52.903Z] ---> d49c35b46556 [2021-02-11T20:57:52.903Z] Step 7/8 : COPY go.mod . [2021-02-11T20:57:52.903Z] ---> 0e8307821dbf [2021-02-11T20:57:52.903Z] Step 8/8 : RUN go mod download [2021-02-11T20:57:53.173Z] ---> Running in 4d7d2536ef7b [2021-02-11T20:58:06.324Z] Removing intermediate container 20f2b9c51a45 [2021-02-11T20:58:06.324Z] ---> 3a4b82066813 [2021-02-11T20:58:06.324Z] Successfully built 3a4b82066813 [2021-02-11T20:58:06.324Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:58:06.682Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T20:58:06.682Z] . [Pipeline] withDockerContainer [2021-02-11T20:58:06.955Z] prd-ubuntu18.04-docker-arm64-4c-16g-26119 does not seem to be running inside a container [2021-02-11T20:58:07.051Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T20:58:08.632Z] $ docker top 446649c2c1e61f4c3cd8ee8794b40ddd03067be8dd3e1ecf2fc833199bf0b641 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:58:09.646Z] + go version [2021-02-11T20:58:09.646Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-11T20:58:09.680Z] $ docker stop --time=1 446649c2c1e61f4c3cd8ee8794b40ddd03067be8dd3e1ecf2fc833199bf0b641 [2021-02-11T20:58:11.647Z] $ docker rm -f 446649c2c1e61f4c3cd8ee8794b40ddd03067be8dd3e1ecf2fc833199bf0b641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:58:12.624Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T20:58:12.624Z] . [Pipeline] withDockerContainer [2021-02-11T20:58:12.883Z] prd-ubuntu18.04-docker-arm64-4c-16g-26119 does not seem to be running inside a container [2021-02-11T20:58:12.975Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T20:58:14.468Z] $ docker top 34c17a7ebe1921e57889219d9dad59bd62d0acb6c4bde7d428d392d4cd5b5ee8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:58:15.211Z] Removing intermediate container 4d7d2536ef7b [2021-02-11T20:58:15.211Z] ---> f7881e8169b3 [2021-02-11T20:58:15.211Z] Successfully built f7881e8169b3 [2021-02-11T20:58:15.211Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:58:15.524Z] + make test [2021-02-11T20:58:15.524Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T20:58:15.530Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T20:58:15.530Z] . [Pipeline] withDockerContainer [2021-02-11T20:58:15.735Z] prd-centos7-docker-4c-2g-26120 does not seem to be running inside a container [2021-02-11T20:58:15.918Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T20:58:16.680Z] $ docker top 3539e51dd56c2771f9b2af1d7329bcee06740d4c1448a7aaa18b256c4ec0a39b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:58:16.986Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T20:58:17.168Z] + go version [2021-02-11T20:58:17.168Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-11T20:58:17.196Z] $ docker stop --time=1 3539e51dd56c2771f9b2af1d7329bcee06740d4c1448a7aaa18b256c4ec0a39b [2021-02-11T20:58:18.548Z] $ docker rm -f 3539e51dd56c2771f9b2af1d7329bcee06740d4c1448a7aaa18b256c4ec0a39b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:58:19.358Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T20:58:19.358Z] . [Pipeline] withDockerContainer [2021-02-11T20:58:19.455Z] prd-centos7-docker-4c-2g-26120 does not seem to be running inside a container [2021-02-11T20:58:19.505Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T20:58:20.113Z] $ docker top 6c80b506908e70f98fd6d607da08bbbd37648eee1baa81735b2cac04e963f6e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:58:20.605Z] + make test [2021-02-11T20:58:20.605Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T20:58:22.012Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T20:58:30.310Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.026s coverage: 82.6% of statements [2021-02-11T20:58:37.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.025s coverage: 50.1% of statements [2021-02-11T20:58:37.023Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T20:58:37.023Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T20:58:37.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.030s coverage: 61.5% of statements [2021-02-11T20:58:37.023Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T20:58:37.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.086s coverage: 69.7% of statements [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T20:58:37.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.0% of statements [2021-02-11T20:58:37.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T20:58:37.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.018s coverage: 8.8% of statements [2021-02-11T20:58:39.194Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.105s coverage: 82.6% of statements [2021-02-11T20:58:52.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.861s coverage: 77.5% of statements [2021-02-11T20:58:52.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T20:58:52.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.024s coverage: 87.9% of statements [2021-02-11T20:58:52.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 80.5% of statements [2021-02-11T20:58:52.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 71.7% of statements [2021-02-11T20:59:04.526Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.038s coverage: 82.9% of statements [2021-02-11T20:59:04.526Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.022s coverage: 94.4% of statements [2021-02-11T20:59:04.526Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-11T20:59:06.043Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.078s coverage: 50.1% of statements [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T20:59:06.043Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.5% of statements [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T20:59:06.043Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.059s coverage: 69.7% of statements [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T20:59:06.043Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements [2021-02-11T20:59:06.043Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T20:59:06.043Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 8.8% of statements [2021-02-11T20:59:07.865Z] gofmt -l . [2021-02-11T20:59:07.865Z] [ "`gofmt -l .`" = "" ] [2021-02-11T20:59:07.865Z] ./bin/test-go-mod-tidy.sh [2021-02-11T20:59:07.865Z] go.mod.bk exits - remove before continuing [2021-02-11T20:59:07.865Z] make: *** [Makefile:10: test] Error 1 [Pipeline] } [2021-02-11T20:59:07.888Z] $ docker stop --time=1 6c80b506908e70f98fd6d607da08bbbd37648eee1baa81735b2cac04e963f6e6 [2021-02-11T20:59:09.703Z] $ docker rm -f 6c80b506908e70f98fd6d607da08bbbd37648eee1baa81735b2cac04e963f6e6 [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] } [2021-02-11T20:59:11.810Z] Failed in branch amd64 [2021-02-11T20:59:18.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.907s coverage: 77.5% of statements [2021-02-11T20:59:18.410Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T20:59:18.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.042s coverage: 87.9% of statements [2021-02-11T20:59:18.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 80.5% of statements [2021-02-11T20:59:18.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.018s coverage: 71.7% of statements [2021-02-11T20:59:33.485Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.080s coverage: 82.9% of statements [2021-02-11T20:59:33.485Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-02-11T20:59:33.485Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-11T20:59:41.802Z] gofmt -l . [2021-02-11T20:59:41.802Z] [ "`gofmt -l .`" = "" ] [2021-02-11T20:59:41.802Z] ./bin/test-go-mod-tidy.sh [2021-02-11T20:59:41.802Z] go.mod.bk exits - remove before continuing [2021-02-11T20:59:41.802Z] make: *** [Makefile:10: test] Error 1 [Pipeline] } [2021-02-11T20:59:41.844Z] $ docker stop --time=1 34c17a7ebe1921e57889219d9dad59bd62d0acb6c4bde7d428d392d4cd5b5ee8 [2021-02-11T20:59:44.059Z] $ docker rm -f 34c17a7ebe1921e57889219d9dad59bd62d0acb6c4bde7d428d392d4cd5b5ee8 [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-02-11T20:59:45.870Z] 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-02-11T20:59:49.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:59:49.773Z] ---> package-listing.sh [2021-02-11T20:59:49.773Z] ++ facter osfamily [2021-02-11T20:59:49.773Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-11T20:59:49.773Z] + OS_FAMILY=redhat [2021-02-11T20:59:49.773Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T20:59:49.773Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-11T20:59:49.773Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-11T20:59:49.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-11T20:59:49.773Z] + PACKAGES=/tmp/packages_start.txt [2021-02-11T20:59:49.773Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T20:59:49.773Z] + PACKAGES=/tmp/packages_end.txt [2021-02-11T20:59:49.773Z] + case "${OS_FAMILY}" in [2021-02-11T20:59:49.773Z] + rpm -qa [2021-02-11T20:59:49.773Z] + sort [2021-02-11T20:59:55.102Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-11T20:59:55.102Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-11T20:59:55.102Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-11T20:59:55.102Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T20:59:55.102Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [2021-02-11T20:59:55.102Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [Pipeline] echo [2021-02-11T20:59:55.117Z] 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-689/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-11T20:59:55.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:59:55.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T20:59:55.722Z] [2021-02-11T20:59:55.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:59:56.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T20:59:56.079Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-11T20:59:56.079Z] df20fa9351a1: Pulling fs layer [2021-02-11T20:59:56.079Z] 36b3adc4ff6f: Pulling fs layer [2021-02-11T20:59:56.079Z] 8ad3a11d3b57: Pulling fs layer [2021-02-11T20:59:56.079Z] 46f8f816bc3b: Pulling fs layer [2021-02-11T20:59:56.079Z] 93b61091891f: Pulling fs layer [2021-02-11T20:59:56.079Z] 93b9cdb0e59b: Pulling fs layer [2021-02-11T20:59:56.079Z] 5e14af77c1be: Pulling fs layer [2021-02-11T20:59:56.079Z] 01666e4c0597: Pulling fs layer [2021-02-11T20:59:56.079Z] aa168da1d23b: Pulling fs layer [2021-02-11T20:59:56.079Z] 46f8f816bc3b: Waiting [2021-02-11T20:59:56.079Z] 5e14af77c1be: Waiting [2021-02-11T20:59:56.079Z] 93b61091891f: Waiting [2021-02-11T20:59:56.079Z] 93b9cdb0e59b: Waiting [2021-02-11T20:59:56.079Z] 01666e4c0597: Waiting [2021-02-11T20:59:56.079Z] aa168da1d23b: Waiting [2021-02-11T20:59:56.079Z] 36b3adc4ff6f: Download complete [2021-02-11T20:59:56.079Z] 46f8f816bc3b: Verifying Checksum [2021-02-11T20:59:56.079Z] 46f8f816bc3b: Download complete [2021-02-11T20:59:56.079Z] df20fa9351a1: Verifying Checksum [2021-02-11T20:59:56.079Z] df20fa9351a1: Download complete [2021-02-11T20:59:56.345Z] 93b9cdb0e59b: Verifying Checksum [2021-02-11T20:59:56.345Z] 93b9cdb0e59b: Download complete [2021-02-11T20:59:56.345Z] 93b61091891f: Verifying Checksum [2021-02-11T20:59:56.345Z] 93b61091891f: Download complete [2021-02-11T20:59:56.345Z] 5e14af77c1be: Verifying Checksum [2021-02-11T20:59:56.345Z] 5e14af77c1be: Download complete [2021-02-11T20:59:56.345Z] 01666e4c0597: Verifying Checksum [2021-02-11T20:59:56.345Z] 01666e4c0597: Download complete [2021-02-11T20:59:56.617Z] 8ad3a11d3b57: Verifying Checksum [2021-02-11T20:59:56.617Z] 8ad3a11d3b57: Download complete [2021-02-11T20:59:56.617Z] df20fa9351a1: Pull complete [2021-02-11T20:59:56.882Z] 36b3adc4ff6f: Pull complete [2021-02-11T20:59:57.467Z] 8ad3a11d3b57: Pull complete [2021-02-11T20:59:57.739Z] 46f8f816bc3b: Pull complete [2021-02-11T20:59:58.322Z] 93b61091891f: Pull complete [2021-02-11T20:59:58.322Z] 93b9cdb0e59b: Pull complete [2021-02-11T20:59:58.322Z] aa168da1d23b: Verifying Checksum [2021-02-11T20:59:58.322Z] aa168da1d23b: Download complete [2021-02-11T20:59:58.585Z] 5e14af77c1be: Pull complete [2021-02-11T20:59:58.585Z] 01666e4c0597: Pull complete [2021-02-11T21:00:06.805Z] aa168da1d23b: Pull complete [2021-02-11T21:00:06.805Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-11T21:00:06.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T21:00:06.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-11T21:00:06.954Z] prd-centos7-docker-4c-2g-26118 does not seem to be running inside a container [2021-02-11T21:00:07.021Z] $ 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-689/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-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-11T21:00:10.471Z] $ docker top 84d812c6497edc5f0fd521df22a9ecb2aee2d36f45847e997a157ff98090c6d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T21:00:11.051Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-11T21:00:11.353Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-11T21:00:11.654Z] + ls /var/log/sa-host [2021-02-11T21:00:11.655Z] + sadf -c /var/log/sa-host/sa11 [2021-02-11T21:00:11.655Z] file_magic: OK [2021-02-11T21:00:11.655Z] HZ: Using current value: 100 [2021-02-11T21:00:11.655Z] file_header: OK [2021-02-11T21:00:11.655Z] 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-02-11T21:00:11.655Z] Statistics: [2021-02-11T21:00:11.655Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-11T21:00:11.655Z] File successfully converted to sysstat format version 12.2.1 [2021-02-11T21:00:11.655Z] + sadf -c /var/log/sa-host/sa23 [2021-02-11T21:00:11.655Z] file_magic: OK [2021-02-11T21:00:11.655Z] HZ: Using current value: 100 [2021-02-11T21:00:11.655Z] file_header: OK [2021-02-11T21:00:11.655Z] 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-02-11T21:00:11.655Z] Statistics: [2021-02-11T21:00:11.655Z] Hnuu...uuuununununu... [2021-02-11T21:00:11.655Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-11T21:00:12.371Z] provisioning config files... [2021-02-11T21:00:12.400Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/config2547663830765337891tmp [Pipeline] { [Pipeline] echo [2021-02-11T21:00:12.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:00:12.794Z] ---> create-netrc.sh [Pipeline] } [2021-02-11T21:00:12.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-11T21:00:12.902Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:00:13.207Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-11T21:00:13.220Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:00:13.525Z] ---> sudo-logs.sh [2021-02-11T21:00:13.525Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-11T21:00:13.537Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:00:13.842Z] ---> job-cost.sh [2021-02-11T21:00:13.843Z] lf-activate-venv: SKIPPING [2021-02-11T21:00:13.843Z] INFO: No Stack... [2021-02-11T21:00:15.238Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-11T21:00:15.502Z] INFO: Archiving Costs [Pipeline] echo [2021-02-11T21:00:15.519Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T21:00:15.818Z] ---> logs-deploy.sh [2021-02-11T21:00:15.818Z] lf-activate-venv: SKIPPING [2021-02-11T21:00:15.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-689/2 [2021-02-11T21:00:15.818Z] INFO: archiving workspace using pattern(s): [2021-02-11T21:00:17.745Z] Archives upload complete. [2021-02-11T21:00:17.745Z] INFO: archiving logs to Nexus