Pull request #501 opened 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 AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at a28a1e282162ae220bb16baae6b474c93cd0f1dd rather than eca7407cde3645319f8480fcd3b0d7c4a121c4b8 Obtained Jenkinsfile from a28a1e282162ae220bb16baae6b474c93cd0f1dd Running in Durability level: MAX_SURVIVABILITY 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-501/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1168 in /w/workspace/ndry_app-functions-sdk-go_PR-501 [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-501 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit eca7407cde3645319f8480fcd3b0d7c4a121c4b8 Merge succeeded, producing eca7407cde3645319f8480fcd3b0d7c4a121c4b8 Checking out Revision eca7407cde3645319f8480fcd3b0d7c4a121c4b8 (PR-501) > git config core.sparsecheckout # timeout=10 > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # 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 a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # timeout=10 Commit message: "feat(sdk): expose RegistryClient on SDK make internal client used for registry communications available to the service after initialization" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-24T17:18:14.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-24T17:18:14.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-24T17:18:14.812Z] ========================================================= [2020-09-24T17:18:14.812Z] EdgeX Global Pipelines Version Info [2020-09-24T17:18:14.812Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-24T17:18:16.364Z] ------------------- [2020-09-24T17:18:16.364Z] stable info: [2020-09-24T17:18:16.364Z] ------------------- [2020-09-24T17:18:16.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-24T17:18:16.364Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T17:18:16.364Z] Message: update stable to v1.0.128 [2020-09-24T17:18:17.311Z] ------------------- [2020-09-24T17:18:17.311Z] experimental info: [2020-09-24T17:18:17.311Z] ------------------- [2020-09-24T17:18:17.311Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-24T17:18:17.311Z] Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 [2020-09-24T17:18:17.311Z] Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-24T17:18:17.895Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-24T17:18:18.093Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-24T17:18:18.240Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-24T17:18:18.380Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-24T17:18:18.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-24T17:18:18.686Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-24T17:18:18.819Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-24T17:18:18.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-24T17:18:19.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-24T17:18:19.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-24T17:18:19.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-24T17:18:19.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-24T17:18:19.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-24T17:18:19.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-24T17:18:19.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T17:18:20.150Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T17:18:20.335Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T17:18:20.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T17:18:20.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-24T17:18:20.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-24T17:18:20.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-24T17:18:21.276Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-24T17:18:21.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-24T17:18:21.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-24T17:18:21.794Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-09-24T17:18:21.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-501 [Pipeline] echo [2020-09-24T17:18:22.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-501 [Pipeline] echo [2020-09-24T17:18:22.232Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-501 [Pipeline] echo [2020-09-24T17:18:22.409Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [Pipeline] echo [2020-09-24T17:18:22.543Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eca7407 [Pipeline] echo [2020-09-24T17:18:22.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-24T17:18:23.493Z] + git log --format=format:%s -1 eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [Pipeline] echo [2020-09-24T17:18:23.580Z] GIT_COMMIT: eca7407cde3645319f8480fcd3b0d7c4a121c4b8, Commit Message: feat(sdk): expose RegistryClient on SDK make internal client used for registry communications available to the service after initialization [Pipeline] echo [2020-09-24T17:18:23.660Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:18:24.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T17:18:25.155Z] [2020-09-24T17:18:25.155Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:18:25.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T17:18:26.132Z] latest: Pulling from edgex-devops/git-semver [2020-09-24T17:18:26.132Z] 31603596830f: Pulling fs layer [2020-09-24T17:18:26.132Z] 2a8b12db71e7: Pulling fs layer [2020-09-24T17:18:26.132Z] 6ca5941a6612: Pulling fs layer [2020-09-24T17:18:26.132Z] ecc8261a40a4: Pulling fs layer [2020-09-24T17:18:26.132Z] ecc8261a40a4: Waiting [2020-09-24T17:18:26.132Z] 2a8b12db71e7: Verifying Checksum [2020-09-24T17:18:26.132Z] 2a8b12db71e7: Download complete [2020-09-24T17:18:26.132Z] 31603596830f: Verifying Checksum [2020-09-24T17:18:26.132Z] 31603596830f: Download complete [2020-09-24T17:18:26.132Z] ecc8261a40a4: Verifying Checksum [2020-09-24T17:18:26.132Z] ecc8261a40a4: Download complete [2020-09-24T17:18:26.132Z] 6ca5941a6612: Verifying Checksum [2020-09-24T17:18:26.132Z] 6ca5941a6612: Download complete [2020-09-24T17:18:26.393Z] 31603596830f: Pull complete [2020-09-24T17:18:26.655Z] 2a8b12db71e7: Pull complete [2020-09-24T17:18:27.228Z] 6ca5941a6612: Pull complete [2020-09-24T17:18:27.491Z] ecc8261a40a4: Pull complete [2020-09-24T17:18:27.491Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-24T17:18:27.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T17:18:27.491Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-24T17:18:27.610Z] prd-centos7-docker-4c-2g-1168 does not seem to be running inside a container [2020-09-24T17:18:27.662Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-501 -v /w/workspace/ndry_app-functions-sdk-go_PR-501:/w/workspace/ndry_app-functions-sdk-go_PR-501:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-501@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-24T17:18:29.939Z] $ docker top dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-24T17:18:30.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T17:18:30.488Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T17:18:30.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T17:18:30.687Z] $ docker exec dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 ssh-agent [2020-09-24T17:18:30.831Z] SSH_AUTH_SOCK=/tmp/ssh-YLDSf7t7CvhV/agent.12 [2020-09-24T17:18:30.831Z] SSH_AGENT_PID=17 [2020-09-24T17:18:30.845Z] Running ssh-add (command line suppressed) [2020-09-24T17:18:30.956Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/private_key_5242853430977420736.key (/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/private_key_5242853430977420736.key) [2020-09-24T17:18:31.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T17:18:31.410Z] + git describe --exact-match --tags HEAD [2020-09-24T17:18:31.410Z] fatal: no tag exactly matches 'eca7407cde3645319f8480fcd3b0d7c4a121c4b8' [Pipeline] } [2020-09-24T17:18:31.528Z] $ docker exec --env ******** --env ******** dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 ssh-agent -k [2020-09-24T17:18:31.650Z] unset SSH_AUTH_SOCK; [2020-09-24T17:18:31.651Z] unset SSH_AGENT_PID; [2020-09-24T17:18:31.651Z] echo Agent pid 17 killed; [2020-09-24T17:18:31.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-24T17:18:31.841Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-24T17:18:31.841Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-24T17:18:31.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T17:18:31.967Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T17:18:32.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T17:18:32.126Z] $ docker exec dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 ssh-agent [2020-09-24T17:18:32.280Z] SSH_AUTH_SOCK=/tmp/ssh-uYWw7ALpRRuo/agent.46 [2020-09-24T17:18:32.280Z] SSH_AGENT_PID=51 [2020-09-24T17:18:32.286Z] Running ssh-add (command line suppressed) [2020-09-24T17:18:32.407Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/private_key_8028605018873163062.key (/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/private_key_8028605018873163062.key) [2020-09-24T17:18:32.451Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T17:18:32.827Z] + git semver init [2020-09-24T17:18:32.827Z] # -> Open(): unable to determine branch for HEAD [2020-09-24T17:18:32.827Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-501/.git [2020-09-24T17:18:32.827Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-501 [2020-09-24T17:18:32.827Z] # $SEMVER_REMOTE_NAME = origin [2020-09-24T17:18:32.827Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-24T17:18:32.827Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-24T17:18:32.827Z] # $SEMVER_BRANCH = PR-501 [2020-09-24T17:18:32.827Z] # $SEMVER_TEMP = /tmp/semver-800120541 [2020-09-24T17:18:32.827Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-24T17:18:35.390Z] # '/tmp/semver-800120541' -> '/w/workspace/ndry_app-functions-sdk-go_PR-501/.semver' [2020-09-24T17:18:35.390Z] # -> Force: false [2020-09-24T17:18:35.390Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-501/.semver [Pipeline] } [2020-09-24T17:18:35.415Z] $ docker exec --env ******** --env ******** dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 ssh-agent -k [2020-09-24T17:18:35.527Z] unset SSH_AUTH_SOCK; [2020-09-24T17:18:35.528Z] unset SSH_AGENT_PID; [2020-09-24T17:18:35.528Z] echo Agent pid 51 killed; [2020-09-24T17:18:35.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-24T17:18:36.195Z] + git semver [Pipeline] } [2020-09-24T17:18:36.226Z] $ docker stop --time=1 dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 [2020-09-24T17:18:37.680Z] $ docker rm -f dcda583f0afe02b5d84a72bf0c672190796d01a234b0a4bb9dda9411dda66d19 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-24T17:18:40.072Z] Stashed 50 file(s) [Pipeline] echo [2020-09-24T17:18:40.091Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-24T17:18:40.255Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-24T17:18:56.107Z] Still waiting to schedule task [2020-09-24T17:18:56.107Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1168’ [2020-09-24T17:18:56.131Z] Still waiting to schedule task [2020-09-24T17:18:56.131Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-24T17:20:57.379Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1169 in /w/workspace/ndry_app-functions-sdk-go_PR-501 [Pipeline] { [Pipeline] ws [2020-09-24T17:20:57.536Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T17:21:02.838Z] using credential edgex-jenkins-ssh [2020-09-24T17:21:02.902Z] Cloning the remote Git repository [2020-09-24T17:21:02.954Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:21:03.062Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T17:21:03.128Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:21:03.128Z] > git --version # timeout=10 [2020-09-24T17:21:03.152Z] > git --version # 'git version 2.17.1' [2020-09-24T17:21:03.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:21:03.214Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T17:21:06.036Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T17:21:06.061Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T17:21:06.091Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T17:21:06.123Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:21:06.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:21:06.134Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T17:21:06.679Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [2020-09-24T17:21:06.950Z] Merge succeeded, producing eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [2020-09-24T17:21:06.950Z] Checking out Revision eca7407cde3645319f8480fcd3b0d7c4a121c4b8 (PR-501) [2020-09-24T17:21:06.704Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T17:21:06.717Z] > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # timeout=10 [2020-09-24T17:21:06.824Z] > git remote # timeout=10 [2020-09-24T17:21:06.844Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T17:21:06.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:21:06.875Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-24T17:21:06.897Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T17:21:06.967Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T17:21:06.992Z] > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # timeout=10 [2020-09-24T17:21:11.227Z] Commit message: "feat(sdk): expose RegistryClient on SDK make internal client used for registry communications available to the service after initialization" [2020-09-24T17:21:11.288Z] > git --version # timeout=10 [2020-09-24T17:21:11.299Z] > git --version # 'git version 2.17.1' [2020-09-24T17:21:11.320Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T17:21:14.824Z] ========================================================= [2020-09-24T17:21:14.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-24T17:21:14.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:21:15.904Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-24T17:21:17.349Z] Sending build context to Docker daemon 37.36MB [2020-09-24T17:21:17.349Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T17:21:17.349Z] Step 2/8 : FROM ${BASE} [2020-09-24T17:21:17.621Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-24T17:21:17.621Z] b538f80385f9: Pulling fs layer [2020-09-24T17:21:17.621Z] 74f711af9a0d: Pulling fs layer [2020-09-24T17:21:17.621Z] 99f96fe45779: Pulling fs layer [2020-09-24T17:21:17.621Z] 8529a6b9a6be: Pulling fs layer [2020-09-24T17:21:17.621Z] 45590311c82a: Pulling fs layer [2020-09-24T17:21:17.621Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-24T17:21:17.621Z] 209524e5b208: Pulling fs layer [2020-09-24T17:21:17.621Z] 8529a6b9a6be: Waiting [2020-09-24T17:21:17.621Z] 45590311c82a: Waiting [2020-09-24T17:21:17.621Z] 69ca0ff8b7b3: Waiting [2020-09-24T17:21:17.621Z] 209524e5b208: Waiting [2020-09-24T17:21:17.621Z] 99f96fe45779: Download complete [2020-09-24T17:21:17.621Z] 74f711af9a0d: Verifying Checksum [2020-09-24T17:21:17.621Z] 74f711af9a0d: Download complete [2020-09-24T17:21:17.621Z] 45590311c82a: Download complete [2020-09-24T17:21:17.621Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-24T17:21:17.621Z] 69ca0ff8b7b3: Download complete [2020-09-24T17:21:17.894Z] b538f80385f9: Verifying Checksum [2020-09-24T17:21:17.894Z] b538f80385f9: Download complete [2020-09-24T17:21:18.492Z] b538f80385f9: Pull complete [2020-09-24T17:21:18.768Z] 74f711af9a0d: Pull complete [2020-09-24T17:21:19.439Z] 99f96fe45779: Pull complete [2020-09-24T17:21:20.877Z] 209524e5b208: Verifying Checksum [2020-09-24T17:21:20.877Z] 209524e5b208: Download complete [2020-09-24T17:21:21.861Z] 8529a6b9a6be: Verifying Checksum [2020-09-24T17:21:21.861Z] 8529a6b9a6be: Download complete [2020-09-24T17:21:32.983Z] 8529a6b9a6be: Pull complete [2020-09-24T17:21:32.983Z] 45590311c82a: Pull complete [2020-09-24T17:21:32.983Z] 69ca0ff8b7b3: Pull complete [2020-09-24T17:21:36.379Z] 209524e5b208: Pull complete [2020-09-24T17:21:36.379Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-24T17:21:36.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-24T17:21:36.379Z] ---> 5bddaf1c2fca [2020-09-24T17:21:36.379Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T17:21:36.379Z] latest: Pulling from library/docker [2020-09-24T17:21:36.654Z] b538f80385f9: Already exists [2020-09-24T17:21:36.655Z] 259a493cd78d: Pulling fs layer [2020-09-24T17:21:36.655Z] b8e66b5100f5: Pulling fs layer [2020-09-24T17:21:36.655Z] 7f8258a56ab6: Pulling fs layer [2020-09-24T17:21:36.655Z] 75a0a0ebb566: Pulling fs layer [2020-09-24T17:21:36.655Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-24T17:21:36.655Z] 294320357d30: Pulling fs layer [2020-09-24T17:21:36.655Z] 75a0a0ebb566: Waiting [2020-09-24T17:21:36.655Z] 4a2c62f0a2a3: Waiting [2020-09-24T17:21:36.655Z] 294320357d30: Waiting [2020-09-24T17:21:36.961Z] b8e66b5100f5: Verifying Checksum [2020-09-24T17:21:36.961Z] 259a493cd78d: Verifying Checksum [2020-09-24T17:21:36.961Z] 259a493cd78d: Download complete [2020-09-24T17:21:36.961Z] 75a0a0ebb566: Verifying Checksum [2020-09-24T17:21:36.961Z] 75a0a0ebb566: Download complete [2020-09-24T17:21:36.961Z] 4a2c62f0a2a3: Verifying Checksum [2020-09-24T17:21:36.961Z] 4a2c62f0a2a3: Download complete [2020-09-24T17:21:37.243Z] 294320357d30: Verifying Checksum [2020-09-24T17:21:37.243Z] 294320357d30: Download complete [2020-09-24T17:21:37.522Z] 259a493cd78d: Pull complete [2020-09-24T17:21:38.116Z] b8e66b5100f5: Pull complete [2020-09-24T17:21:38.393Z] 7f8258a56ab6: Verifying Checksum [2020-09-24T17:21:38.393Z] 7f8258a56ab6: Download complete [2020-09-24T17:21:41.791Z] 7f8258a56ab6: Pull complete [2020-09-24T17:21:41.791Z] 75a0a0ebb566: Pull complete [2020-09-24T17:21:42.063Z] 4a2c62f0a2a3: Pull complete [2020-09-24T17:21:42.336Z] 294320357d30: Pull complete [2020-09-24T17:21:42.336Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T17:21:42.336Z] Status: Downloaded newer image for docker:latest [2020-09-24T17:21:49.079Z] ---> be847b5ffe8b [2020-09-24T17:21:49.079Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T17:21:49.079Z] ---> Running in 1a3dd9e500fe [2020-09-24T17:21:49.079Z] Removing intermediate container 1a3dd9e500fe [2020-09-24T17:21:49.079Z] ---> 081ed9479e6b [2020-09-24T17:21:49.079Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T17:21:49.079Z] ---> Running in 894ffbab5a08 [2020-09-24T17:21:50.515Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-24T17:21:51.245Z] Running on prd-centos7-docker-4c-2g-1170 in /w/workspace/ndry_app-functions-sdk-go_PR-501 [Pipeline] { [Pipeline] ws [2020-09-24T17:21:51.334Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-24T17:21:51.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-24T17:21:52.083Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T17:21:52.083Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T17:21:52.083Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T17:21:52.356Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T17:21:52.356Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T17:21:52.356Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T17:21:52.356Z] OK: 144 MiB in 44 packages [2020-09-24T17:21:53.793Z] Removing intermediate container 894ffbab5a08 [2020-09-24T17:21:53.793Z] ---> b1d3598f9188 [2020-09-24T17:21:53.793Z] Step 6/8 : WORKDIR /build [2020-09-24T17:21:54.093Z] ---> Running in 579297b02b2a [2020-09-24T17:21:54.366Z] Removing intermediate container 579297b02b2a [2020-09-24T17:21:54.366Z] ---> 4503c0b17d40 [2020-09-24T17:21:54.366Z] Step 7/8 : COPY go.mod . [2020-09-24T17:21:55.346Z] ---> a115e37c1413 [2020-09-24T17:21:55.346Z] Step 8/8 : RUN go mod download [2020-09-24T17:21:55.346Z] ---> Running in 56e32de96c8e [2020-09-24T17:21:57.653Z] using credential edgex-jenkins-ssh [2020-09-24T17:21:57.762Z] Cloning the remote Git repository [2020-09-24T17:21:57.808Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:21:57.944Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-24T17:21:58.110Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:21:58.111Z] > git --version # timeout=10 [2020-09-24T17:21:58.143Z] > git --version # 'git version 2.16.5' [2020-09-24T17:21:58.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:21:58.228Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T17:22:02.242Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T17:22:02.296Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T17:22:03.544Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [2020-09-24T17:22:02.320Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-24T17:22:02.372Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-24T17:22:02.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:22:02.384Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T17:22:03.557Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T17:22:03.576Z] > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # timeout=10 [2020-09-24T17:22:03.646Z] > git remote # timeout=10 [2020-09-24T17:22:03.677Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T17:22:03.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T17:22:03.723Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-24T17:22:03.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T17:22:03.830Z] Merge succeeded, producing eca7407cde3645319f8480fcd3b0d7c4a121c4b8 [2020-09-24T17:22:03.831Z] Checking out Revision eca7407cde3645319f8480fcd3b0d7c4a121c4b8 (PR-501) [2020-09-24T17:22:03.838Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T17:22:03.861Z] > git checkout -f eca7407cde3645319f8480fcd3b0d7c4a121c4b8 # timeout=10 [2020-09-24T17:22:08.041Z] Commit message: "feat(sdk): expose RegistryClient on SDK make internal client used for registry communications available to the service after initialization" [2020-09-24T17:22:08.081Z] > git --version # timeout=10 [2020-09-24T17:22:08.096Z] > git --version # 'git version 2.16.5' [2020-09-24T17:22:08.121Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T17:22:10.948Z] ========================================================= [2020-09-24T17:22:10.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-24T17:22:10.948Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:22:11.892Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-24T17:22:13.365Z] Sending build context to Docker daemon 37.36MB [2020-09-24T17:22:13.365Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-24T17:22:13.365Z] Step 2/8 : FROM ${BASE} [2020-09-24T17:22:13.365Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-24T17:22:13.365Z] df20fa9351a1: Pulling fs layer [2020-09-24T17:22:13.365Z] ed8968b2872e: Pulling fs layer [2020-09-24T17:22:13.365Z] a92cc7c5fd73: Pulling fs layer [2020-09-24T17:22:13.365Z] e871e8e8d7a9: Pulling fs layer [2020-09-24T17:22:13.365Z] e73272ec9a57: Pulling fs layer [2020-09-24T17:22:13.365Z] 1e910a182e73: Pulling fs layer [2020-09-24T17:22:13.365Z] 4e634b169226: Pulling fs layer [2020-09-24T17:22:13.365Z] e871e8e8d7a9: Waiting [2020-09-24T17:22:13.365Z] e73272ec9a57: Waiting [2020-09-24T17:22:13.365Z] 1e910a182e73: Waiting [2020-09-24T17:22:13.365Z] 4e634b169226: Waiting [2020-09-24T17:22:13.365Z] a92cc7c5fd73: Verifying Checksum [2020-09-24T17:22:13.365Z] a92cc7c5fd73: Download complete [2020-09-24T17:22:13.365Z] ed8968b2872e: Verifying Checksum [2020-09-24T17:22:13.365Z] ed8968b2872e: Download complete [2020-09-24T17:22:13.365Z] e73272ec9a57: Verifying Checksum [2020-09-24T17:22:13.365Z] e73272ec9a57: Download complete [2020-09-24T17:22:13.365Z] 1e910a182e73: Verifying Checksum [2020-09-24T17:22:13.365Z] 1e910a182e73: Download complete [2020-09-24T17:22:13.365Z] df20fa9351a1: Verifying Checksum [2020-09-24T17:22:13.365Z] df20fa9351a1: Download complete [2020-09-24T17:22:13.971Z] df20fa9351a1: Pull complete [2020-09-24T17:22:14.255Z] ed8968b2872e: Pull complete [2020-09-24T17:22:14.562Z] a92cc7c5fd73: Pull complete [2020-09-24T17:22:19.055Z] 4e634b169226: Verifying Checksum [2020-09-24T17:22:19.055Z] 4e634b169226: Download complete [2020-09-24T17:22:19.055Z] e871e8e8d7a9: Verifying Checksum [2020-09-24T17:22:19.055Z] e871e8e8d7a9: Download complete [2020-09-24T17:22:27.354Z] e871e8e8d7a9: Pull complete [2020-09-24T17:22:27.354Z] e73272ec9a57: Pull complete [2020-09-24T17:22:27.354Z] 1e910a182e73: Pull complete [2020-09-24T17:22:27.679Z] Removing intermediate container 56e32de96c8e [2020-09-24T17:22:27.680Z] ---> 7df3a4817645 [2020-09-24T17:22:27.680Z] Successfully built 7df3a4817645 [2020-09-24T17:22:27.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:22:28.108Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T17:22:28.108Z] . [Pipeline] withDockerContainer [2020-09-24T17:22:28.405Z] prd-ubuntu18.04-docker-arm64-4c-16g-1169 does not seem to be running inside a container [2020-09-24T17:22:28.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T17:22:30.300Z] $ docker top c9eaaca03db13e2a07731e69fa9e11e4366e286f428de75e6ea67277401f1e08 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T17:22:31.814Z] + go version [2020-09-24T17:22:31.814Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-24T17:22:31.855Z] $ docker stop --time=1 c9eaaca03db13e2a07731e69fa9e11e4366e286f428de75e6ea67277401f1e08 [2020-09-24T17:22:33.708Z] $ docker rm -f c9eaaca03db13e2a07731e69fa9e11e4366e286f428de75e6ea67277401f1e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:22:35.036Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T17:22:35.037Z] . [Pipeline] withDockerContainer [2020-09-24T17:22:35.338Z] prd-ubuntu18.04-docker-arm64-4c-16g-1169 does not seem to be running inside a container [2020-09-24T17:22:35.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T17:22:35.792Z] 4e634b169226: Pull complete [2020-09-24T17:22:35.793Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-24T17:22:35.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-24T17:22:35.793Z] ---> f7629b54cfaa [2020-09-24T17:22:35.793Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-24T17:22:35.793Z] latest: Pulling from library/docker [2020-09-24T17:22:35.793Z] df20fa9351a1: Already exists [2020-09-24T17:22:35.793Z] 25ad7478873d: Pulling fs layer [2020-09-24T17:22:35.793Z] 4684f6177b5d: Pulling fs layer [2020-09-24T17:22:35.793Z] 8ba584e970af: Pulling fs layer [2020-09-24T17:22:35.793Z] 3cdc74d2b06d: Pulling fs layer [2020-09-24T17:22:35.793Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-24T17:22:35.793Z] fca0ccc462d5: Pulling fs layer [2020-09-24T17:22:35.793Z] 3cdc74d2b06d: Waiting [2020-09-24T17:22:35.793Z] 4cf5a0d07c1f: Waiting [2020-09-24T17:22:35.793Z] fca0ccc462d5: Waiting [2020-09-24T17:22:35.793Z] 4684f6177b5d: Verifying Checksum [2020-09-24T17:22:35.793Z] 4684f6177b5d: Download complete [2020-09-24T17:22:35.793Z] 25ad7478873d: Verifying Checksum [2020-09-24T17:22:35.793Z] 25ad7478873d: Download complete [2020-09-24T17:22:35.793Z] 3cdc74d2b06d: Verifying Checksum [2020-09-24T17:22:35.793Z] 3cdc74d2b06d: Download complete [2020-09-24T17:22:35.793Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-24T17:22:35.793Z] 4cf5a0d07c1f: Download complete [2020-09-24T17:22:35.793Z] 25ad7478873d: Pull complete [2020-09-24T17:22:36.099Z] fca0ccc462d5: Verifying Checksum [2020-09-24T17:22:36.099Z] fca0ccc462d5: Download complete [2020-09-24T17:22:36.099Z] 4684f6177b5d: Pull complete [2020-09-24T17:22:36.741Z] 8ba584e970af: Verifying Checksum [2020-09-24T17:22:36.741Z] 8ba584e970af: Download complete [2020-09-24T17:22:37.415Z] $ docker top b3c0e5ab4358c47e79c72a9fa20d50426e64f09f0dcdb877e7ed514e327dc874 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T17:22:39.090Z] + make test [2020-09-24T17:22:39.090Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T17:22:41.077Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T17:22:42.414Z] 8ba584e970af: Pull complete [2020-09-24T17:22:42.414Z] 3cdc74d2b06d: Pull complete [2020-09-24T17:22:42.414Z] 4cf5a0d07c1f: Pull complete [2020-09-24T17:22:42.705Z] fca0ccc462d5: Pull complete [2020-09-24T17:22:42.705Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-24T17:22:42.705Z] Status: Downloaded newer image for docker:latest [2020-09-24T17:22:44.724Z] ---> 5257236c292d [2020-09-24T17:22:44.724Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-24T17:22:44.724Z] ---> Running in f2b9c03fcdd4 [2020-09-24T17:22:45.049Z] Removing intermediate container f2b9c03fcdd4 [2020-09-24T17:22:45.049Z] ---> 46ef07bc1680 [2020-09-24T17:22:45.049Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-24T17:22:45.049Z] ---> Running in 4269528cfda1 [2020-09-24T17:22:46.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-24T17:22:46.989Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-24T17:22:47.949Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-24T17:22:47.949Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-24T17:22:48.551Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-24T17:22:48.551Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-24T17:22:48.551Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-24T17:22:48.870Z] Executing busybox-1.31.1-r16.trigger [2020-09-24T17:22:48.870Z] OK: 167 MiB in 44 packages [2020-09-24T17:22:49.462Z] Removing intermediate container 4269528cfda1 [2020-09-24T17:22:49.462Z] ---> 0ac4b82d3750 [2020-09-24T17:22:49.462Z] Step 6/8 : WORKDIR /build [2020-09-24T17:22:49.462Z] ---> Running in dfc7817f02a3 [2020-09-24T17:22:49.728Z] Removing intermediate container dfc7817f02a3 [2020-09-24T17:22:49.728Z] ---> 9d1010fa50a3 [2020-09-24T17:22:49.728Z] Step 7/8 : COPY go.mod . [2020-09-24T17:22:50.029Z] ---> 26d09c3a3a3b [2020-09-24T17:22:50.029Z] Step 8/8 : RUN go mod download [2020-09-24T17:22:50.029Z] ---> Running in da593ac78ebe [2020-09-24T17:23:03.302Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.164s coverage: 86.2% of statements [2020-09-24T17:23:16.948Z] Removing intermediate container da593ac78ebe [2020-09-24T17:23:16.948Z] ---> 069bf9612de3 [2020-09-24T17:23:16.948Z] Successfully built 069bf9612de3 [2020-09-24T17:23:16.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:23:17.608Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T17:23:17.608Z] . [Pipeline] withDockerContainer [2020-09-24T17:23:17.837Z] prd-centos7-docker-4c-2g-1170 does not seem to be running inside a container [2020-09-24T17:23:17.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T17:23:18.958Z] $ docker top ce6a58dc3298b8faa5a92ae493ed9407d3b49bf5c5f8f18dd6cfc5aacd0737c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T17:23:19.800Z] + go version [2020-09-24T17:23:19.801Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-24T17:23:19.834Z] $ docker stop --time=1 ce6a58dc3298b8faa5a92ae493ed9407d3b49bf5c5f8f18dd6cfc5aacd0737c5 [2020-09-24T17:23:21.499Z] $ docker rm -f ce6a58dc3298b8faa5a92ae493ed9407d3b49bf5c5f8f18dd6cfc5aacd0737c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:23:22.797Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T17:23:22.797Z] . [Pipeline] withDockerContainer [2020-09-24T17:23:22.981Z] prd-centos7-docker-4c-2g-1170 does not seem to be running inside a container [2020-09-24T17:23:23.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T17:23:24.236Z] $ docker top 8b48e0250f4b2b58f40fbd0a02a28bebac10a61eb225d9710fc715279854a0e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T17:23:24.891Z] + make test [2020-09-24T17:23:24.891Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-24T17:23:26.845Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-24T17:23:39.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.240s coverage: 86.2% of statements [2020-09-24T17:23:42.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.071s coverage: 56.0% of statements [2020-09-24T17:23:42.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T17:23:42.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T17:23:42.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.062s coverage: 53.5% of statements [2020-09-24T17:23:42.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T17:23:42.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.338s coverage: 69.1% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.511s coverage: 61.6% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.018s coverage: 89.5% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.171s coverage: 100.0% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.015s coverage: 96.6% of statements [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T17:23:52.529Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T17:23:52.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 9.4% of statements [2020-09-24T17:23:53.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.019s coverage: 75.0% of statements [2020-09-24T17:23:53.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.048s coverage: 89.7% of statements [2020-09-24T17:23:53.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.031s coverage: 88.9% of statements [2020-09-24T17:23:53.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.235s coverage: 80.5% of statements [2020-09-24T17:24:07.095Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.078s coverage: 56.0% of statements [2020-09-24T17:24:07.095Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-24T17:24:07.095Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-24T17:24:07.096Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.036s coverage: 53.5% of statements [2020-09-24T17:24:07.096Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-24T17:24:07.096Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.637s coverage: 69.1% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.508s coverage: 61.6% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.028s coverage: 89.5% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.189s coverage: 100.0% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.036s coverage: 100.0% of statements [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.025s coverage: 100.0% of statements [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-24T17:24:17.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.009s coverage: 96.6% of statements [2020-09-24T17:24:17.429Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-09-24T17:24:17.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-24T17:24:17.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.050s coverage: 75.0% of statements [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.017s coverage: 89.7% of statements [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.048s coverage: 88.9% of statements [2020-09-24T17:24:17.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.081s coverage: 80.5% of statements [2020-09-24T17:24:20.738Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.733s coverage: 71.6% of statements [2020-09-24T17:24:20.738Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-24T17:24:20.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T17:24:30.925Z] gofmt -l . [2020-09-24T17:24:30.925Z] [ "`gofmt -l .`" = "" ] [2020-09-24T17:24:30.925Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T17:24:32.458Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T17:24:32.477Z] $ docker stop --time=1 b3c0e5ab4358c47e79c72a9fa20d50426e64f09f0dcdb877e7ed514e327dc874 [2020-09-24T17:24:34.771Z] $ docker rm -f b3c0e5ab4358c47e79c72a9fa20d50426e64f09f0dcdb877e7ed514e327dc874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-24T17:24:39.648Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.553s coverage: 71.6% of statements [2020-09-24T17:24:39.648Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.019s coverage: 94.4% of statements [2020-09-24T17:24:39.648Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-24T17:24:45.268Z] gofmt -l . [2020-09-24T17:24:45.268Z] [ "`gofmt -l .`" = "" ] [2020-09-24T17:24:45.268Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-24T17:24:46.375Z] Warning: overwriting stash ‘coverage-report’ [2020-09-24T17:24:46.952Z] Stashed 1 file(s) [Pipeline] } [2020-09-24T17:24:46.972Z] $ docker stop --time=1 8b48e0250f4b2b58f40fbd0a02a28bebac10a61eb225d9710fc715279854a0e5 [2020-09-24T17:24:48.819Z] $ docker rm -f 8b48e0250f4b2b58f40fbd0a02a28bebac10a61eb225d9710fc715279854a0e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-24T17:24:53.230Z] provisioning config files... [2020-09-24T17:24:53.247Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/config2754088562606476378tmp [Pipeline] { [Pipeline] sh [2020-09-24T17:24:53.681Z] + curl -s https://codecov.io/bash [2020-09-24T17:24:53.681Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/config2754088562606476378tmp [Pipeline] } [2020-09-24T17:24:53.969Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-24T17:24:57.670Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T17:24:58.274Z] ---> package-listing.sh [2020-09-24T17:24:58.274Z] ++ facter osfamily [2020-09-24T17:24:58.274Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-24T17:24:58.274Z] + OS_FAMILY=redhat [2020-09-24T17:24:58.274Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-501 [2020-09-24T17:24:58.274Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-24T17:24:58.274Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-24T17:24:58.274Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-24T17:24:58.274Z] + PACKAGES=/tmp/packages_start.txt [2020-09-24T17:24:58.274Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-501 ']' [2020-09-24T17:24:58.274Z] + PACKAGES=/tmp/packages_end.txt [2020-09-24T17:24:58.274Z] + case "${OS_FAMILY}" in [2020-09-24T17:24:58.274Z] + rpm -qa [2020-09-24T17:24:58.274Z] + sort [2020-09-24T17:25:01.596Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-24T17:25:01.596Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-24T17:25:01.596Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-24T17:25:01.596Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-501 ']' [2020-09-24T17:25:01.596Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-501/archives/ [2020-09-24T17:25:01.596Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-501/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:25:02.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T17:25:02.687Z] [2020-09-24T17:25:02.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-24T17:25:03.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T17:25:03.094Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-24T17:25:03.094Z] df20fa9351a1: Pulling fs layer [2020-09-24T17:25:03.094Z] 36b3adc4ff6f: Pulling fs layer [2020-09-24T17:25:03.094Z] 8ad3a11d3b57: Pulling fs layer [2020-09-24T17:25:03.094Z] 46f8f816bc3b: Pulling fs layer [2020-09-24T17:25:03.094Z] 0dadc02b9964: Pulling fs layer [2020-09-24T17:25:03.094Z] ce6a7cf60c04: Pulling fs layer [2020-09-24T17:25:03.094Z] 7a184a31f384: Pulling fs layer [2020-09-24T17:25:03.094Z] 0879bd2ef858: Pulling fs layer [2020-09-24T17:25:03.094Z] 0dadc02b9964: Waiting [2020-09-24T17:25:03.094Z] ce6a7cf60c04: Waiting [2020-09-24T17:25:03.094Z] 7a184a31f384: Waiting [2020-09-24T17:25:03.094Z] 0879bd2ef858: Waiting [2020-09-24T17:25:03.094Z] 46f8f816bc3b: Waiting [2020-09-24T17:25:03.094Z] 36b3adc4ff6f: Download complete [2020-09-24T17:25:03.373Z] 46f8f816bc3b: Verifying Checksum [2020-09-24T17:25:03.373Z] 46f8f816bc3b: Download complete [2020-09-24T17:25:03.373Z] df20fa9351a1: Verifying Checksum [2020-09-24T17:25:03.373Z] df20fa9351a1: Download complete [2020-09-24T17:25:03.373Z] ce6a7cf60c04: Verifying Checksum [2020-09-24T17:25:03.373Z] ce6a7cf60c04: Download complete [2020-09-24T17:25:03.373Z] 7a184a31f384: Download complete [2020-09-24T17:25:03.373Z] 0dadc02b9964: Download complete [2020-09-24T17:25:03.373Z] 8ad3a11d3b57: Verifying Checksum [2020-09-24T17:25:03.373Z] 8ad3a11d3b57: Download complete [2020-09-24T17:25:03.638Z] df20fa9351a1: Pull complete [2020-09-24T17:25:03.903Z] 36b3adc4ff6f: Pull complete [2020-09-24T17:25:03.903Z] 0879bd2ef858: Verifying Checksum [2020-09-24T17:25:03.903Z] 0879bd2ef858: Download complete [2020-09-24T17:25:04.477Z] 8ad3a11d3b57: Pull complete [2020-09-24T17:25:04.477Z] 46f8f816bc3b: Pull complete [2020-09-24T17:25:04.739Z] 0dadc02b9964: Pull complete [2020-09-24T17:25:05.005Z] ce6a7cf60c04: Pull complete [2020-09-24T17:25:05.005Z] 7a184a31f384: Pull complete [2020-09-24T17:25:07.565Z] 0879bd2ef858: Pull complete [2020-09-24T17:25:07.565Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-24T17:25:07.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T17:25:07.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-24T17:25:07.725Z] prd-centos7-docker-4c-2g-1168 does not seem to be running inside a container [2020-09-24T17:25:07.773Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-501 -v /w/workspace/ndry_app-functions-sdk-go_PR-501:/w/workspace/ndry_app-functions-sdk-go_PR-501:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-501@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-24T17:25:12.834Z] $ docker top f12d853b3883078c2e3c2c75a532539b46260c4cf364f2308e8f5c4a1a8132b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T17:25:13.446Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-24T17:25:13.765Z] + ls /var/log/sa-host [2020-09-24T17:25:13.765Z] + sadf -c /var/log/sa-host/sa05 [2020-09-24T17:25:13.765Z] file_magic: OK [2020-09-24T17:25:13.765Z] HZ: Using current value: 100 [2020-09-24T17:25:13.765Z] file_header: OK [2020-09-24T17:25:13.765Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-24T17:25:13.765Z] Statistics: [2020-09-24T17:25:13.765Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T17:25:13.765Z] File successfully converted to sysstat format version 12.2.1 [2020-09-24T17:25:13.765Z] + sadf -c /var/log/sa-host/sa24 [2020-09-24T17:25:13.765Z] file_magic: OK [2020-09-24T17:25:13.765Z] HZ: Using current value: 100 [2020-09-24T17:25:13.765Z] file_header: OK [2020-09-24T17:25:13.765Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-24T17:25:13.765Z] Statistics: [2020-09-24T17:25:13.765Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T17:25:13.765Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-24T17:25:13.889Z] provisioning config files... [2020-09-24T17:25:13.916Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-501@tmp/config6914516701622832361tmp [Pipeline] { [Pipeline] echo [2020-09-24T17:25:14.065Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T17:25:14.410Z] ---> create-netrc.sh [Pipeline] echo [2020-09-24T17:25:14.444Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T17:25:14.783Z] ---> logs-deploy.sh [2020-09-24T17:25:14.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-501/1 [2020-09-24T17:25:14.784Z] INFO: archiving workspace using pattern(s): [2020-09-24T17:25:16.177Z] Archives upload complete. [2020-09-24T17:25:16.177Z] INFO: archiving logs to Nexus